Skip to content

feat(nav): add a back button with verb/subtab history - #317

Merged
deepiq2022 merged 1 commit into
mainfrom
feat/nav-back-button
Jul 21, 2026
Merged

feat(nav): add a back button with verb/subtab history#317
deepiq2022 merged 1 commit into
mainfrom
feat/nav-back-button

Conversation

@deepiq2022

Copy link
Copy Markdown
Contributor

Summary

  • The verb shell replaced the whole route on every goTo, so a jump (search result, on-map chip, tool open) left no way back.
  • Add a bounded back-stack to ShellRouteNotifier (goTo/openTool push the current route, deduped; land() clears it on campaign entry; back() + canGoBack).
  • Shell app-bar back button (shell-back) shown whenever there is history.

Test plan

  • flutter analyze clean (pre-existing embark info lint only)
  • flutter test passes (2174)
  • Unit tests: back/dedupe/land-clears/openTool-pushes
  • Widget test: back button appears after navigating and returns to Journal

🤖 Generated with Claude Code

The verb shell replaced the whole route on every goTo, so a jump (search
result, on-map chip, tool open) left no way back. Add a bounded back-stack
to ShellRouteNotifier (goTo/openTool push the current route, deduped;
land() clears it on campaign entry) and a shell app-bar back button
(shell-back) shown whenever there is history.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@deepiq2022
deepiq2022 merged commit 95e1dec into main Jul 21, 2026
1 check passed
@deepiq2022
deepiq2022 deleted the feat/nav-back-button branch July 21, 2026 22:08
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.

2 participants