Skip to content

web: well leftovers (chrome polish PR 5) - #108

Merged
Code4me2 merged 1 commit into
mainfrom
cursor/well-leftovers-be62
Sep 1, 2026
Merged

Code4me2 merged 1 commit into
mainfrom
cursor/well-leftovers-be62

Conversation

@Code4me2

@Code4me2 Code4me2 commented Sep 1, 2026 •

Copy link
Copy Markdown
Member

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:

Not restacked: quiet rail (#107) and pin/header/export honesty (#106). Touched Stage.tsx only for the Script-tab dirty word (#72). data-chrome-export / data-chrome-bom / [data-testid="artifact-pin"] untouched.

What changed

  • Transcript-only scroller. Follow while at bottom; detach on scroll-up; Latest control when detached; opening a session pins to newest. Keyed on row count.
  • Chip face uses tool_call.arguments operand for running and ok (e.g. read_part + tread). Full JSON stays behind the disclosure. No fake data-field.
  • Session tabs reuse TabBar (arrows / Home / End, Tab leaves the list). Label is first prompt line, Ask about {part}, or New session + time. UUID stays in title / data-session-id. Roots omit “no parent” (subtitle is “project session” where a word is needed).
  • Script tab dirty badge uses the same side word as the rail.
  • Disclose: “Composer preview”; advisory sentence stays inside the panel.
  • History header uses the full historyFailed sentence.
  • Explode chip: “explode”. In-flight holder uses the human tab title.

Locked decisions (not reopened)

Out of this PR

Tests

Local web/: pnpm typecheck, pnpm lint, and pnpm test all 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, historyFailed sentence. Existing e2e selectors not weakened.

Could not exercise the live 1280×800 operator session in this environment (no heph serve --web token / project). Behavior is pinned in unit tests.

Open in Web Open in Cursor 

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>
@Code4me2
Code4me2 merged commit e84dc7b into main Sep 1, 2026
18 checks passed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants