Move common filters to the bar and keep the drawer for advanced ones

This commit is contained in:
Fisto
2026-09-17 08:22:32 +02:00
parent f5f3196382
commit 42b4bfd231
5 changed files with 134 additions and 129 deletions
+6 -6
View File
@@ -126,12 +126,12 @@ box live in Chat, not Call, and the connection stats are not chips yet.
is visible, stay on screen). Settings slides over the media view, and dialogs that Settings
opens (for example **Clean media…**) render above Settings. Mobile is out of scope for the media
feature.
- Media lists scraped items. Filters live in an **Advanced search** drawer and do not apply until
**Apply filters** is pressed: filetype chips, source kind (attachments/stickers/embeds), origin
(server channels or DMs), a multi-select **People** list, and an **Advanced** section with aspect
ratio, resolution, source channel, posted-date range, and **Show only cached previews**.
**Reset** clears every filter and the zoom, unloads the grid, and brings back the initial
Load media prompt.
- Media lists scraped items. The bar shows the common filters: filetype chips, source kind
(attachments/stickers/embeds), origin (server channels or DMs), and a multi-select **People**
popover. The **Advanced search** drawer holds aspect ratio, resolution, source channel,
posted-date range, and **Show only cached previews**, plus the card-size slider. Filters do not
apply until **Apply filters** is pressed; **Reset** clears every filter and the zoom, unloads the
grid, and brings back the initial Load media prompt.
- A **Card size** slider scales tiles from two-thirds of the old size up to one image per row; the
page size follows the layout — full rows about 1.5 screens tall — and the grid infinite-scrolls,
preloading the next page's JSON and preview images just before they are needed.