Skip to content

[feat/interactive-tui] Merge to develop#85

Merged
ElioNeto merged 7 commits into
developfrom
feat/interactive-tui
Mar 9, 2026
Merged

[feat/interactive-tui] Merge to develop#85
ElioNeto merged 7 commits into
developfrom
feat/interactive-tui

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Mar 9, 2026

🤖 Automated PR

Build: Passed
Tests: Passed

📊 Details

  • Commits: 7
  • Branch: feat/interactive-tui
  • Author: @ElioNeto

📝 Recent Commits


Auto-created by feature-fix-workflow

ElioNeto added 7 commits March 8, 2026 14:52
…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
@ElioNeto ElioNeto merged commit 5bb619e into develop Mar 9, 2026
3 checks passed
@github-actions github-actions Bot mentioned this pull request Mar 9, 2026
@github-actions github-actions Bot mentioned this pull request Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant