Skip to main content

populate_explore

Function populate_explore 

Source
pub fn populate_explore<F>(
    parts: &ExploreViewParts,
    ctx: Arc<AppContext>,
    sections: Vec<ExploreSection>,
    on_click: F,
)
where F: Fn(&str, String, String) + 'static,
Expand description

Populate explore sections: Things tiles + Recently Added tiles.

Sections by field_name:

  • exifInfo.city – skipped (populated by populate_places)
  • createdAt – rendered as “Recently Added” tiles
  • smartInfo.objects/tags – rendered as “Things” tiles