mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
The mobile Home tab caches favorites and non-trashed documents in a revision-keyed model. Warm frames reuse this cache without cloning document records. The Home document list mounts only visible rows plus overscan with exact spacers. Fixed row heights and line clamping keep list coordinates deterministic across deep scrolls and long previews. Home geometry includes the empty favorites section header height across all viewport sizes. The Home view clamps scroll offsets before rendering, and workspace switches reset Home and Search scroll offsets to zero. The accessibility tree reads the cached Home model and visible window without mutating scroll state. Scale tests verify fixed row geometry, bottom reachability without favorites, and bounded row counts.