Skip to content

feat(maintenance): Media Library box and icon-only back to top button - #181

Merged
gioxx merged 31 commits into
mainfrom
feat/media-library-maintenance-row
Nov 10, 2026
Merged

gioxx merged 31 commits into
mainfrom
feat/media-library-maintenance-row

Conversation

@gioxx

@gioxx gioxx commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #180.

What changes

Media Library box in Maintenance

  • Customize > Maintenance: the app icon cache row is split in two half-width boxes. Left: app icon cache (stats line and Clean icon cache). Right: Media Library, with a short description, its own stats line (N files · size · N orphans, counting every file on disk, identical uploads included) and an Open media library button. It replaces the small link that sat in the icon cache stats line.
  • GET /api/branding/cache also returns mediaLibrary: the summary that the Media Library page already computes, plus new totalFiles and totalBytes. "Orphans" are library entries whose file is missing on disk, the same as the library's orphan filter. The library is not added to the overall totalBytes, because its app icons live in the icon cache folder and are already counted there.
  • i18n: customization.maintenance.mediaLibraryTitle and mediaLibraryHelp (en, it).

Back to top button

  • The floating button shows only the arrow. "Top" stays as its tooltip and accessible name.

Testing

  • npm test (284 pass, with a new summary.totalBytes check in test/mediaAssets.test.js), npm run lint, check:i18n and vite build pass.
  • Checked in a local install: both boxes are the same size side by side and stack on narrow screens; the stats line matches the API; the Top button shows the tooltip on hover.

gioxx added 24 commits November 9, 2026 10:28
The column picker moves next to the pager, above and below the table.

Refs #166
Also memoizes the Users rows and makes the awaiting-first-sign-in shortcut keep the other column filters.
- The audit and plugin audit admin checklists list the actors found in the period (facets.actors), so removed users and system actors can be kept or left out.
- % and _ in searches and contains filters are matched literally.
- The skeleton replaces the table only before the first answer, so an open filter keeps its focus.
- Facets are requested only when the period or event scope changes.
…e-row

Also counts every Media Library file on disk (identical uploads included) in the Maintenance stats, mentions logos in the box help and documents the new mediaLibrary field in the CHANGELOG.
@gioxx
gioxx changed the base branch from feat/logs-datatable to main November 10, 2026 11:33
@gioxx
gioxx merged commit 1329e82 into main Nov 10, 2026
5 checks passed
gioxx added a commit that referenced this pull request Nov 10, 2026
@gioxx
gioxx deleted the feat/media-library-maintenance-row branch November 10, 2026 11:34
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