Expand description
Dedicated search view for the library sidebar.
The search form is a persistent Revealer that sits above the
content_stack. When search is active the form stays visible and
results render in the normal masonry grid below it. This avoids
the “search bar disappears” problem while keeping a single grid
renderer.
Structs§
- Search
View Parts - UI widgets for the dedicated search form.
Functions§
- build_
action_ 🔒row - build_
filter_ 🔒panel - Assemble all filter groups into a revealer.
- build_
search_ 🔒bar - build_
search_ view - Build the search form widget tree.
- clear_
all_ filters - Reset all filter widgets to their default (empty) state.
- collect_
filters - Collect all filter widget values into a
MetadataSearchFilters. - connect_
filter_ 🔒toggle - Wire the toggle button to show/hide the filters revealer.
- normalise_
iso_ date - Normalise a user-entered date to ISO 8601 UTC. Accepts bare YYYY-MM-DD or full RFC 3339.
- opt_
string - Convert a non-empty trimmed string to
Some, otherwiseNone. - opt_
true 🔒 - wrap_
in_ 🔒scrolled_ revealer