[feat/interactive-tui] Merge to develop#85
Merged
Conversation
🚀 Release v1.7.0
…ization - Consolidated build and test jobs to reduce redundancy - Improved caching with Swatinem/rust-cache@v2 - Added parallel execution where possible - Reduced git fetch operations with appropriate fetch-depth - Consolidated issue extraction to single step - Optimized test workflow to run only essential checks - Reduced matrix strategy to stable + nightly only
🚀 Optimize workflows for faster execution and better parallelization
- Add ratatui, crossterm, chrono and tui-input to Cargo.toml - Create src/bin/tui.rs with full dashboard implementation - Stats panel with LSM-Tree mock metrics and BarChart/Gauge - Clock gadget panel updated in real-time - Command input panel using tui-input - Rich RGB/Hex color palette for borders and widgets - Mouse support via EnableMouseCapture - Non-blocking event loop with 250ms poll timeout - Panic-safe terminal restore via std::panic::set_hook
…d set
- Initialize real LsmEngine with LsmConfig (dir: ./.lsm_data)
- Stats panel driven by engine.stats_all() on every tick
- MemTable gauge: real mem_kb / memtable_max_size
- BarChart: rolling ops/s history (last 20 samples, 250ms each)
- Secondary bar: SSTable KB / WAL KB / total_records (scaled)
- Track cumulative ops per command for real ops/s rate
- All CLI commands wired to real engine methods:
SET, GET, DEL, SEARCH [--prefix], SCAN, ALL,
KEYS, COUNT, STATS [ALL], BATCH, DEMO, CLEAR, HELP, Q
- DEMO command runs mini benchmark (100 SET + reads + deletes)
- Engine errors rendered in red in the log panel
- Panic hook restores terminal before printing error
…nused Direction import
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated PR
✅ Build: Passed
✅ Tests: Passed
📊 Details
feat/interactive-tui📝 Recent Commits
Auto-created by feature-fix-workflow