Skip to content

feat: show where to clean up deleted and missing videos - #952

Merged
dialmaster merged 3 commits into
devfrom
feat/670-deleted-and-missing-video-handling
Oct 20, 2026
Merged

dialmaster merged 3 commits into
devfrom
feat/670-deleted-and-missing-video-handling

Conversation

@dialmaster

@dialmaster dialmaster commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #950. Once videos were hidden as deleted or marked missing, the Videos page didn't say where to go to clean them up, and a missing file's path was buried in the middle of a sentence in a narrow tooltip.

  • The "N deleted videos hidden" note now has a Clean up link next to Show, plus an info icon explaining that deleted videos stay in the library so they can be re-downloaded. On wide screens it sits on the same line as the Library heading instead of taking a line of its own; on phones it stays underneath.
  • When the Missing or Deleted filter is showing only those videos, a line under the filters says what to do next: select them and choose Mark as deleted, mark them all in Maintenance, or empty the trash in Maintenance. Each link opens Settings > Maintenance scrolled to the "Deleted and missing videos" card.
  • Missing-file tooltips put the path on its own line in a monospace box, and the tooltip is a bit wider so the path wraps less. This applies everywhere the chip shows up: the Videos page, channel pages, playlist pages, and Download History. The video modal keeps the plain sentence.
  • The Filters and Sort buttons (and the channel filter button inside the filter panel) had hover text that was nearly the same color as the hover background in some themes, like Bold Flat light and Playful dark. They're readable now.
  • On desktop, the active filter chips stayed visible under the open filter panel, so each active filter showed up twice. The chips now only show while the panel is closed. The phone drawer is unchanged.

Once videos are marked deleted or missing, the Videos page hid them
without saying where to clean them up, and a missing file's path was
buried inside a sentence in a narrow tooltip.

- Show "N deleted videos hidden" beside the Library heading on wide
  screens (under it on phones) with Show, Clean up and an explanation,
  and add a line under the Missing or Deleted filter when it isolates
  those videos. Each links to the Maintenance card at
  /settings/maintenance#deleted-and-missing, which the Maintenance
  page now scrolls to.
- Render removed-video tooltips through a shared RemovalDescription
  that sets a missing file's path apart in a monospace pill, with a
  wider tooltip so it wraps less. The video modal keeps the plain
  sentence through the same describeMissing helper.
- Move InfoHint to shared, since the Videos page now uses it too.

Refs: #670
On hover, the Filters button on the Videos page and channel pages
showed its label in nearly the same color as the hover background in
some themes (Bold Flat light, Playful dark), so the text was hard to
read. The Sort button and the channel filter button in the filter
panel used the same hover classes.

Switch them to the Button's neutral outlined
style (color="inherit"), which already uses the foreground color on
hover, and keep only the border highlight as an extra class. The
Filters button still uses the primary fill while filters are active.
On desktop, the active filter chips stayed visible under the open
inline filter panel, so each active filter appeared twice: as an
editable control in the panel and as a summary chip beneath it.

Show the chips only while the inline panel is closed. The mobile
drawer is unchanged: it covers the page, so the chips keep their
place rather than shifting the content behind it when it opens.
@github-actions

Copy link
Copy Markdown
Contributor

📊 Test Coverage Report

Backend Coverage

Type Coverage Status
Lines 91.26% 🟢
Statements 91.13% 🟢
Functions 91.10% 🟢
Branches 85.14% 🟢

Frontend Coverage

Type Coverage Status
Lines 89.65% 🟢
Statements 88.14% 🟢
Functions 81.74% 🟢
Branches 82.73% 🟢

Coverage Requirements

  • Minimum threshold: 70% line coverage
  • Backend: ✅ Passes
  • Frontend: ✅ Passes

Coverage report generated for commit 630c175

@dialmaster dialmaster changed the title Feat/670 deleted and missing video handling feat: show where to clean up deleted and missing videos Oct 20, 2026
@dialmaster
dialmaster merged commit cd324f9 into dev Oct 20, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant