Make mobile task overlays browser-back safe #315

Closed
opened 2026-08-08 15:49:49 +00:00 by rockachopa · 0 comments
Member

Problem

On mobile, New, Find, Search, and nested Search preview are CSS-only overlays. Browser/hardware Back navigates away instead of dismissing the active task layer. Existing history safety only covers My Work detail routes (#205).

User flow

Treat task overlays as same-document navigation states: Search preview → Search results → dashboard, and New/Find/Search → dashboard. Preserve draft and search context while unwinding.

Acceptance criteria

  • Browser Back dismisses New, Find, and Search without leaving the dashboard.
  • Back from Search preview restores the retained query/results; a second Back closes Search.
  • New issue draft is saved before Back dismissal.
  • Opening/typing creates at most one history entry per layer.
  • Existing shareable #/my-work/* deep links and Back behavior remain unchanged.
  • Focus returns to the originating task control.
  • Behavioral tests cover stack transitions and dashboard integration.

Non-duplication evidence

No open issue or PR covers overlay history. Closed #205 implemented only My Work detail routes. Current origin/main (80a1fa6) toggles these overlays only through CSS classes in frontend/dashboard.js.

## Problem On mobile, New, Find, Search, and nested Search preview are CSS-only overlays. Browser/hardware Back navigates away instead of dismissing the active task layer. Existing history safety only covers My Work detail routes (#205). ## User flow Treat task overlays as same-document navigation states: Search preview → Search results → dashboard, and New/Find/Search → dashboard. Preserve draft and search context while unwinding. ## Acceptance criteria - Browser Back dismisses New, Find, and Search without leaving the dashboard. - Back from Search preview restores the retained query/results; a second Back closes Search. - New issue draft is saved before Back dismissal. - Opening/typing creates at most one history entry per layer. - Existing shareable `#/my-work/*` deep links and Back behavior remain unchanged. - Focus returns to the originating task control. - Behavioral tests cover stack transitions and dashboard integration. ## Non-duplication evidence No open issue or PR covers overlay history. Closed #205 implemented only My Work detail routes. Current `origin/main` (`80a1fa6`) toggles these overlays only through CSS classes in `frontend/dashboard.js`.
timmy was assigned by rockachopa 2026-08-08 15:49:49 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#315
No description provided.