Skip to content

Default terminal padding + quieter sidebar - #102

Merged
vaayne merged 2 commits into
mainfrom
ui/terminal-padding-sidebar-denoise
Jul 24, 2026
Merged

vaayne merged 2 commits into
mainfrom
ui/terminal-padding-sidebar-denoise

Conversation

@vaayne

@vaayne vaayne commented Jul 24, 2026

Copy link
Copy Markdown
Owner

What

Two of the three visual-polish items from the terminal-aesthetics audit (the third — a real brand palette for MoriTokens — is deliberately left for a follow-up since it's an aesthetic decision worth reviewing on its own).

1. Default terminal padding

Mori wrote no window-padding, so terminal text rendered flush against the window edges (Ghostty's default is 2px). A new ghostty-mori-defaults.conf sets window-padding-x = 16, window-padding-y = 12, window-padding-color = extend, and is loaded before ~/.config/ghostty/config — ghostty keeps the last value it reads, so anything the user sets themselves still wins. The existing overrides file (loaded after the user config) intentionally stays free of preferences.

2. Sidebar denoise

PR badges carried three colored elements each (tinted number, tinted capsule, tinted checks glyph); a sidebar full of healthy PRs read as noise. Badges now follow the sidebar's existing attention-only color rule:

  • gray capsule + gray number; red number only for closed / changes requested
  • checks glyph colored only when failing / pending; passing goes gray
  • full PR state remains in the hover tooltip (unchanged)

Selected rows step up from Opacity.subtle (0.08) to .light (0.12) so selection survives the quieter surroundings; workspace rows get 2px more vertical padding.

Verification

  • mise run test — all packages green
  • swift build -c release for both Mori and mori products
  • CI=1 bash scripts/bundle.sh + launch — dyld/rpath/resources OK
  • Runtime check: dev instance writes the defaults file with the expected content; load order is defaults → user config → overrides

Notes

  • TaskWorktreeRowView.swift in MoriUI is referenced by nothing — pre-existing dead code, left untouched.
  • Not visually verified against a running session with live PR badges; worth one look before merge.

vaayne added 2 commits July 24, 2026 10:45
Mori wrote no window-padding, so text rendered flush against the window
edges (Ghostty's own default is 2px). A new defaults file sets
window-padding 16x12 + padding-color extend, loaded *before* the user's
~/.config/ghostty/config so any padding the user sets themselves wins —
unlike the overrides file, which loads after and must not carry
preferences.
PR badges carried three colored elements each (tinted number, tinted
capsule, tinted checks glyph), so a sidebar full of healthy PRs read as
noise. Badges now follow the sidebar's existing attention-only color
rule: gray capsule and number, red only for closed / changes-requested,
checks colored only when failing or pending. Full state stays in the
tooltip. Selected rows step up from Opacity.subtle to .light so the
selection survives the quieter surroundings, and workspace rows get 2px
more vertical breathing room.
@vaayne
vaayne merged commit 397432d into main Jul 24, 2026
5 checks passed
@vaayne
vaayne deleted the ui/terminal-padding-sidebar-denoise branch July 24, 2026 03:42
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