Skip to content

Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.

docs: synchronize in-app help, controls guide, changelog, and test count

Samir Hossains7ef1d086917c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6bcb5a7..7840847 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -44,8 +44,24 @@
- **Details footer responsive threshold**: single-row footer breakpoint adjusted to
86 columns in sync with mouse hit-testing, preventing button clipping on 70–85
column viewports.
+- **`f` and `*` favoriting parity**: pressing `f`, `F`, or `*` on Home search results
+ or the Favorites landing row now toggles favorite status, matching Details.
+- **Streamlined `/toggle-*` slash commands**: consolidated paired `/enable-*` and
+ `/disable-*` commands into 4 primary toggles (`/toggle-tv`, `/toggle-addons`,
+ `/toggle-bdix`, `/toggle-streaming`) with backward-compatible aliases.
### Fixed
+- **Modal key trapping & isolation**: structural modal gating prevents mode
+ chords (`Ctrl+T`, `Ctrl+A`, `Ctrl+S`, `Ctrl+P`), download cancellation (`x`),
+ and background pane navigation from leaking into open dialogs and inputs.
+- **Modal exact clears**: replaced 3-column halo clear with exact popup bounding box
+ clears, eliminating cutout artifacts on background cards and borders.
+- **Favorites landing navigation**: pressing `Up` from the top favorite item cleanly
+ returns focus to the search bar instead of getting stuck.
+- **Manager shortcut harmonization**: `Space` (toggle) and `Delete` (remove) are now
+ supported across both TV Playlist and Addon managers.
+- **Details synopsis & theme contrast**: synopsis text styled with `theme.subtext1`
+ for crisp readability; Nord overlay ramp and TokyoNight border luminance tuned.
- **DNS resolution on Android/Termux and minimal containers**: Replaced the reqwest
`hickory-dns` feature flag with a custom resolver (`src/net.rs`) that reads the OS
DNS configuration first (`/etc/resolv.conf`, registry on Windows) and falls back to
diff --git a/docs/controls.md b/docs/controls.md
index 84ac62d..5f65e8e 100644
--- a/docs/controls.md
+++ b/docs/controls.md
@@ -27,7 +27,7 @@ MovieBox-TUI is designed for fast keyboard navigation with complete mouse suppor
- **`o`**: Open player selection picker for the current stream.
- **`d`**: Download current episode or full season batch.
- **`r`**: Refresh search results / stream list.
-- **`*`**: Favorite / unfavorite the selected title on the Home screen.
+- **`*` / `f`**: Favorite / unfavorite the selected title on the Home screen.
- **`f`**: Favorite / unfavorite the open title on the Details screen.
- **`/browse`**: Open curated browse categories (Trending, Popular, Top Rated, etc.).
- **`/history`**: Open watch history.
@@ -37,16 +37,16 @@ MovieBox-TUI is designed for fast keyboard navigation with complete mouse suppor
- **`Enter`**: Play selected TV channel immediately.
- **`o`**: Open player selection picker for the channel.
- **`r`**: Reload all active M3U playlist sources.
-- **`/config`**: Open TV Playlist Manager dialog.
+- **`/config`**: Open TV Playlist Manager dialog (`Space` to activate, `Delete`/`d` to remove).
- **`/list`**: Show all loaded channels.
### Addon Mode (HTTP Addons)
-- **`Ctrl+P` / `/config`**: Open Addon Manager dialog.
+- **`Ctrl+P` / `/config`**: Open Addon Manager dialog (`Space` to toggle, `Delete`/`d` to remove).
- **`Enter`**: Select title or play resolved stream.
- **`o`**: Open player selection picker for the stream.
- **`d`**: Download HTTP stream release.
- **`r`**: Refresh addon catalog search results.
-- **`*`**: Favorite / unfavorite the selected title on the Home screen.
+- **`*` / `f`**: Favorite / unfavorite the selected title on the Home screen.
- **`f`**: Favorite / unfavorite the open title on the Details screen.
- **`/browse`**: Browse curated addon catalogs (Top Movies, Top Series, Top Rated).
- **`/favorites`**: Open your starred titles.
@@ -81,14 +81,10 @@ Type these commands directly into the search bar:
| `/clear-cache` | All | Clear temporary cache files |
| `/update` | All | Check if a new release is available on GitHub |
| `/toggle-update` | All | Toggle automatic startup update checks |
-| `/enable-streaming` | All | Enable Streaming Mode navigation in bottom dock |
-| `/disable-streaming` | All | Disable Streaming Mode navigation |
-| `/enable-tv` | All | Enable TV Mode navigation in bottom dock |
-| `/disable-tv` | All | Disable TV Mode navigation |
-| `/enable-addons` | All | Enable Addon Mode navigation in bottom dock |
-| `/disable-addons` | All | Disable Addon Mode navigation |
-| `/enable-bdix` | Streaming | Enable BDIX FTP sources (Bangladesh ISPs only) |
-| `/disable-bdix` | Streaming | Disable BDIX FTP sources |
+| `/toggle-streaming` | All | Toggle Streaming Mode navigation in bottom dock (aliases: `/enable-streaming`, `/disable-streaming`) |
+| `/toggle-tv` | All | Toggle TV Mode navigation in bottom dock (aliases: `/enable-tv`, `/disable-tv`) |
+| `/toggle-addons` | All | Toggle Addon Mode navigation in bottom dock (aliases: `/enable-addons`, `/disable-addons`) |
+| `/toggle-bdix` | Streaming | Toggle BDIX FTP sources (aliases: `/enable-bdix`, `/disable-bdix`) |
| `/probe` | All | Re-run terminal graphics detection and report the result |
| `/github` | All | Open the project repository |
diff --git a/docs/known-issues.md b/docs/known-issues.md
index 8ef9a1a..44691c0 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 204 unit and integration tests across 16 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 207 unit and integration tests across 16 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/src/tui/screens/help.rs b/src/tui/screens/help.rs
index 4febc55..4697060 100644
--- a/src/tui/screens/help.rs
+++ b/src/tui/screens/help.rs
@@ -128,7 +128,7 @@ pub fn draw(frame: &mut Frame, area: Rect, state: &AppState, theme: &Theme) {
Span::styled("Download Video Stream", theme.text),
]));
help_text.push(Line::from(vec![
- Span::styled(" [*] ", theme.header),
+ Span::styled(" [*] / [f] ", theme.header),
Span::styled("Favorite / Unfavorite (Home)", theme.text),
]));
help_text.push(Line::from(vec![
@@ -180,7 +180,7 @@ pub fn draw(frame: &mut Frame, area: Rect, state: &AppState, theme: &Theme) {
Span::styled("Download Episode / Season Batch", theme.text),
]));
help_text.push(Line::from(vec![
- Span::styled(" [*] ", theme.header),
+ Span::styled(" [*] / [f] ", theme.header),
Span::styled("Favorite / Unfavorite (Home)", theme.text),
]));
help_text.push(Line::from(vec![
@@ -233,12 +233,8 @@ pub fn draw(frame: &mut Frame, area: Rect, state: &AppState, theme: &Theme) {
]));
if !state.is_tv_mode && !state.is_addon_mode {
help_text.push(Line::from(vec![
- Span::styled(" /enable-bdix ", theme.header),
- Span::styled("Enable BDIX FTP Providers", theme.text),
- ]));
- help_text.push(Line::from(vec![
- Span::styled(" /disable-bdix ", theme.header),
- Span::styled("Disable BDIX FTP Providers", theme.text),
+ Span::styled(" /toggle-bdix ", theme.header),
+ Span::styled("Toggle BDIX FTP Providers", theme.text),
]));
}
help_text.push(Line::from(vec![