Skip to content

fix(tui): animate nerd tool spinner, add popup divider, and align search icon spacing - #1245

Merged
hakula139 merged 2 commits into
mainfrom
fix/tui-visual-polish
Dec 6, 2026
Merged

hakula139 merged 2 commits into
mainfrom
fix/tui-visual-polish

Conversation

@hakula139

@hakula139 hakula139 commented Dec 6, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Remove tool_running from crates/ox-tui/tui/nerd.toml so the nerd glyph preset inherits the animated 8-dot Braille spinner via running_tool_glyph, and update TuiGlyphsConfig::is_default_tool_running so custom \u{f110} values render statically.
  • Switch nerd.toml tool fold glyphs to squared plus/minus (\uf196 / \uf147) so collapsed and expanded tool headers stay visually distinct from the ❯ input prompt, and render the pill statusline expanded badge as plain expanded in all modes.
  • Add a 1-row top hairline divider (Borders::TOP) to CompletionPopup in crates/ox-tui/src/render/ui.rs so / and @ completion lists separate cleanly from the transcript while keeping HitTarget::CompletionRow hit rects aligned with the inset content area.
  • Render two spaces after non-ASCII search icons in overlay and /resume search bars (crates/ox-tui/src/render/ui/overlay.rs, crates/ox-tui/src/render/ui/resume.rs) and widen select, palette, and /resume session list gutters via a shared list_item_prefix helper so query text and list items start in the same column.
  • Regenerate the affected lossless WebP previews, animated demo, and SHA-256 manifests via ./scripts/render-previews.sh.

Test plan

  • nix develop -c run-hooks (all formatting, spelling, TOML, and Clippy checks passed)
  • cargo test -p ox-tui (316 unit tests and 2 preview SHA-256 parity tests passed)
  • Visually inspected regenerated WebP previews (catppuccin-mocha.webp, command-palette.webp, resume-picker.webp, statusline-styles.webp, trigger-completion.webp)

@hakula139 hakula139 added bug Unexpected behavior area: tui Touches terminal UI rendering, input, or theming labels Dec 6, 2026
@hakula139 hakula139 self-assigned this Dec 6, 2026
@codecov

codecov Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.87500% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/ox-tui/src/render/ui/overlay.rs 94.11% 1 Missing ⚠️
crates/ox-tui/src/render/ui/resume.rs 92.85% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

…rch icon spacing

Update the nerd glyph preset to inherit the default 8-dot Braille running spinner and use squared plus/minus fold glyphs (\uf196 / \uf147), drop the redundant leading triangle from the expanded statusline pill, add a 1-row top hairline divider to the completion popup, and add two spaces after non-ASCII search icons while aligning overlay list gutters.
@hakula139
hakula139 force-pushed the fix/tui-visual-polish branch from 266d798 to af5ecb1 Compare December 6, 2026 13:03
@hakula139
hakula139 merged commit 6e217e7 into main Dec 6, 2026
10 checks passed
@hakula139
hakula139 deleted the fix/tui-visual-polish branch December 6, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tui Touches terminal UI rendering, input, or theming bug Unexpected behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant