Skip to content

FEATURE: Port setup wizard TUI from Charm to Ratatui#1030

Merged
xfalcox merged 2 commits intomainfrom
ratatui-tui-port
Jan 26, 2026
Merged

FEATURE: Port setup wizard TUI from Charm to Ratatui#1030
xfalcox merged 2 commits intomainfrom
ratatui-tui-port

Conversation

@xfalcox
Copy link
Copy Markdown
Member

@xfalcox xfalcox commented Jan 22, 2026

Summary

  • Replace gum + glamour gems with ratatui_ruby
  • Add TuiComponents module with reusable TUI components
  • Remove external CLI dependency (no more gum binary)
  • ~ 10% smaller Docker image

Replace gum/glamour gems with ratatui_ruby for terminal UI components.
Adds new TuiComponents module with TextInput, ConfirmDialog, ChooseMenu,
and Spinner classes. Updates Dockerfile to compile Rust-based gem.
Copy link
Copy Markdown
Contributor

@pmusaraj pmusaraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but please merge at the start of your day and monitor, just in case.

Thanks!

ratatui_ruby enables mouse capture by default, which prevents normal
terminal text selection. Since the setup wizard only uses keyboard
navigation, we disable mouse capture after TUI initialization.

Also updates ratatui_ruby from 0.10.3 to 1.2.0.
@xfalcox xfalcox merged commit 216987c into main Jan 26, 2026
5 checks passed
@xfalcox xfalcox deleted the ratatui-tui-port branch January 26, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants