Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.
docs: Update CHANGELOG, test counts, and controls guide for UI polish
Samir Hossainsac7405724718
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 7788d8a..1a4bc06 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -3,6 +3,8 @@## [Unreleased]### Added+- **Stream list tabular column headers (`stream_table_header_spans`)**: Rendered aligned header row (`Quality`, `Size`, `Codecs`, `Duration`, `Release / Source`) at the top of stream results in the Details view on viewports $\ge 76$ columns.+- **Vim navigation in Theme picker (`j` / `k`)**: Added `j` (down) and `k` (up) key support to navigate and live-preview themes inside the `/theme` picker popup.- **Live stream verification test suite (`tests/live_stream_verification.rs`)**: Integrated end-to-end verification verifying movie and series stream resolution against live backend endpoints and asserting absence of legacy notice hashes.- **Unified Command Hub landing design**: Redesigned the homepage landing screen into a single cohesive, proportional modal container seamlessly combining the search bar, embedded provider pill (`[MovieBox · Ctrl+P]`), live suggestions, recent favorites, and quick command shortcuts.- **Details Screen Subtitles Shortcut (`[s]`)**: Added `s`/`S` keyboard shortcut on Details screen to open the subtitle language picker, matching mouse click and footer hints.@@ -131,6 +133,10 @@`/toggle-bdix`, `/toggle-streaming`) with backward-compatible aliases.### Changed+- **Framed Zero-Results & Error state cards**: Enclosed empty search results and query error states in styled, centered cards with pill headers (`SearchViewState::Error`, `SearchViewState::NoResults`) and actionable guidance pills (`[Ctrl+P] Switch Provider`, `[r] Retry`, `[Esc] Back`), with dedicated handling for empty `/favorites` queries (`"No favorites saved yet"`).+- **Multi-column result grid gutter arithmetic**: Refined `ResultMetrics` and `result_columns_for` column width calculations to account for explicit 1-character column gutters across 1, 2, 3, and 4-column tiers (with 4-column breakpoint at $\ge 220$ columns).+- **Details footer split threshold synchronization**: Unified the single-row to dual-row footer threshold constant `DETAILS_FOOTER_SPLIT_THRESHOLD` ($86$ cols) across screen rendering (`details.rs`) and mouse click detection (`mouse.rs`).+- **Confirmation dialog button contrast**: Enhanced `[ Download ]` and `[ Cancel ]` button styling in confirmation modals with reverse/bold modifiers on basic terminals for WCAG AA visual contrast.- **Framed landing favorites deck styling & alignment**: Enclosed the landing Favorites list in a matching bordered card with:- Header border offset (`╭─ ★ Favorites ──╮` / `+- * Favorites --+` on basic) with double-space icon breathing room.- 1:1 vertical column alignment between header star `★` and selection pointer `▌` (col x0 + 3), and header text `Favorites` and item titles (col x0 + 6).diff --git a/docs/controls.md b/docs/controls.mdindex 3d788ab..d986f65 100644--- a/docs/controls.md+++ b/docs/controls.md@@ -45,7 +45,7 @@ Text editing across Search, TV Playlist Manager, and Addon Manager uses a unifieAll popup dialogs (Theme picker, Browse categories, Player picker, TV Manager, Addon Manager, Download Confirmation) support standard keyboard controls:-- **`↑` / `↓`**: Move selection up / down by one item.+- **`↑` / `↓` / `k` / `j`**: Move selection up / down by one item (vim keys `k`/`j` supported in pickers such as `/theme`).- **`Home` / `End`**: Jump immediately to the first or last item in the list.- **`PageUp` / `PageDown`**: Step up or down by 5 items.- **`Enter`**: Confirm selection, activate entry, or submit dialog.diff --git a/docs/known-issues.md b/docs/known-issues.mdindex ac8d83c..6b21e15 100644--- a/docs/known-issues.md+++ b/docs/known-issues.md@@ -29,6 +29,6 @@ Tracked here so future work and issue reports reference the same facts.## Verification-- Automated testing is enforced via `cargo test --all-features --locked` covering 283 unit and integration tests across 18 test suites (see [`docs/testing.md`](testing.md)). The count is updated when tests change; it does not replace real-player and real-device verification.+- Automated testing is enforced via `cargo test --all-features --locked` covering 284 unit and integration tests across 18 test suites (see [`docs/testing.md`](testing.md)). The count is updated when tests change; it does not replace real-player and real-device verification.- Static correctness is enforced by strict compiler type checking, the lint gate (`cargo clippy --all-targets --all-features --locked -- -D warnings`), formatting (`cargo fmt --check`), dependency vulnerability scanning (`cargo audit`), and packaging verification (`cargo package --locked`).- Runtime and platform-specific behavior (terminal resize, focus handling, external player launch, and Termux chooser) are verified through the release checklist in [`release-checklist.md`](release-checklist.md).diff --git a/docs/testing.md b/docs/testing.mdindex 2eb5624..fc806bc 100644--- a/docs/testing.md+++ b/docs/testing.md@@ -4,7 +4,7 @@ This document describes the testing architecture, quality assurance procedures,## 1. Test Architecture-The test suite comprises **283 automated tests across 18 test suites** (150 unit tests in `src/lib.rs`, 0 binary tests in `src/main.rs`, and 133 integration tests across 17 test suites in `tests/`), running fully offline by default without mocking or live network dependencies.+The test suite comprises **284 automated tests across 18 test suites** (151 unit tests in `src/lib.rs`, 0 binary tests in `src/main.rs`, and 133 integration tests across 17 test suites in `tests/`), running fully offline by default without mocking or live network dependencies.The MovieBox-TUI test architecture follows a strict separation of concerns: