Repository navigation
web: well leftovers (chrome polish PR 5) - #108
Merged
Merged
Conversation
Follow the newest transcript row while the operator is at the bottom, stop when they scroll up, and keep exactly one scroller around the transcript. Tool chips show the call operand on running and ok faces. Session tabs reuse TabBar, use human titles, and do not call a root "no parent". Script-tab dirty uses the rail's side word; leftover copy tells the truth about disclose, explode, in-flight holder, and a failed history read. Closes #98, #71, #48, #51, #62, #66, #72, #74, #75. Co-authored-by: Vel <Code4me2@users.noreply.github.com>
This was referenced Sep 1, 2026
Code4me2
added a commit
that referenced
this pull request
Sep 1, 2026
#108 shipped sessionLabel but never wired the first prompt, so a live orchestrator tab stayed a raw id after Send. Remember the opening line on submit, label the TabBar from that (or Ask about {part} / New session), and set document.title to the same conversation — never session.id.slice. Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Vel <Code4me2@users.noreply.github.com>
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.
Later slice of #103 (well leftovers + copy). Branched from current
main(afb0a80, squash of #107). Web-only.Closes
#98, #71, #48, #51, #62, #66, #72, #74, #75.
Verified against current main + INTERFACE.md
Issue bodies are 2026-09-01 field notes, some against #40/#41. Rechecked on
afb0a80:web/srchad no follow-scroll. Transcript was a bare<ol>..mainwas the scroller and also held session tabs, the fault band, and history notes. Spec: follow newest while at the bottom; stop the moment they scroll up; jump-to-latest when detached; open a session on the newest turn; exactly one scroller around the transcript. No new event kind.read_part · running+ collapsed Arguments). Completed headlines preferred result metadata (status,line_count,generation) over the operand.#69is engine — this PR does not invent apartresult field. Headlines may use call arguments for presentation;data-fieldstayskeys(JSON.parse(payload.text))(§7.2).role="tablist"with every tab in the Tab order and truncated UUIDs as labels. Root tabs printedcopy.stream.threadState.unlinked(“no parent”).TabBaralready existed and its header already said the Stream would passdata-session-tab.explode_tchip “explode t”;run_in_flightholder dumped a session UUID; roots said “no parent”.copy.rail.dirtyShort(“changed”) for any dirty part; railDirtyMarkerusescopy.gitStatus[side].dirtySidealready existed.discloseAdvisoryalready existed because the panel is not authoritative.historyFailedShort(“Transcript unread”). §4.4: a weak answer must say why.Not restacked: quiet rail (#107) and pin/header/export honesty (#106). Touched
Stage.tsxonly for the Script-tab dirty word (#72).data-chrome-export/data-chrome-bom/[data-testid="artifact-pin"]untouched.What changed
tool_call.argumentsoperand forrunningandok(e.g.read_part+tread). Full JSON stays behind the disclosure. No fakedata-field.TabBar(arrows / Home / End, Tab leaves the list). Label is first prompt line,Ask about {part}, orNew session+ time. UUID stays intitle/data-session-id. Roots omit “no parent” (subtitle is “project session” where a word is needed).historyFailedsentence.Locked decisions (not reopened)
data-chrome-export/data-chrome-bom/[data-testid="artifact-pin"]stay.part) from JSON payload #69 is engine. Headlines may use call args without breaking §7.2 groundedness.TabBarif it still fits. Well, composer, and session tabs fail the §3.13 ARIA contract #68 (composer name / well role / session tabpanel) is a later a11y PR — minimum the widget needs, no viewport skip-links or TreeRow keyboard.Out of this PR
TreeRowderives the roving tabindex fromaria-selected, so a tree with nothing selected cannot be entered from the keyboard #102 Rail is two trees; arrows cannot reach Analyses from Parts #65 Part rows report selection asaria-expanded: the chevron cannot collapse a part, and ArrowRight is a navigation #91 Viewport canvas is not keyboard-reachable; no skip link past the rail #64 Well, composer, and session tabs fail the §3.13 ARIA contract #68 Inspector tabs lack aria-controls and aria-labelledby wiring #82 Dialogs (SignIn, Export) focus trap can be escaped #84 Fit, Cancel, and disclose have no resting control chrome #67 Overlay icon buttons lack explicit 24px min-width for hit targets #87.#t=workspace token #47 401 dropToken() leaves a zombie shell instead of remounting NoToken #80 NoToken panel copy blames the operator for a token the app dropped (#47 follow-up) #73 Device-code sign-in never finishes (and never cancels) #76.part) from JSON payload #69. No reopen of beyond Smith: laser CAM, scan-to-part, process packs — engine first #14 or web: rail Sign-in stays in the 280px box; viewport is a CAD modeling well #32.Tests
Local
web/:pnpm typecheck,pnpm lint, andpnpm testall pass (39 files, 643 tests). Unit coverage for follow-vs-detach, running/ok chip headlines from args, human session titles, root tabs without “no parent”, TabBar keyboard on session tabs, Script-tab dirty side word, disclose label,historyFailedsentence. Existing e2e selectors not weakened.Could not exercise the live 1280×800 operator session in this environment (no
heph serve --webtoken / project). Behavior is pinned in unit tests.