Skip to content

feat(ats): no per-application detail route — candidate detail is modal-only, not linkable #537

Closed

Description

@thinkclay

There is no per-application detail route. ROUTES.OFFICE.ATS.DETAIL (packages/scf-core/constants/routes.ts:1059) declares /office/ats/:id but no file backs it.

Candidate detail exists only as CandidateDetailModal, opened from the kanban board. It is therefore not linkable, not shareable, and not deep-linkable — a recruiter cannot send a colleague a URL for a candidate, and the browser back button does not work against it.

The modal already contains six tabs of real functionality (details, profile, activity, messages, notes, inquiry), so this is a routing/layout change more than new feature work.

Work

  1. Add apps/scaffald/app/(admin)/office/applications/[applicationId]/index.tsx.
  2. Extract the modal body into a shared component used by both the modal and the route, or replace the modal with navigation.
  3. Point ROUTES.OFFICE.ATS.DETAIL at the real route (or fold it into ROUTES.OFFICE.APPLICATIONS, per the nav-cleanup issue).

Note there is already a real nested route at /office/applications/[applicationId]/inquiry — follow that pattern.

Acceptance

  • A candidate detail view has its own URL that survives a reload and browser back.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions