Repository navigation
Dialog: tabs from the start, launcher hidden behind it (#743) - #745
Merged
Merged
Conversation
… the launcher behind it (#743) Tabs show whenever a notebook is available (no notebookTabSeen); the launcher is hidden while the center dialog is open and restored on dock, close and Escape. Bun suites updated and extended; tested with bun frontend/test-widget-host-api.js and test-widget-notebook-entry.js.
…launcher in Chrome (#743)
Contributor
Preview Deployment
This preview will be updated automatically when you push new commits. |
…e hide; engage the launcher hiding last (#743)
Member
Author
Review outcomes, two roundsRound 1, at d53952bNo critical or important findings. Coverage
Findings, all fixed in a5a7c23
Round 2, at a5a7c23All four findings are resolved, and the fixes add nothing new. Checks
There are no remaining findings. |
This was referenced Nov 12, 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.
Closes #743
What changed
isNotebookAvailable(), from the start, instead of only after the notebook had been opened once (notebookTabSeenis gone;syncCenterTabsreads availability only). Selecting the Notebook tab the first time creates the frame assetTabalready did. Same iframe, roving tabindex, arrow/Home/End, focus guard, unread dot, 60 ms crossfade and narrow layouts as AI Mode dialog: Continue in notebook opens a Notebook tab inside the dialog, not in the corner #738/feat(widget): Notebook tab inside the AI Mode dialog (#738) #739. No dataset (Discover's "Ask a follow-up") or no Zarr copy: tabs stay hidden.open(),ask()andseed()still open on Chat.engageCenteraddsosa-center-engagedto the widget, CSS fades the capsule (and, on a bubble widget, the bubble button and tooltip) out in 120 ms and setsvisibility: hidden;releaseCenterremoves the class (Move to corner, Escape, Close), restoring it at once.inertis unchanged. Underprefers-reduced-motionthere is no transition. The capsule's circles setvisibility: visiblethemselves while the panel is open, so they are explicitly set to inherit their parent's under the class (one class more specific than their own rule).docs/community-widget.md, inline comments, and the AI Mode dialog: Continue in notebook opens a Notebook tab inside the dialog, not in the corner #738 changelog entry's "once the notebook has been opened" clause (same unreleased section) now say the tabs show from the start. NewCHANGELOG.mdentry under[0.8.20]/Changed, after the AI Mode dialog: Continue in notebook opens a Notebook tab inside the dialog, not in the corner #738 one.Tested
bun frontend/test-widget-host-api.js: 384 passed, 0 failed (the "no tabs until the notebook has been opened" case is replaced by tabs-from-the-start, tabs-follow-the-dataset, and launcher hidden/restored cases for capsule and bubble through Move to corner, Escape, Close and open-in-dialog).bun frontend/test-widget-notebook-entry.js: 203 passed, 0 failed (new case: a chat whose reply ran no code still has the tabs, the Notebook tab makes the frame and stays modal; no dataset keeps tabs hidden).frontend/test-widget-*.jssuites exit 0.bun frontend/browser-harness/center-stage-check.mjsin real Chrome 157 (full run): exit 0, 0 failures. NewcheckDialogEntryat 1280x900 and 390x844 on a fresh conversation: tabs present before any code has run, Chat selected, Notebook tab fills the dialog under the header and the dialog stays modal with nomodechange, notebook page loaded once, every part of the launcher hidden and nothing of it hit-testable at the circle's old place, drawn and on top again after Move to corner, Escape and Close, no transition under reduced motion. Confirmed the new checks fail (12 failures) when the class is not added.uv run --all-extras pytest tests/test_frontend/test_embed_snippet_hygiene.py tests/test_frontend/test_privacy_page.py -m "not network and not llm": 18 passed.Not run locally: the rest of CI (Python suites, Docker). Checks on this PR are pending.