Skip to content

Tidy session rows, mute input autocorrect, add tab status glyphs#9

Merged
Ed-Barnes937 merged 2 commits into
mainfrom
more-niggles
Jun 17, 2026
Merged

Tidy session rows, mute input autocorrect, add tab status glyphs#9
Ed-Barnes937 merged 2 commits into
mainfrom
more-niggles

Conversation

@Ed-Barnes937

Copy link
Copy Markdown
Collaborator

Three small UI niggles from feedback.

Sidebar row: branch only when it diverges

A freshly-created session's branch is just a slug of its title, so the title and branch columns repeated each other. The branch now shows only when it has meaningfully diverged (e.g. after a rename); otherwise the row shows the title alone. The branch is still always reachable:

  • via the row title's hover tooltip (Branch: …), and
  • in the detail panel.

Section view keeps showing the project name (project · branch when diverged, just project otherwise).

Mute OS autocorrect on inputs

macOS was popping autocorrect/auto-capitalise suggestions inside our text fields. Added a shared noTextAssist() helper (src/dom.ts) that disables spellcheck/autocorrect/autocapitalize/autocomplete, applied to every text input and textarea (palette, session create/rename, add-project path, review comment, settings text/JSON, prompt dialog). Checkbox/number inputs left untouched.

Status glyph in tabs

Terminal tabs now carry the same compact status glyph as the sidebar rows. Extracted the shared applyStatusGlyph() so tabs and rows render identically, updated live on every snapshot. The commander tab (no matching session) keeps its glyph hidden.

Verification

  • npm run typecheck passes (also runs as the pre-commit hook).

🤖 Generated with Claude Code

Ed-Barnes937 and others added 2 commits June 17, 2026 11:37
- Sidebar rows now show the branch only when it has diverged from the
  session title (the common slug-of-title case is hidden); the branch
  stays available via the row's hover tooltip and the detail panel.
- Disable OS spellcheck/autocorrect/autocapitalize on all text inputs
  and textareas via a shared noTextAssist() helper (src/dom.ts).
- Add a compact status glyph to terminal tabs, mirroring the sidebar
  via a shared applyStatusGlyph() and kept in sync on every snapshot.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The new .tab-glyph span made the bare "#tabs .tab span" selector match
two elements per tab, breaking the terminal iwft tests. Give the label a
.tab-label class (matching .tab-glyph / .tab-close) and target it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Ed-Barnes937 Ed-Barnes937 merged commit 7250511 into main Jun 17, 2026
4 checks passed
@Ed-Barnes937 Ed-Barnes937 deleted the more-niggles branch June 17, 2026 10:44
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.

1 participant