Skip to content

fix(home): Live chip shows streams for a viewer with no interests - #1461

Merged
A-EDev merged 1 commit into
Flow-Tube:mainfrom
Chiehx0220:fix/live-chip-no-interests
Oct 27, 2026
Merged

A-EDev merged 1 commit into
Flow-Tube:mainfrom
Chiehx0220:fix/live-chip-no-interests

Conversation

@Chiehx0220

@Chiehx0220 Chiehx0220 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The Live chip on Home built its search queries from the viewer's interests. With no interests the query list was empty, so no search ran, the chip came back empty and Home hid it.

  • liveQueries(interests) keeps the top-interest queries and falls back to a generic live query when there are none.
  • HomeChipFeeds.live() uses it. Behavior with interests is unchanged.

Related issue

Closes #1459

Change type

  • Bug fix
  • Feature
  • Refactor or maintenance
  • Build, packaging, or CI
  • Documentation

Validation

  • ./gradlew :app:assembleGithubDebug
  • ./gradlew :app:testGithubDebugUnitTest — not run in full on this commit; ran --tests '*HomeChipPoliciesTest' (2 new tests for liveQueries) and it passed
  • ./gradlew spotlessCheck and python3 .github/scripts/nightly_notes.py --check pass
  • I manually tested the affected behavior on an Android device or emulator.

Test device and Android version: Google Pixel 6, Android 16 (API 36). Fresh app data, onboarding skipped with 0 interests, then the Live chip: empty on bad74d4e4, shows live streams with this change.

Screenshots or recordings

Before and after screenshots below.
en_before
en_after

Risk and compatibility

No database, preference, permission or background-work change. One extra generic search on the Live chip only when the viewer has no interests.

  • The change does not introduce secrets, private data, or unexpected telemetry.
  • New user-facing text uses Android string resources. (No new text.)
  • Dependency and lockfile changes are intentional and limited to this PR. (None.)
  • Room schema changes include the required version bump and migration, or this PR does not change the Room schema. (No schema change.)
  • Breaking changes and upgrade steps are clearly documented. (None.)

- the Live chip searched only the viewer's top interests, so with none it
  searched nothing and came back empty, then hid itself
- fall back to a plain "live" search; interest searches are unchanged
@Chiehx0220
Chiehx0220 requested a review from A-EDev as a code owner October 27, 2026 09:14
@github-actions github-actions Bot added documentation Improvements or additions to documentation ui Compose UI, theming, or Material 3 surfaces labels Oct 27, 2026
@A-EDev
A-EDev merged commit c53526a into Flow-Tube:main Oct 27, 2026
9 checks passed
@Chiehx0220
Chiehx0220 deleted the fix/live-chip-no-interests branch October 27, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ui Compose UI, theming, or Material 3 surfaces

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Live chip on Home is empty and then disappears when there are no interests

2 participants