Films: Add filter by media type #104430

Merged
Pablo Vazquez merged 1 commits from pablovazquez/blender-studio:film-search-filter-type into main 2024-08-16 10:37:04 +02:00

1 Commits

Author SHA1 Message Date
e2143ee0ee Films: Add filter by media type
Copy over the functionality of filtering by media type from the regular
global search, into film_search.js

Also minor adjustments:
* Add `media_type` label to the details of each card. Ideally we could
  unify it with the way it is done inside the gallery. Like showing a
  Blender logo for blend files, timestamp for videos, etc. For now
  simply show the type in a label.
* Remove "Sort By:" label from the sortby element. It's clear from
  context. We could add a "sort" icon using CSS in the future.
* Make all inputs full size. "input-sm" looks weird and it's not needed.
* Move "cancel/clear" button after search. It's not the primary function
  so it shouldn't be right next to the text field.
2024-08-15 15:54:56 +02:00