You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Admin > Media opens on thumbnails (it opened on the list); the list is one click away and is remembered for the visit. A file is a tile: its picture, name, size, date, and a dot that says whether it is used (Used in 2 places, which opens the pages, or Unused); a kind of file with no picture has an icon in its colour. On hover a tile has a checkbox, a button to copy its address and one to open it
A click on a file opens its details in a window, instead of a form of its own under every file: a large preview, name and kind, its address with Copy and Open, the alt text and tags to edit, where it is used, and Delete this file (it still asks first, and names the places when the file is in use). The same window opens from the list. The page is much lighter and calmer, with no alt and tag boxes repeated for every file
One bar to find files: the kinds (All, Image, Document…), a search, Any / In use / Unused with how many are unused, a tag list, and thumbnails or list. The filter panel and the Filter button are gone, and Clear filters appears when a filter is on. Under the files: how many are shown, Per page and the pages. A select all box sits above the files, and choosing files shows a bar to tag or delete them together (All N of this list applies it to the whole list)
The upload line is tidier (a drop target with an icon, the chosen file names, tags and Upload) and the page is a lighter one: the script moved out of the template to admin-media.js. Nothing about how files are stored, tagged or deleted changed
Tests: a new tests/http/media_test.py (thumbnails by default, the tile, the details and what they carry, saving them, the list and its memory, search, tags and kinds, deleting from the details), the other media tests follow the new screen, and the unit test follows the new default view. The full suite and CI were not run