fix(chat): renamed run title no longer collapses beside raw identity (#120) #121
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/coding-lab!121
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "afk/120"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rename a run spawned without a label and the header showed ~3 characters of the new title beside a giant muted
20260710-1545 · coding-lab~20260710-1545string — the raw-identity span out-shrank the title in the flex row, and it doubled the label (the session name already embeds it).Per the agreed design on the issue, the header title is now one code path for titled and untitled runs:
.chat-title-text):runDisplayTitle— custom title, else the generated label title (dom · 15:00,AFK #7), else the branch. Therepo ·prefix is gone from the generated form (and from the edit-mode placeholder)..chat-title-project, replaces.chat-title-raw): just the project name (sessionRepo), muted, rendered for titled and untitled runs alike; hidden for legacy no-~sessions.flex: 0 100000 autoso it shrinks to zero before the title gives up a pixel; both keepmin-width: 0+ ellipsis. No media queries — narrow viewports shed the project naturally.titleattribute is the exact session name (coding-lab~grill-20260710-1018), keeping the ADR-0040 tmux/branch/worktree correlation reachable. ADR-0040's Status section records the amendment.Rail and History already render
runDisplayTitleonly — untouched.Tests: header expectations updated for titled/untitled/reset, placeholder now repo-less, plus a new legacy no-
~case (branch fallback, no project span, session-name tooltip). Full web gates green locally: vitest 590/590,tsc --noEmit, eslint, prettier,vite build. No Go changes. Browsers can't run in this sandbox, so no screenshot — surfaces to eyeball: chat header on a renamed unlabelled run (wide + narrow), and a run with a 120-char title.Closes #120
🤖 Generated with Claude Code
https://claude.ai/code/session_01QF3QPn7z5ZTHLCe718grBg