docs: parity verdicts + shared add-to decision entry + spa-conventions §5c (#208 #209)
Build ErsatzTV Image / Build & test (.NET) (pull_request) Failing after 3m15s
Build ErsatzTV Image / Docs update reminder (pull_request) Successful in 11s
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (pull_request) Successful in 9m29s
Build ErsatzTV Image / Build & push image (amd64) (pull_request) Has been skipped
Build ErsatzTV Image / Build & test (.NET) (pull_request) Failing after 3m15s
Build ErsatzTV Image / Docs update reminder (pull_request) Successful in 11s
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (pull_request) Successful in 9m29s
Build ErsatzTV Image / Build & push image (amd64) (pull_request) Has been skipped
This commit is contained in:
@@ -64,9 +64,9 @@ redirect).
|
||||
> | Collections | PARITY-OK (custom-order endpoint + reorder UI, all-10-kind add picker, 2026-07-09) | — |
|
||||
> | Channel editor | GAPS (external logo URL, bare create, pickers) | #212 |
|
||||
> | Channels-numbers / Logs | PARITY-OK / minors | #213 |
|
||||
> | Search | GAPS SEVERE (display-only, no mutations) | **#208** |
|
||||
> | Search | PARITY-OK (card nav, per-card/multi-select add-to, add-all, save-as-smart-collection, 2026-07-10) | — |
|
||||
> | Media browse/detail (read paths + image browser) | PARITY-OK | — |
|
||||
> | Media browse/detail (mutations, per-show scan, episode info/troubleshoot) | GAPS | **#209** |
|
||||
> | Media browse/detail (mutations, per-show scan, episode info/troubleshoot) | PARITY-OK (shared Add-to layer + scan/info/troubleshoot wired, 2026-07-10) | — |
|
||||
> | Schedules editors | **disproven — moved to Section 3** | **#207** |
|
||||
> | Media sources | **disproven — moved to Section 3** | **#202** |
|
||||
>
|
||||
@@ -91,7 +91,7 @@ been added to the redirect map yet.
|
||||
| `/system/troubleshooting` | `Troubleshooting/Troubleshooting.razor` | `/app/troubleshooting` | |
|
||||
| `/system/troubleshooting/block-playout` | `Troubleshooting/BlockPlayoutTroubleshooting.razor` (+`BlockPlayoutHistory.razor`) | `/app/troubleshooting/blocks` | **covered by PR #182 / #145** |
|
||||
| `/system/troubleshooting/sequential-schedule` | `Troubleshooting/YamlValidator.razor` | `/app/troubleshooting/yaml` | **covered by PR #182 / #145** |
|
||||
| `/system/troubleshooting/playback` | `Troubleshooting/PlaybackTroubleshooting.razor` | `/app/troubleshooting/playback` | **covered by #145** — no nav entry; entry points are the Channels table Troubleshoot action (`?channel={id}`) and the movie detail page (`?mediaItem={id}`) only for now — other media kinds (episodes, music videos, …) need a hand-built `?mediaItem={id}` URL |
|
||||
| `/system/troubleshooting/playback` | `Troubleshooting/PlaybackTroubleshooting.razor` | `/app/troubleshooting/playback` | **covered by #145** — no nav entry; entry points are the Channels table Troubleshoot action (`?channel={id}`) the movie detail page, and per-episode Troubleshoot actions on season detail pages (`?mediaItem={id}`, #209) — remaining kinds (music videos, songs, …) still need a hand-built `?mediaItem={id}` URL |
|
||||
| `/blocks`, `/blocks/{Id:int}` | `Blocks.razor`, `BlockEditor.razor` | `/app/blocks`(`/{id}`) | allowSubPaths; #144 S1 |
|
||||
| `/templates`, `/templates/{Id:int}` | `Templates.razor`, `TemplateEditor.razor` | `/app/templates`(`/{id}`) | allowSubPaths; #144 S2 |
|
||||
| `/decos`, `/decos/{Id:int}` | `Decos.razor`, `DecoEditor.razor` | `/app/decos`(`/{id}`) | allowSubPaths; #144 S3 |
|
||||
@@ -180,13 +180,18 @@ REST endpoints exist and are unused; only item delete/reorder and the schedule s
|
||||
|
||||
### Remaining mutation-depth gaps inside Section 2 rows
|
||||
|
||||
Tracked as #91 phase (b) gates without moving whole rows: **#208** (search screen mutations),
|
||||
**#209** (media browse/detail mutations + per-show scan + episode info/troubleshoot entries);
|
||||
SHOULD-FIX: #212 (channel editor), #213 (remaining nits: logs sort + page-size persistence,
|
||||
block-history page-size/gating, blocks/templates list filter — all read-only conveniences).
|
||||
Tracked as #91 phase (b) gates without moving whole rows — SHOULD-FIX: #212 (channel editor),
|
||||
#213 (remaining nits: logs sort + page-size persistence, block-history page-size/gating,
|
||||
blocks/templates list filter — all read-only conveniences).
|
||||
CLOSED 2026-07-09: **#210** (playout delete/reset/erase/scheduling-context + preview calendar)
|
||||
and **#211** (collection custom order + all-kind add picker); the block/watermark copy, trash
|
||||
select-all, and Trakt-note items of #213 landed in the same PR.
|
||||
CLOSED 2026-07-10: **#208** (search mutations: card drill-in, per-card + multi-select add-to,
|
||||
query-wide Add All via `GET /api/search/all-items`, Save As Smart Collection) and **#209**
|
||||
(media browse/detail: shared Add-to layer `web/src/media/addTo/` on tiles + all four detail
|
||||
pages + child grids, per-show Quick/Deep scan gated to Plex/Jellyfin/Emby, per-episode Media
|
||||
Info + Troubleshoot entries; `POST /api/playlists/{id}/items` added). Known accepted deviations
|
||||
(select-mode toggle, per-card target superset) recorded in `docs/decisions.md`.
|
||||
|
||||
## Section 4 — Blazor home / escape hatch
|
||||
|
||||
|
||||
@@ -201,3 +201,22 @@ array position — submitting a partial page would scramble the rest), and does
|
||||
the movies-only gate: the API and the playback-side `CustomOrderCollectionEnumerator` sort by
|
||||
`CustomIndex` regardless of item kind, so the SPA offers reorder for any manual collection with
|
||||
custom order enabled. Issue #211.
|
||||
|
||||
## 2026-07-10 — Shared "Add to…" layer lives in `web/src/media/addTo/`; select-mode is an explicit toggle
|
||||
|
||||
The media mutation surface (#208/#209) is built on one reusable component group,
|
||||
`web/src/media/addTo/` (media-domain components, like `MediaPosterCard` — not generic
|
||||
`components/`): `AddToCollectionDialog` (existing-collection Select + inline "(New collection)"
|
||||
create, Blazor `AddToCollectionDialog.razor` parity), `AddToPlaylistDialog` (group → playlist
|
||||
Selects, no inline create), `AddToScheduleDialog` (schedule Select; payload replicates Blazor's
|
||||
`AddProgramScheduleItem.ForMediaItem` defaults — see `addTo/scheduleItem.ts`),
|
||||
`SaveAsSmartCollectionDialog`, and `AddToMenu` (the drop-in popover for cards/detail pages via
|
||||
`MediaPosterCard`'s `actions` slot). New screens wanting add-to affordances use this layer —
|
||||
don't build screen-local pickers. Two deliberate deviations from Blazor, applied consistently on
|
||||
the search and browse screens: **(1) multi-select is an explicit screen-level "Select" toggle**
|
||||
(off = cards open, on = cards select) rather than Blazor's always-on corner-select, because
|
||||
`MediaPosterCard`'s select handler takes over the card's single click gesture; **(2) the
|
||||
per-card menu offers collection/playlist/schedule for a single item** — a superset of Blazor's
|
||||
per-card collection-only menu. "Add All" (query-wide) mirrors Blazor's two-step: materialize ids
|
||||
via `GET /api/search/all-items`, then reuse the id-list add endpoints — no query-based add
|
||||
command exists server-side. Issues #208/#209.
|
||||
|
||||
@@ -109,6 +109,15 @@ manifest. **In tests, mock `hls.js` wholesale** (`vi.mock('hls.js', …)` with a
|
||||
touches a real `MediaSource`; assert the manifest URL via the mocked `loadSource` spy (see
|
||||
`PlaybackTroubleshootingScreen.test.tsx`).
|
||||
|
||||
## 5c. Media "Add to…" affordances
|
||||
|
||||
Screens that let the user add media items to a collection/playlist/schedule use the shared layer in
|
||||
`web/src/media/addTo/` — `AddToMenu` (popover for a `MediaPosterCard` `actions` slot or a detail
|
||||
page's action row) and the `AddToCollectionDialog` / `AddToPlaylistDialog` / `AddToScheduleDialog` /
|
||||
`SaveAsSmartCollectionDialog` it drives. Do **not** build screen-local target pickers. Multi-select
|
||||
on grid screens is an explicit "Select" toggle (see `docs/decisions.md` 2026-07-10 for the rationale
|
||||
and the accepted deviations from Blazor).
|
||||
|
||||
## 6. Tests
|
||||
|
||||
- **vitest**, colocated `*.test.ts` / `*.test.tsx` next to the source file.
|
||||
|
||||
Reference in New Issue
Block a user