Repository navigation
feat(maintenance): Media Library box and icon-only back to top button - #181
Merged
Merged
Conversation
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.
# Conflicts: # CHANGELOG.md
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #180.
What changes
Media Library box in Maintenance
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/cachealso returnsmediaLibrary: the summary that the Media Library page already computes, plus newtotalFilesandtotalBytes. "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 overalltotalBytes, because its app icons live in the icon cache folder and are already counted there.customization.maintenance.mediaLibraryTitleandmediaLibraryHelp(en, it).Back to top button
Testing
npm test(284 pass, with a newsummary.totalBytescheck intest/mediaAssets.test.js),npm run lint,check:i18nandvite buildpass.