player: wire the D-pad through the action row, panels and playlist deletion
The action-row buttons lost their modifier in the icon-only rework and
became unfocusable, so D-pad DOWN off the paused seek bar landed nowhere
(requestFocus failed with "not initialized"). The modifier is attached
to the button again and the seek bar ↔ buttons directions are wired
explicitly, because the default focus search skips the bar.
Pill visuals use the new state language: no border, gray pill = focused,
red glyph = subscribed/rated; the sidebar panels keep the D-pad inside
their lists (consumed at the edges). BACK/Esc acts on ACTION_DOWN only —
its trailing UP saw the panel already closed and exited the video — and
panels return focus to the pill that opened them.
Playlist deletion is a requested scope addition: holding OK on a row
asks via a dialog (DELETE /video-playlists/{id}); the toggle moves to
key release so the hold cannot double-act. Holding also exposed an
activation bug: the CENTER helper consumed only ACTION_DOWN and the
release leaked into the underlying clickable — now consumed, repeats
swallowed, so Create (and the cards) fire exactly once per press.
An info panel shows the video description with clickable links: inline
(pointer) plus a focusable link row list (D-pad); PeerTube video and
channel links play/drill in-app, other links open the browser.
Closes #12
This commit is contained in:
parent
c70d98ac64
commit
f5b37dd21d
7 changed files with 498 additions and 112 deletions
|
|
@ -77,4 +77,9 @@ focus colors, always-focusable Sign in with inline validation. Deferred from rev
|
|||
- Comments viewing (read-only) — needs moderation-safe UI thinking.
|
||||
- `BACKLOG` triage rhythm: keep "Next up" ≤ 8 items.
|
||||
- Out of scope by user request (do not implement without asking): uploading, editing,
|
||||
subscribing/unsubscribing, deleting, creating channels/users/playlists.
|
||||
creating channels/users. (Stale members of this list — subscribing, playlists
|
||||
viewing/creation and rating — shipped with the player action row in v0.1; playlist
|
||||
deletion was requested and added later, see below.)
|
||||
- Delete own playlist: long-press OK on a playlist row (key-repeat) → confirmation
|
||||
dialog → `DELETE /api/v1/video-playlists/{id}`; toggle stays on short press. Requested
|
||||
2026-10-13.
|
||||
Loading…
Add table
Add a link
Reference in a new issue