feat(tui): ricing-first dashboard with fzf process finder#7
Conversation
Complete TUI redesign for the Linux ricing community: - Hybrid layout: dashboard overview + Enter to zoom into any module - fzf-style process fuzzy finder with nucleo-matcher - Terminal-native ANSI 16 colors (inherits user's colorscheme) - Nerd Font icons enabled by default - 16-color ANSI palette bar in footer - ThemeMode: terminal (default) vs custom hex colors - Sparkline history (60 samples), gauges, key-value details - Keybindings: Tab/arrows navigate, Enter zoom, / search, j/k scroll, Esc back
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis pull request introduces a comprehensive TUI redesign featuring an interactive dashboard with theme customization, a fuzzy process finder powered by nucleo-matcher, ANSI color support, Nerd Font icons, and dual-view navigation (dashboard and zoom-in modes). Configuration types are extended with theme modes and icon toggles, output formatting now includes decorative headers, and the TUI state management adds process filtering and history tracking. Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant App
participant ViewMode
participant ProcessFinder
participant Engine
participant Renderer
User->>App: Trigger interaction (key press)
App->>ViewMode: Check current view mode
alt Dashboard view
ViewMode->>Renderer: render dashboard (all modules)
Renderer-->>User: Display dashboard tiles
else ZoomIn view
ViewMode->>App: Get zoomed module (e.g., "process")
App->>ProcessFinder: Activate process finder
User->>ProcessFinder: Enter search query
ProcessFinder->>Engine: Apply fuzzy filter (nucleo-matcher)
Engine-->>ProcessFinder: Filtered process list
ProcessFinder->>Renderer: Render process entries
Renderer-->>User: Display fuzzy-matched processes
end
User->>App: Navigate or zoom out
App->>ViewMode: Transition to Dashboard
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Summary
/to search,j/kto navigate, highlighted selectionterminal(default, adapts to pywal/Catppuccin/Dracula/etc) orcustom(hex color overrides)→separatorsKeybindings
Tab/←→Enter/orfj/kEscqTest plan
cargo run -- tui— verify dashboard renders with Nerd Font icons and ANSI colorscargo run -- print -m cpu— verify Nerd Font icons in CLI outputSummary by CodeRabbit