Repository navigation
feat(gateway): new conversation panel behind the rail +, attachment controls in the control row, one-row phone bar, per g1 - #157
Merged
InfiniteInsight merged 2 commits intoOct 28, 2026
Conversation
…old the attachment row into the control row, per g1 InfiniteInsight/Qwen-Code-Remote#175. The Chat column stacked a closed #dir-picker summary row (a second door beside the rail's +), a status line, a transcript capped at a flat 75vh, the drawer band and a four-row composer, so with a full transcript the composer sat 280px under the fold at 1280x720, 258px at 1280x810 and 498px at 390x844. - #dir-picker is hidden at rest and opened only by the rail's +, which now toggles it and carries aria-controls/aria-expanded. Every id is kept, so the browse, recent, typed-path and past-list handlers are untouched. Focus moves to its summary on open; the summary, Escape and the + shut it and hand focus back to the +; arriving in another conversation shuts it. The rail stays up with no folder so the + is never gone, and #past-list contains its inline size so the open panel no longer pushes a phone page to 940px. - Attach, Files and Artifacts move into the control row as one group: short words above 860px, glyphs at the 44px floor below it, the full phrase in title and aria-label at every width. - The transcript cap is fitted to the room the bands leave (30vh to 75vh) instead of a flat 75vh, with a re-pin so a reader at the end keeps the newest row in view when the box shrinks. composerUnderFold is now 0 at all three viewports with the drawer band drawn. Verifier: P128, P129 and P130 added after #178's P127, planting the past rows and folders they need inside the hermetic harness root; P125's row order, P126's fold leg (all states, plus 1280x810) and P31's bounds updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DTgCRQUsB4fohqgy3VLgMH
…pins below 860px, per g1 InfiniteInsight/Qwen-Code-Remote#176. At 390 the four tabs plus three "Pin to Chat" checkboxes wrapped the bar to two rows (72px against the sheet's 53px), with Diagnostics and a bare ⌘K alone on the second row, naming a key a phone does not have. Below 860px the pins are hidden (13px targets, and pinning into a 390 Chat column is a desktop move; they still pin and unpin above 860px), the search control shows a magnifier instead of ⌘K, with "Search across sessions" as its aria-label, and the tabs' side padding drops to 0.5rem. The word "search" was the other allowed choice, but the four tab words alone measure 258px at 390 in this bar's 14.4px system font, and the word left no room. Measured at 390: bar 34px tall, scrollWidth 390. Verifier: P123 rewritten for the new phone claims (one row, glyph, no pins, tapping the glyph opens and focuses the search box) and the kept desktop ones (phrase, three pins that still pin and unpin). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DTgCRQUsB4fohqgy3VLgMH
InfiniteInsight
force-pushed
the
gateway/175-176-chat-column-fold-and-phone-bar
branch
from
October 28, 2026 01:39
997760c to
3ffbac5
Compare
InfiniteInsight
deleted the
gateway/175-176-chat-column-fold-and-phone-bar
branch
October 28, 2026 01:40
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 InfiniteInsight/Qwen-Code-Remote#175
Closes InfiniteInsight/Qwen-Code-Remote#176
Refs InfiniteInsight/Qwen-Code-Remote#151 (its 66px reading is superseded; the 390 band assertion it held is now in P126)
Two commits, one per issue. Everything is in
public/index.htmlplus the verifier. Rebased onto #156 (InfiniteInsight/Qwen-Code-Remote#178, the hermetic viewer harness), whose P127 comes first; this PR's scenarios are P128 to P130.What moved where
#175 (a): New conversation behind the rail's
+.#dir-pickeris still the same<details>with every id (#dir-current,#dir-list,#dir-use,#new-session-cwd,#new-session,#dir-recent,#past-filter,#past-list,#past-pager, help text), so no handler changed. It is nowhiddenat rest, so it costs 0px and draws no summary row, and the rail's+is its only door:+toggles it and carriesaria-controls="dir-picker"andaria-expanded. On open, focus moves to the panel's summary. The summary, Escape, or the+again shut it and return focus to the+.startWatcharrives in a different conversation (Use this folder, typed path, past row). A refused create keeps it open.+. Before, it disappeared until the first browse succeeded, and that would have taken the panel's only door with it exactly when a failed browse makes the typed path the way in.#past-listgetscontain: inline-size. Opening the panel at 390 pushed the page to 940px wide: the nowrap preview lines became the list's min-content, and the phone column shrink-wraps to that. This predates the change, but the panel is now what+opens.#175 (b): Attach / Files / Artifacts in the control row. One
.agroupafter auto-send and before the session verbs. Above 860px they readAttach,Files,Artifacts. Below it they are 📎 🗂 📦 at the 44px floor. At every width the full phrase is in bothtitleandaria-label(the label contains the visible word). The#stored/#artifactsboxes stayed where they were, so they open between the field and the row. The composer is now three rows: field, control row, idle row.#175 (fold): the transcript cap is fitted, not a flat 75vh. With a full transcript, (a) and (b) alone leave the composer 175px, 152px and 356px under the fold (table below). So
#transcriptnow hasmax-height: var(--tx-cap, 75vh), andfitTranscript()sets--tx-capto whatever room is left in the viewport after the bands above and below it, bounded to 30vh..75vh.ResizeObserveron#pane-chat, the bar and the rail, plus windowresize, batched to one frame.max-heighton a box that sizes to its content, never a flex basis.followIfPinned, so a reader at the end keeps the newest row in view. Without that, the virtualized path left the in-progress tool row hidden under the box at 1280x720.#176: phone bar. Below 860px:
.pin-cbboxes are hidden. Above 860px they still pin and unpin.#bar-searchshows a magnifier (🔍) instead of⌘K, witharia-label="Search across sessions".The word "search" was the other allowed option, but in this bar's 14.4px system font the four tab words alone are 258px at 390, and the word left no room. Above 860px the bar is unchanged:
⌘K searchand the pins.Measured
The audit's capture frames, with the drawer band drawn as the page draws it.
composerUnderFold=#composerbottom minusinnerHeight. Before is fork main9046aa4af2.(The audit's "137px under at 1280x810" was the prompt's bottom. The composer's own bottom was 258px under.)
Bar at 390: 72px tall on two rows -> 34px on one row,
scrollWidth390 against 390. At 360 it still wraps (66px). No page overflows sideways at any of the three viewports, with the panel open or shut.Scenarios
Added:
+opens it with focus inside. The summary, Escape and+shut it back to+. Tab reaches Use this folder. At 390 its summary is on top, both at the top of the page and when opened from further down. Nothing overflows at 390, with past rows carrying long previews drawn through the page's own renderer, since the harness root holds no conversations. The+survives a folderless rail.+, over folders planted inside the harness root (not the host's$HOME), with the same refusal feat(gateway): qwen-rc attach, a terminal-first conversation the phone can pick up (#194 slice D) #178's P127 keeps if that root is the real~/.qwen. A recent entry browses. A folder row browses. Typed path and Use this folder both POST the rightcwd(answered 403 by a route). A refusal keeps the panel open. A past row resumes and shuts it.composerUnderFoldis 0 at 1280x720, 1280x810 and 390x844 with a transcript long enough to fill its box and the band as drawn and filled taller. The transcript stays within 30vh..75vh, the newest row stays on screen, and nothing overflows sideways.Changed:
⌘Kkept, word dropped) are exactly what fix(gateway): one host terminal per session (#194 slice C) #176 reverses. Now at 390: one row, height <= 53,scrollWidth390, magnifier not⌘K, aria-label, no pins, and tapping it opens and focuses the search box. At 1280: the phrase, 3 pins, and Settings pins and unpins.agroupbetweenlabandsgroup.> 60pxto>= 30vh, which is the bound that keeps feat(rc-gateway): the sessions-at-rest family gets a gateway path #74's "chat window is way too small" fault out.Each new leg was seen red, and the page was restored byte-identical after each probe:
composerUnderFold is 175 at 1280x720).Verification
ONLY=P27,P31,P123,P124,P125,P126,P127,P128,P129,P130: 10 passed, 0 failed.npx vitest run src/transcriptModel.test.ts: 60 passed.scripts/.Judgment calls
composerUnderFoldstays at 175, 152 and 356. On a phone the transcript goes from 633px to 298px. To keep 75vh and accept a scrolling page instead, revert thefitTranscriptblock and the--tx-caprule, and the P130 fold legs.+. That keeps the status line visible and needs no positioning code. On desktop the+sits at the foot of the rail while the panel opens at the top of the column.+), reversing its "stay out until there is a folder" rule.🤖 Generated with Claude Code
https://claude.ai/code/session_01DTgCRQUsB4fohqgy3VLgMH