Problem
The TUI (src/bin/tui.rs) has several issues:
- Stale version: Shows "ApexStore v2.1.0" — actual version is 2.2.0
- Hardcoded data path: Uses
./.lsm_data instead of reading from config
- No transaction support: Cannot begin/commit/rollback transactions
- No TTL display: Keys with TTL show no expiry information
- No secondary index browsing: No way to see or query indexes
- No value search: Only prefix/substring search, no
value-search mode
- Limited pagination: SCAN/ALL/SEARCH show at most 20-30 results with no paging
- No event viewer: Cannot subscribe to WebSocket/SSE events
- Only uses "default" CF: No column family selector
- No mouse scroll: Only click detection, no scroll-wheel for log panel
Request
Must have
- Read version from
Cargo.toml at build time (env!("CARGO_PKG_VERSION"))
- Read data path from config file or env var, fall back to
./.lsm_data
- Add TTL column to key-value list display when scanning
- Increase result display limit and add page-up/page-down navigation for scan results
Nice to have
- Add transaction management panel (begin/commit/rollback with status)
- Add secondary index panel (create index, query by index, list indexes)
- Add simple "subscribe to events" view that streams CDC events in log panel
- Add column family selector (dropdown or tab)
- Add mouse scroll support for log panel
Acceptance criteria
Problem
The TUI (
src/bin/tui.rs) has several issues:./.lsm_datainstead of reading from configvalue-searchmodeRequest
Must have
Cargo.tomlat build time (env!("CARGO_PKG_VERSION"))./.lsm_dataNice to have
Acceptance criteria
CARGO_PKG_VERSION