-
Notifications
You must be signed in to change notification settings - Fork 42
feat: enable browser back-button navigation within the SPA dashboard #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
gsxdsm
merged 5 commits into
Runfusion:main
from
timothyjlaurent:timothyjlaurent/browser-back-button-spa-integration
May 5, 2026
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ac74cb0
feat(FN-002): enable browser back-button navigation within the SPA da…
timothyjlaurent 0eea0d0
fix(FN-002): fix lint — prefix unused vars with underscore
timothyjlaurent 85eabbc
fix(FN-002): update integration tests for desktop back-button support
timothyjlaurent 7250b45
fix(FN-002): tighten pushState assertions to be action-specific per P…
timothyjlaurent 5c16e09
fix: fix flaky PlanningModeModal test — use findByText for async rend…
timothyjlaurent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@runfusion/fusion": minor | ||
| --- | ||
|
|
||
| Enable browser back-button navigation within the SPA dashboard. Previously, the back button would leave the dashboard entirely. Now it dismisses the top modal or reverts to the previous view, matching standard SPA behavior on both desktop and mobile. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isMobileis now a dead variableAll
isMobile ? ... : ...ternaries were removed by this PR, leavingisMobile(and potentiallyviewportMode/ theuseViewportMode()call) without any remaining consumers. This is dead code and will fail a build withnoUnusedLocals: true.If
viewportModeis also no longer used elsewhere in this component, theuseViewportMode()call can be removed entirely as well.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch to check, but
isMobileis still actively used in 4 places: keyboard handling (line 327), mobile keyboard open guard (line 334), MobileNavBarmobileNavEnabledprop (line 1194), and project-content CSS class (line 1256). It's not dead code — only theisMobile ? historyHandler : plainHandlerternaries were removed.