Skip to content

feat(tui): live-preview themes in a bottom dock - #231

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/theme-live-preview-dock
Aug 4, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/theme-live-preview-dock

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • Replace the centered theme modal (which blanked the UI) with a bottom dock that keeps the real app painted and undimmed
  • ↑↓ live-previews the highlighted theme without persisting; Enter confirms and saves; Esc restores the theme from when /theme opened
  • /theme <id> still applies immediately; README documents the new picker flow

Test plan

  • Run /theme, arrow through several themes, confirm conversation/panels recolor while the dock stays open
  • Press Esc after previewing a different theme — original theme restored, picker closed, no toast
  • Press Enter on a previewed theme — persists, closes, shows theme · {name} feedback
  • With bottom panel open, confirm it stays visible under the dock
  • /theme solarized-light still applies immediately without opening the dock
  • cargo test --package forge-tui --locked --lib

Let /theme iterate against the real undimmed UI: ↑↓ previews, Enter
persists, Esc restores. Replaces the canvas-blanking centered modal.
@github-actions
github-actions Bot enabled auto-merge (squash) August 4, 2026 06:54
@github-actions
github-actions Bot merged commit 0dbb9b4 into main Aug 4, 2026
7 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
* feat(tui): live-preview themes in a bottom dock

Let /theme iterate against the real undimmed UI: ↑↓ previews, Enter
persists, Esc restores. Replaces the canvas-blanking centered modal.

* style: cargo fmt for theme live-preview tests
mohitranka added a commit that referenced this pull request Sep 11, 2026
* feat(tui): live-preview themes in a bottom dock

Let /theme iterate against the real undimmed UI: ↑↓ previews, Enter
persists, Esc restores. Replaces the canvas-blanking centered modal.

* style: cargo fmt for theme live-preview tests
mohitranka added a commit that referenced this pull request Sep 11, 2026
* feat(tui): live-preview themes in a bottom dock

Let /theme iterate against the real undimmed UI: ↑↓ previews, Enter
persists, Esc restores. Replaces the canvas-blanking centered modal.

* style: cargo fmt for theme live-preview tests
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