Skip to content

kopuz/discover: show the error when a filter chip fails to load - #985

Draft
temidaradev wants to merge 1 commit into
masterfrom
fix-discover-chip-error
Draft

temidaradev wants to merge 1 commit into
masterfrom
fix-discover-chip-error

Conversation

@temidaradev

Copy link
Copy Markdown
Member

Why

Picking a Discover filter chip whose page fails to load keeps the previous chip's content on screen while the new chip shows as selected.

What Changed

A chip whose page fails now shows the error in place of the old content; a failed refresh of the same page still keeps what is on screen. No unit test was added for the chip switch.

Checklist

  • I have read the contribution guidelines.
  • I added tests for behavior that can regress, or explained under What
    Changed why there aren't any.
  • I ran cargo fmt, clippy (debug and release) and the relevant tests.
  • I did not commit screenshots or other media to the repository.
  • A human reviewed every change and can explain it.

Testing

Behavior Linux macOS Windows Android
A filter chip that fails to load shows its error, not another chip's page ❎ ❎ ❎ ❎

Before / After

Change Before After
Discover chip with the source failing

AI Usage

  • I used an LLM to write code or text in this pull request.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
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