Repository navigation
fix(web): settings opens over the chat and cad panel instead of replacing them - #222
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
AadiJo
force-pushed
the
settings-menu-overlay
branch
from
November 8, 2026 21:11
5607035 to
b725e4a
Compare
This branch was previously deployed
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.
Opening settings hid the chat window and the CAD side panel behind it. Settings was its own route, so opening it unmounted the page underneath, and closing it rebuilt that page from scratch.
Settings is now an overlay. Its state lives in a root search param (
?settings=providers) on whatever page is showing, and the page behind stays mounted. Back, Escape, the close button, a backdrop click, or navigating anywhere else closes it. The/settings/*routes are gone, and every link into settings opens the overlay instead.Two details came with keeping the chat mounted:
/forwards to a draft and now keeps the settings param, so removing the active project still lands on CAD storage.Proof:
apps/server/scripts/settings-overlay-e2e.tsruns the real app. It opens and closes settings each way over a draft with its CAD panel showing, and checks that the composer, CAD panel, and canvas are the same DOM nodes before and after (10/10 steps pass). Typecheck and the web unit tests also pass.Reviewed with sol-loop: 2 rounds with gpt-6.1-sol. Sol verdict: approved
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.