You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(office): route and navigation cleanup — dead routes, stale layout, duplicate paths #526
Routing and navigation debt found across the /office tree during the ATS audit. All are small and independent; grouped because they are one cleanup pass.
1. /office/ats and /office/applications are the same screen
Both render OfficeApplicationsScreen. Both are listed in the drawer (packages/scf-core/features/drawer/config.ts:213-214). Pick one canonical path and one drawer entry.
2. /office/ats/metrics does not open the metrics tab
apps/scaffald/app/(admin)/office/ats/metrics.tsx renders the same OfficeApplicationsScreen, with a comment reading "Reuses the OfficeApplicationsScreen — user can switch to Metrics tab". The route named metrics does not select the metrics tab.
3. ROUTES.OFFICE.ATS.DETAIL is a dead route
packages/scf-core/constants/routes.ts:1059 declares /office/ats/:id. No such file exists under apps/scaffald/app/(admin)/office/ats/. Delete the route, or see the follow-up issue about adding a real per-application detail page.
4. office/_layout.tsxStack.Screen entries are stale
apps/scaffald/app/(admin)/office/_layout.tsx names screens that moved under cms/ and ats/ — jobs/index, teams/index, organizations/index, universities/index, background-checks/index, users/[id]/edit. Every one is a silent no-op (titles never apply), and the routes that do exist have no entries.
5. Routes reachable only by direct URL
ROUTES.OFFICE.ATS.ID_VERIFICATIONS, .SELF_SCHEDULE, and .METRICS appear in no navigation.
6. "List view coming soon" is a shipped nav option
office-applications-screen.tsx:291. Either build the list view or remove the toggle.
Acceptance
One canonical applications route with one drawer entry.
No Stack.Screen entry naming a route that does not exist; every real office route has one.
No nav control that leads to a "coming soon" placeholder.
Activity
feat(office): connect the ATS — employer read path, status mapping, a…
thinkclay commentedon Aug 5, 2026
Landed in #543 (merged to main as 87e33ef).