Expand description
Sectioned landing page mirroring Immich webβs Explore tab.
Four rows: People (round avatars), Recently Added (date tiles),
Places (city tiles), Things (tag tiles). Tile clicks invoke
caller-provided closures so dispatch lives in mod.rs.
StructsΒ§
- Explore
View Parts - Contains references to individual grid widgets of the explore tab dashboard display.
ConstantsΒ§
- INITIAL_
TILE_ πCOUNT - RECENTS_
EXPANDED_ πCOUNT
FunctionsΒ§
- append_
action_ πbutton - append_
see_ πmore_ button - Append a card-sized βSee Moreβ tile to a FlowBox grid.
- append_
show_ πless_ button - Append a card-sized βShow Lessβ tile to collapse an expanded section.
- build_
explore_ view - Construct the hierarchical panels and containers for the explore dashboard view.
- build_
people_ πsection - Build a horizontal scrolled gallery row dedicated to recognized people circles.
- build_
tile_ πsection - Build a flow grid section mapping image tiles for Places or Things category.
- clone_
parts_ πhandles - Build a lightweight
ExploreViewPartssnapshot containing only the widget/handle references render_people needs, sharing the sameRcdata with the original. - compute_
epoch_ πseconds - explore_
tile π - Construct a rectangular tile representation for a specific explore category node.
- format_
relative_ πdate - Format an ISO 8601 timestamp into a human-readable relative label.
- has_
cached_ places - Check if places are already cached and render them without fetching.
- heading π
- Helper to create a styled section heading label.
- parse_
iso_ πdate - person_
tile π - Construct an individual circular avatar widget representing a recognized person face.
- populate_
explore - Populate explore sections: Things tiles + Recently Added tiles.
- populate_
people - Populate the round avatar buttons for recognized people in the dashboard section.
- populate_
places - Populate the city tiles representing locations in the places dashboard section.
- render_
cached_ places - Re-render places from cache (used when navigating back to explore).
- render_
people π - render_
places π - render_
places_ πfiltered - Re-render the places section applying the current search query.
- render_
recents_ πtiles - Render recently-added tiles into the recents grid.
- set_
people_ search - Apply (or clear) the search filter on the people row. Pass an empty string to disable filtering. Caller drives this from the header-bar search entry when the Explore view is the active content stack child.
- show_
loading - Reveal each section with its spinner active, so the user gets immediate
visual feedback that data is on the way. Each
populate_*call clears its own spinner when results arrive. - spawn_
asset_ πthumbnail - Helper to asynchronously request and bind an asset cover art thumbnail image.
- spawn_
person_ πthumbnail - Helper to asynchronously request and render a round avatar person face thumbnail.
- stop_
spinner π - wire_
people_ filter - Wire the filter MenuButton popover. Called once after the explore view is built.
on_changeis invoked when a toggle flips so the caller can re-fetch with a differentinclude_hiddenflag if needed.
Type AliasesΒ§
- Explore
Click π - Person
Click π