Tidy session rows, mute input autocorrect, add tab status glyphs#9
Merged
Conversation
- 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>
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.
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:
Branch: …), andSection view keeps showing the project name (
project · branchwhen diverged, justprojectotherwise).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 disablesspellcheck/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 typecheckpasses (also runs as the pre-commit hook).🤖 Generated with Claude Code