player,ui: Fix the remote-blocking bugs from the Claude UX run
Claude Code drove the emulator through the TESTS.md checklist (reports/ux-2026-10-10.md) and found the release blockers. Fixes: player ignores the D-pad after controller auto-hide (BUG-2, focus + key forwarding: CENTER play/pause, LEFT/RIGHT seek, others show controls), Channels 404 for email logins (BUG-1, authenticate the users/me call at login), focus + history lost after BACK (BUG-3/7, restore token re-focuses the opened card and History/Continue watching refresh), Home rows clipped below 1080px (BUG-4, scrollable LazyColumn), text-field D-pad focus traps (BUG-5, IME actions + key escapes), Continue watching started at 0:00 and overwrote server position (BUG-6, resume from userHistory + persist on exit), leaked report timer (BUG-8), token sent to third-party media hosts (BUG-9, ResolvingDataSource appends videoFileToken per request, Bearer only for instance host), player error Retry (BUG-10), raw error strings (BUG-13), y-ago format bug (BUG-14), sign-out double press (BUG-15), T18 expectation corrected (server omits private videos from history). Verified on emuluator: CENTER pauses + shows controller; BACK returns to refreshed Continue watching with progress bars.
This commit is contained in:
parent
43056065e1
commit
9d89c1c060
11 changed files with 411 additions and 117 deletions
2
TESTS.md
2
TESTS.md
|
|
@ -71,7 +71,7 @@ APK version + device.
|
|||
- [ ] T17 Click remote video → plays or fails *gracefully* (a remote video's media is on the remote host; MVP may fail to resolve — must show error toast/message + back, never crash/freeze).
|
||||
|
||||
### 5 — History
|
||||
- [ ] T18 History lists server-side history newest-first, incl. both public and private watched entries.
|
||||
- [ ] T18 History lists server-side history newest-first. NOTE (verified 2026-10-10): PeerTube's history endpoint OMITS private videos — private test entries will not appear; adjust expectations accordingly (app is fine).
|
||||
- [ ] T19 Play an entry to ≥ 20 s, leave (back) → entry is present/updated in history when re-opening the screen (server round-trip within ~1 s; app must not show stale cache as fresh — reload on screen entry).
|
||||
|
||||
### 6 — Playback
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue