feat(jobs): embed route-backed workspace
This commit is contained in:
@@ -639,3 +639,13 @@
|
||||
- **Consequences:** pointer and keyboard users receive the same server-confirmed behavior and announcements; custom `Other` remains visibly invalid. The existing exact-stage menu stays available and now has an accessible name.
|
||||
- **User approval required:** No; this is approved local UX/accessibility work with mocked browser APIs.
|
||||
- **Reversible:** Revert `fb6f17e` and `4e5ce0c`; no schema/data change is involved.
|
||||
|
||||
## DEC-065 — Reuse the workspace as a route-backed list overlay
|
||||
|
||||
- **Date:** 2026-08-10
|
||||
- **Decision:** Keep `/applications/:id` as the full-page fallback, but make a table row's primary Open action render that same workspace in a MUI dialog at `/jobs?workspace={id}§ion={section}`. Use a pushed history entry for opening, replace only section changes, Back for UI-originated close and query removal for direct-link close.
|
||||
- **Reason/evidence:** V-158 confirmed that the previous quick-dialog/full-page chain discarded list context and could not deep-link the embedded presentation. The workspace already composes the authoritative domain components; reusing it avoids a second workspace. MUI supplies the requested focus trap/restoration and full-screen mobile presentation.
|
||||
- **Alternatives considered:** build a second drawer workspace; keep the quick dialog primary; clone workspace sections into `JobTable`; make the full-page route the only URL. These duplicate ownership or leave the Phase 11 navigation defect.
|
||||
- **Consequences:** list state remains mounted while the overlay is open, direct workspace/section URLs and Back/Forward work, and a full-page link remains. Complete URL-backed filters and unsaved-edit guards are separate required increments before JOBS-002 can leave progress.
|
||||
- **User approval required:** No; this is approved repository implementation with mocked local data and no production/provider action.
|
||||
- **Reversible:** Revert the JOBS-002 overlay commit; no schema, dependency or stored-data change is involved.
|
||||
|
||||
Reference in New Issue
Block a user