Summary
There are two related UI state issues:
- When clicking Draft from the Dashboard (Jobs summary widget), the URL correctly updates to:
/dashboard/jobs?status=draft
However, the Jobs page does not activate/select the Draft tab, even though the status=draft query param is present.
- The selected view mode (List view / Gallery view) is not persisted in the URL. After selecting Gallery view and refreshing (F5), the page resets back to the default List view.
Both issues break expected state synchronization between UI and URL.
Suggested improvement
- Sync tab selection with
status query param:
?status=draft → activate Draft tab
?status=open → activate Open tab
- etc.
- Add view query param for display mode:
- Combine state example:
/dashboard/jobs?status=draft&view=gallery
This ensures:
- Deep linking works correctly
- Page state survives refresh
- URL reflects UI state
Steps to reproduce
Issue 1 – Draft filter not synced
- Go to
/dashboard
- In the Jobs summary widget, click Draft
- You are redirected to:
/dashboard/jobs?status=draft
- Observe the Jobs page tabs
Issue 2 – View mode not persisted
- Go to
/dashboard/jobs
- Switch to Gallery view
- Press F5 (refresh)
- Observe the selected view mode
Expected behavior
Issue 1
- The Draft tab should be active
- The job list should reflect
status=draft
- The selected tab should be derived from the
status query parameter
Issue 2
- View mode should be persisted via query param, e.g.:
/dashboard/jobs?view=gallery
- After refresh, Gallery view should remain active
Actual behavior
Issue 1
- The URL contains
?status=draft
- But the All tab (or default tab) remains selected
- UI state does not reflect query parameter
Issue 2
- After refresh, the page resets to default List view
- View mode is not stored in URL or persisted state
Version / commit
No response
Environment
No response
Logs / screenshots
Summary
There are two related UI state issues:
/dashboard/jobs?status=draftHowever, the Jobs page does not activate/select the Draft tab, even though the
status=draftquery param is present.Both issues break expected state synchronization between UI and URL.
Suggested improvement
statusquery param:?status=draft→ activate Draft tab?status=open→ activate Open tab?view=list?view=galleryThis ensures:
Steps to reproduce
Issue 1 – Draft filter not synced
/dashboard/dashboard/jobs?status=draftIssue 2 – View mode not persisted
/dashboard/jobsExpected behavior
Issue 1
status=draftstatusquery parameterIssue 2
/dashboard/jobs?view=galleryActual behavior
Issue 1
?status=draftIssue 2
Version / commit
No response
Environment
No response
Logs / screenshots