-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Description
This issue tracks various TUI bugs and rendering issues that need to be addressed in the clobster terminal interface.
Known Issues
1. Settings View Incomplete
- The Settings view currently renders a placeholder block instead of actual settings UI
- Location:
src/ui/mod.rs(lines 40-45)
2. Notification/Error Overlap
- Both notification and error messages render to the same
notification_area - If both are present simultaneously, they may overlap or one may be hidden
- Location:
src/ui/mod.rs(lines 51-57)
3. Layout Responsiveness
- Need to verify the TUI handles terminal resize events properly
- Small terminal windows may cause layout issues with widgets
4. Widget State Synchronization
- Ensure widget states (scroll position, selection) are properly preserved across renders
- Tab switching should maintain view state
Affected Components
src/ui/mod.rs- Main UI renderersrc/ui/layout.rs- Layout calculationssrc/ui/widgets/- Individual widget implementations:market_list.rsorder_list.rsorderbook.rsposition_list.rsstatus_bar.rstab_bar.rshelp.rsnotifications.rs
Acceptance Criteria
- Settings view renders actual configuration options
- Notifications and errors display without overlap
- Terminal resize is handled gracefully
- Widget state is preserved when switching views
- All views render correctly at minimum terminal size (80x24)
Additional Context
Built with ratatui - refer to ratatui documentation for rendering patterns.