Skip to content

fix(mobile): pop nested pages before dismissing on system back - #709

Merged
huichen merged 1 commit into
mainfrom
fix/mobile-nested-back
Sep 17, 2026
Merged

huichen merged 1 commit into
mainfrom
fix/mobile-nested-back

Conversation

@huichen

@huichen huichen commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Route the settings Modal system-back callback to the active settings page, using the same back action as the header and accessibility escape. All four settings subpages now return home before closing settings.
  • Let nested action sheets handle system back independently of explicit cancellation. Share destination selection now returns to its first step without discarding the payload.
  • Audit other return paths and add regressions for pairing/device management, device rename, model/thinking sheets, and the top-level navigation chain. Existing file-directory and preview-menu back tests remain passing.

Validation

  • Mobile TypeScript and ESLint passed.
  • All 112 suites / 1610 tests passed (shared markdown module mapped to this worktree for local reused dependencies).
  • Native Android edge-gesture device validation not performed; tests invoke the actual Modal onRequestClose and BackHandler callbacks rather than inventing a custom horizontal swipe recognizer.

@huichen
huichen enabled auto-merge (squash) September 17, 2026 12:22
@huichen
huichen merged commit dfb1359 into main Sep 17, 2026
12 checks passed
@huichen
huichen deleted the fix/mobile-nested-back branch September 17, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant