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 renderer
src/ui/layout.rs - Layout calculations
src/ui/widgets/ - Individual widget implementations:
market_list.rs
order_list.rs
orderbook.rs
position_list.rs
status_bar.rs
tab_bar.rs
help.rs
notifications.rs
Acceptance Criteria
Additional Context
Built with ratatui - refer to ratatui documentation for rendering patterns.
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
src/ui/mod.rs(lines 40-45)2. Notification/Error Overlap
notification_areasrc/ui/mod.rs(lines 51-57)3. Layout Responsiveness
4. Widget State Synchronization
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.rsAcceptance Criteria
Additional Context
Built with
ratatui- refer to ratatui documentation for rendering patterns.