Skip to content

Rider education record edit page on the admin web #148

Description

@tkdgusqkr

Scope

라이더 교육 이력 단건 수정 페이지 추가. 운영자가 잘못 입력된 만료일 / 수료증 번호 / 발급 기관 등을 정정할 수 있게 한다. ④-1 의 자연스러운 마무리.

Included:

  • service-ops 클라이언트에 `getRiderEducationRecord` + `updateRiderEducationRecord` 메소드 추가.
  • 라이더 교육 record 단건 server-side loader.
  • 새 페이지 `/riders/{slug}/education-records/{recordId}/edit` — 등록 폼과 동일 필드를 defaultValue 로 채워서 노출.
  • update server action.
  • 상세 페이지 (라이더 상세 안의 교육 이력 표) 행에 "수정" 링크 추가.
  • 등록 폼 컴포넌트 재사용 (RiderEducationRecordForm 에 `mode` / `defaultValues` 추가).

Excluded:

  • 단건 상세 전용 페이지 (수정 폼만으로 충분).
  • 교육 이력 검색/필터링.
  • 라이더 등록/수정 폼 자체에 교육 입력 통합 (별도 슬라이스).

Acceptance criteria

  • 라이더 상세 페이지의 교육 이력 표에 행별 "수정" 링크가 노출된다.
  • 수정 페이지가 모든 필드를 기존 값으로 미리 채워서 연다.
  • 수정 후 라이더 상세로 돌아오고 새 값이 표에 반영된다.
  • `npm run lint` / `npx tsc --noEmit` / `npm run test:service-ops` / `npm run build` 통과.

Trace

Concurrent work gate

Decision: allowed-with-non-overlap
Evidence:

  • Open target issues: none.
  • Open target PRs: none.
  • Active branches: dev, main.
    Reason: front-admin-web 만 변경.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions