Add comments about (Typed)GridView to media grids

This commit is contained in:
Reinout Meliesie 2026-01-22 15:42:32 +01:00
commit 2c2afb4b33
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
2 changed files with 6 additions and 0 deletions

View file

@ -40,6 +40,9 @@ impl Component for FilmGrid {
set_propagate_natural_height: true,
#[name="grid"]
// TODO: Replace this with a GridView.
// Once this is done we can replace the factory with a TypedGridView for better performance
// (i.e. lazy item rendering) if needed. This should also enable less cursed sorting.
FlowBox {
set_orientation: Orientation::Horizontal,
set_homogeneous: true,

View file

@ -40,6 +40,9 @@ impl Component for SeriesGrid {
set_propagate_natural_height: true,
#[name="grid"]
// TODO: Replace this with a GridView.
// Once this is done we can replace the factory with a TypedGridView for better performance
// (i.e. lazy item rendering) if needed. This should also enable less cursed sorting.
FlowBox {
set_orientation: Orientation::Horizontal,
set_homogeneous: true,