Add site-wide media grid with combined filters and shared path bar
DC CMS qualification / qualify (push) Successful in 1m46s
DC CMS qualification / qualify (push) Successful in 1m46s
This commit is contained in:
@@ -125,3 +125,19 @@ model save/render/publish flow; no carousel-specific CMS state or new CSS is
|
||||
introduced. Mission Core uses this for its per-carousel image-opening setting.
|
||||
Local UI acceptance: toggle on → Save → reload retains true, toggle off → Save
|
||||
removes the image links while preserving the other carousels.
|
||||
|
||||
## File manager window and navigation
|
||||
|
||||
The ui-dom package is pinned separately at `1326ec6` (`modal.2` archive) in
|
||||
`ui/design-system.lock.json`; the existing Mission Core palette and other
|
||||
packages keep their original pinned versions. CMS consumes the shared
|
||||
`createModalSizeController` and `renderPathBar` exports, including the package's
|
||||
path-bar stylesheet. The application adapter supplies site paths, standard
|
||||
Icon templates and navigation callbacks. It does not copy either component.
|
||||
Window geometry and appearance persist in the authenticated user's server-side
|
||||
GUI metadata. File type controls reuse IconButton, support combined selection,
|
||||
and switch between the site's flat asset index and existing folder browser.
|
||||
|
||||
Acceptance: mixed image/video/3D filtering, deep-folder search and path navigation,
|
||||
isolation between two sites, 390 px layout, resize/reopen/reload and theme
|
||||
persistence. Source tests cover the flat index's site boundary and exclusions.
|
||||
|
||||
@@ -49,6 +49,15 @@ runtime-зависимостей. Лимит — 2 ГБ и 60 000 файлов.
|
||||
в этом режиме не подставляют файл в открытое поле и не меняют черновик страницы.
|
||||
Загрузки без привязки к полю сохраняются в `assets/uploads/media/library`.
|
||||
|
||||
Менеджер из шапки открывается общей сеткой файлов из всех вложенных каталогов
|
||||
`assets`. Фильтры-иконки изображений, видео и 3D можно сочетать; «Все» сбрасывает
|
||||
выбор типов. Поиск проверяет имя и полный путь. Справа переключается общий
|
||||
список и просмотр папок. Нижняя строка пути использует общий `renderPathBar`:
|
||||
нейтральные иконки папок, компактные названия и переход по любому каталогу.
|
||||
Выбор файла показывает его полный путь, исходное имя и кнопку скачивания.
|
||||
Индекс исключает скрытые/служебные каталоги и символические ссылки, не выходит
|
||||
за пределы выбранного сайта. Обычный picker сохраняет ограничение типа поля.
|
||||
|
||||
После выбора файла кнопка «Скачать» передаёт его исходные байты и имя через
|
||||
авторизованный `GET /s/<site-id>/api/media/download?path=assets/...`.
|
||||
Видео передаются потоком без сборки ZIP и без загрузки целого файла в память
|
||||
|
||||
Reference in New Issue
Block a user