Skip to content

Fix home feed loading and refresh stability - #643

Merged
Sahank29 merged 1 commit into
mainfrom
codex/stabilize-home-feed
Nov 15, 2026
Merged

Sahank29 merged 1 commit into
mainfrom
codex/stabilize-home-feed

Conversation

@Sahank29

Copy link
Copy Markdown
Contributor

The home feed could remain on a loading indicator while secondary requests finished, and sections shifted as results arrived or disappeared. Load the first shelves earlier, keep visible section positions stable, and show an unavailable state when the latest refresh no longer includes a section instead of presenting retained recommendations as fresh.

  • Build feed data off the UI thread, run album lookups in parallel, and cancel timed-out discovery work.
  • Keep refresh and pagination in sync with the stable section order; update retained shelves in place when a fresh continuation page returns them.
  • Preserve the latest response separately from the layout snapshot so playback and visible recommendations use current results.

Testing

  • :app:testDebugUnitTest — focused feed repository, ordering, pagination, and discovery tests (39 passed).
  • :app:connectedDebugAndroidTest — StableFeedSectionTest on an OPD2403 tablet running Android 16 (passed).

@Sahank29
Sahank29 merged commit cfdd23d into main Nov 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant