Repository navigation
feat(web-ui): lay the Web UI out anew and keep one conversation per screen - #657
Merged
Merged
Conversation
…UI type SPEC: 20261116-1046_webui-depth Progress: dark tokens lifted to three visible tiers, noise/glow off, solid header, Geist + Hiragino, page titles unified Next: user reviews before/after and picks the direction
SPEC: 20261116-1046_webui-depth Progress: user picked the warm variant (hue 70, c 0.004, L 0.165 +0.03 steps, 9% borders) Next: type hierarchy and resting agent colour
…rief; gradient logo mark SPEC: 20261116-1046_webui-depth Progress: warm palette + round-2 type tiers (cards, counts, deck title, brief headings) and team-gradient logo Next: user review of round2 shots; resting agent colour, light mode, contrast recheck
…re chrome, work area is a raised sheet) SPEC: 20261116-1046_webui-depth Progress: desktop-only app-canvas sheet; header border and chat panel shadow dropped on sm+ Next: user review of round3 shots
…ts, floating) SPEC: 20261116-1046_webui-depth Progress: shadow-float + popover 0.225 for menus/dialogs, resting shadow on deck cards and chat input, 2px hover lift Next: user review of round4 shots
…de the canvas SPEC: 20261116-1046_webui-depth Progress: open chat owns the gutter (canvas margin-right 0 via :has), raised surface + left shadow; chat input steps to popover level Next: user review of round5 shots
… share one page surface SPEC: 20261116-1046_webui-depth Progress: three levels (page, floating chat/cards/inputs, menus/dialogs); chat sheet inset 8px on all sides Next: user picks round5 (canvas sheet) or round6 (no sheet)
…fic chat sheet shadow SPEC: 20261116-1046_webui-depth Progress: light foreground-muted 0.55->0.50; readable text-foreground/20-60 and muted/60-80 moved to muted/secondary tokens; --shadow-sheet per theme Next: user review; open PR
…ompt, phase rail) SPEC: 20261116-1046_webui-depth Progress: desktop icon rail, creation-first home with hero prompt, boxless slide-object deck cards with readable titles, vertical phase rail in the workspace Next: user review (merge or reset), then CHANGELOG and PR
… the sheet on send SPEC: 20261116-1046_webui-depth Progress: Panel A renders as the home stage while blank (same element, no remount); first send view-transitions it into the chat sheet; Spec/Vibe, HTML, + menu and model picker as chips in the composer footer; recent kiro sessions as cards under the stage (Local) Next: user review (merge or reset), then CHANGELOG and PR
…ntinuous layout moves SPEC: 20261116-1046_webui-depth Progress: shell layouts stage/center/sheet; first message folds the heading and suggestions away and grows the column to the page (Web Animations on real height); deck creation or Back to decks narrows the column into the sheet (width and margins) while the page fades in; scroll-to-latest scrolls the message list only Next: user review (merge or reset), then CHANGELOG and PR
…ess track SPEC: 20261116-1046_webui-depth Progress: deck title, phase track (done / next / later) and Slides tools share one row; tool labels collapse to icons when the bar is narrow (container query, names kept for screen readers); vertical phase rail removed (slides ~660px -> ~870px at 1440px with chat open) Next: user review (merge or reset), then CHANGELOG and PR
… picker SPEC: webui-depth Progress: v6 — ChoiceChip gallery (style covers, template themes, 3 columns), token helpers, tests Next: decide whether the / picker follows the same look
…ee of the input width SPEC: 20261116-1046_webui-depth Progress: v7 — shared ChoiceGallery cards, placeSlashPanel, kind buttons, 2D arrow keys Next: user review (merge or reset)
…stom badge on the cover SPEC: 20261116-1046_webui-depth Progress: v8 — 4/3/2 columns by panel width, name-only captions with the description as a tooltip Next: user review (merge or reset)
…eck tabs SPEC: 20261118-1024_chat-single-panel Progress: home conversation kept across decks (cleared only by New chat), deck chat per deck; tabs, parking and chatTab removed Next: mobile check, user review
…he deck's chat/preview tabs SPEC: 20261118-1024_chat-single-panel Progress: the side sheet no longer opens over the preview tab; a phone overlay is the screen's width Next: user review
…op the rail chat button SPEC: 20261118-1024_chat-single-panel Progress: the rail/header toggle is gone (home and phones never needed it); the deck bar shows Chat while the sheet is closed on desktop Next: user review
… menu cloud-only; no dev badge SPEC: 20261118-1024_chat-single-panel Progress: Local's user menu held only Settings — the gear opens it directly; sign-in info and sign out stay in the cloud user menu; devIndicators off Next: user review
…ab keeps the conversation SPEC: 20261118-1024_chat-single-panel Progress: the phone deck chat tab used a second inline shell; swapping to it unmounted the persistent one, losing the home conversation and the one that had just created the deck. The persistent shell now fills the screen below the tab bar (no header, no backdrop) and takes its own swipe Next: CHANGELOG, PR
…phone fixes SPEC: 20261116-1046_webui-depth Progress: Unreleased Changed (layout, / gallery, chips, single chat) and Fixed (phone chat button, phone chat tab) Next: PR
Merged
5 tasks done
This was referenced Nov 18, 2026
ShotaroKataoka
added a commit
that referenced
this pull request
Nov 19, 2026
#660) * 🐛 fix(web-ui): prerender the home screen as the stage, not the deck screen The decks page started its layout state as "sheet", so the prerendered home (and every first paint until hydration) laid out the deck-screen frame and showed DeckListView's New Deck button, while the chat shell itself was already rendered as the stage. Hydration then switched to the stage and removed the button. Start the state as "stage", the shell's own first layout on the home screen. Found through the e2e suite: in CI the specs caught the prerendered New Deck button, saw it "not stable" and then "detached from the DOM" once hydration removed it. A probe of the home screen (MutationObserver, 15 s) showed the button attached at ~25 ms and gone at ~430 ms, then no DOM mutations at all: a one-off swap at hydration, not a re-render loop. After this change the button never appears on the home screen. Checks: npm test 131 files / 1516 tests passed (one earlier full run hit a SlideCarousel timing flake that passes alone 3/3 and on the re-run); npx tsc --noEmit OK; npx eslint src/ --quiet OK. * 🧪 test(e2e): start new chats from the home composer, not New Deck Since #657 the home screen is the composer at the stage and DeckListView's New Deck button only shows beside an open deck's sheet, so every spec that clicked New Deck waited out its 60 s timeout (22 of the 25 failures in CI run 44315920373; locally 25 failed / 3 passed in 24.6 min on 7c1e45f). The specs now open /decks and type into the home composer once it has taken the focus (it does so on hydration, on desktop), which also keeps a fill from landing in the prerendered textarea. deck-creation additionally checks that the home screen shows no New Deck button. Specs: background-reopen, compose-async, compose-card, continue-session, deck-creation, deck-reload, model-picker. Checks (on the branch tip with the next two commits): npm run test:e2e 30 passed in 1.8 min (1:50 wall; the last green CI e2e on main took 2.6 min for 28); npx tsc --noEmit OK; npx eslint e2e/ --quiet OK. * 🧪 test(e2e): wait for the open deck's name in its bar in mcp-deck-open The spec waited for a chat tab button named after the deck; #657 removed the deck chat tabs (one conversation per screen), so it timed out on both engines. It now waits for the deck bar's heading with the loaded deck's name (a name without a folder timestamp shows unchanged through deckDisplay), after which the deck's sheet is the only chat input. Checks (on the branch tip): npm run test:e2e 30 passed in 1.8 min; mcp-deck-open v3 1.6 s, v2 1.7 s. * 🧪 test(e2e): test one conversation per screen in multi-chat multi-chat started its chats with New Deck (gone from the home screen since #657). Its chats now start from the home composer, and a new "one conversation per screen" group checks the behaviour #657 agreed on (V3 only; the layout does not depend on the engine): - the home screen is the stage (composer and title, no New Deck, no New chat); a message makes the conversation take the screen, with New chat and the deck list below - the home conversation stays across opening a deck and going back through the rail's Decks item; only New chat clears it - a deck's sheet shows only that deck's conversation, with no tabs and no New chat; closed, it opens again from Chat in the deck's bar - a deck the home conversation makes keeps the same conversation element (marked before the deck opens, still streaming), and the home screen is blank again The two several-chats tests (one stub process per chat, Stop while kiro-cli starts) stay as they were. Checks (on this commit, the branch tip): npm run test:e2e 30 passed in 1.8 min (1:50 wall), no timeouts; npm test 131 files / 1516 tests passed (vitest covers src/ only, unchanged since the UI fix); npm run build:cloud OK; npx tsc --noEmit OK; npx eslint src/ --quiet OK; en/ja key parity OK (638 keys). * 🐛 fix(web-ui): the logo goes back to the deck list in place, keeping the home conversation SPEC: 20261119-0940_e2e-new-layout Progress: the logo and the rail's Decks item share one handler (back on a deck, scroll to the list on the centred home); multi-chat checks the logo path does not reload Next: CI on #660
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
Lays the Web UI out anew and gives the chat one conversation per screen.
Layout
@style:/@template:token in the input that/does./picker is the same card gallery as the chips. It is up to 640px wide whatever the input's width, and opens over the deck beside the chat sheet. It has All / Template / Style / Format buttons, and the arrow keys move in all four directions.One conversation per screen
ChatPanelShellholds two conversations, the home one and the open deck's. Before, it held Panel A and Panel B, the tab state, keys and parking (−250 lines), and it had no tests of its own; it now has 6.Phone fixes (both also on main before this PR)
Checklist
make allpasses (ruff + pytest). One test,test_svg_icon_is_inlined_with_prefixed_ids, fails in my worktree only because its icon catalog is not downloaded. It passes in a checkout that has the catalog. This PR changes no Python.ash scan --mode local --fail-on-findings: bandit, checkov, semgrep and cfn-lint passed. grype, syft, trivy, gitleaks, opengrep and actionlint are not installed locally, so CI runs those.CHANGELOG.md[Unreleased]updated for user-facing changesTesting
npm test(1516),npm run build:cloud,tsc --noEmit,eslint src/, en/ja key parity.Boundaries touched
None.