Repository navigation
feat(home): collapse the prompt box instead of hiding it forever - #600
Open
akimovdigital wants to merge 2 commits into
Open
akimovdigital wants to merge 2 commits into
akimovdigital wants to merge 2 commits into
Conversation
[Low impact] The change is limited to prompt visibility on the Home dashboard. The PR appears safe to merge, with a non-blocking gap in the restore test. Findings
SummaryHome now collapses the prompt box immediately and offers a labeled restore button in the header.
Reviews (1) · Last reviewed commit: "feat(home): collapse the prompt box inst..." · Reviewed by Greptile |
Comment on lines
+29
to
+37
| function HeaderExpand() { | ||
| const hidden = usePromptBoxHidden() | ||
| if (!hidden) return null | ||
| return ( | ||
| <Button variant="default" size="bar" aria-label="Show Prompt Box" => setPromptBoxHidden(false)}> | ||
| <SparkIcon width={15} height={15} className="text-ink-soft" /> Show Prompt Box | ||
| </Button> | ||
| ) | ||
| 8000 } |
There was a problem hiding this comment.
This was referenced Nov 22, 2026
kgoedecke
added a commit
that referenced
this pull request
Nov 25, 2026
…g them (#600) * refactor(frames): compose shared styles into frames instead of storing them A frame's stored HTML carried its own copy of every component stylesheet it used, the head tags those components brought and the token block, so a token or component CSS change rewrote every frame using it. Frames now store their source; the shared blocks are composed in wherever a document is rendered or handed on, by the same function in the browser and on the server. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * fix(components): mark instances by the revision their markup last changed A rules-only revision left instances on an old revision mark, which fell out of the kept history after 20 such changes and lost the next edit made inside the instance. Definitions now carry renderRev, instances are stamped with it, and a base is found by span. Also: edits match the composed document, legacy connections recompose only affected frames, render caches retire per frame, and asset refs are read from the composed document. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * test(psd): read the written PSD by its view, not the buffer pool Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> (cherry picked from commit 71e2f560756955f5deba8b501b1c7eeed64deef0)
This branch has not been 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.
Problem
On Home, the prompt box's close control (×) asks for confirmation and then hides the whole prompt area. The only way to bring it back is Settings → General → Show Prompt Box, which is easy to miss.
Change
doop.home.prompt-box-hiddenpreference is unchanged, so people who already hid the box land on the collapsed state and can restore it from Home. Settings → General → Show Prompt Box still works, and the preference still updates other open tabs.Why
The prompt stays discoverable and is quicker to bring back when you need it.
Testing
bun run typecheck,bun run lint— passbun run test tests/homePromptVisibility.test.tsx tests/i18n.test.ts— pass (11)bun run test— 3940 passed (413 files)Screenshots