Use hash-based routing to keep base URL visible throughout app#59
Closed
Copilot wants to merge 3 commits intofeature/multiuserfrom
Closed
Use hash-based routing to keep base URL visible throughout app#59Copilot wants to merge 3 commits intofeature/multiuserfrom
Copilot wants to merge 3 commits intofeature/multiuserfrom
Conversation
Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
…isolation Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Refactor login process to avoid user-visible URLs
Use hash-based routing to keep base URL visible throughout app
Feb 19, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Switches from
BrowserRoutertoHashRouterto keep base URL visible. Previously URLs showedhttp://localhost:9090/loginandhttp://localhost:9090/appduring navigation. Now routes appear after hash fragment:http://localhost:9090/#/login,http://localhost:9090/#/app.Changes
BrowserRouterwithHashRouterwindow.location.href = '/#/app'window.location.href = '/#/login'Uses
window.location.hrefinstead ofwindow.location.hashto maintain full page reloads for multiuser isolation.Related Issues / Discussions
None
QA Instructions
http://localhost:9090/#/loginhttp://localhost:9090/#/appwith page reload/#/loginwith page reloadhttp://localhost:9090/#/login) worksMerge Plan
None
Checklist
What's Newcopy (if doing a release after this PR)💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.