Skip to content

feat: report RSS refresh failures from the settled feed state - #28

Merged
kxxoling merged 1 commit into
mainfrom
feat/rss-refresh-errors
Oct 20, 2026
Merged

kxxoling merged 1 commit into
mainfrom
feat/rss-refresh-errors

Conversation

@kxxoling

@kxxoling kxxoling commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

qBT's refreshItem is fire-and-forget — the old flow could toast success
from a snapshot that predated the server applying the refresh.

  • A feed only counts as settled once it was observed loading (or after a
    grace period); vanished feeds and rejected POSTs count as failures too.
  • Every refresh opens a spinner toast immediately (toast.loading) that
    swaps in place for the outcome once polling settles.
  • hasError carries no reason, so failures are plain: single refresh →
    "Refresh failed"; refresh-all → one "{name} failed to refresh" toast
    per failed feed.
  • The feed tree marks hasError rows persistently, like the official UI.

@kxxoling
kxxoling force-pushed the feat/rss-refresh-errors branch 4 times, most recently from 5d9bc50 to 3199105 Compare October 20, 2026 01:48
qBT's refreshItem is fire-and-forget, so the old flow could toast success
from a snapshot that predated the server applying the refresh. Now a feed
only counts as settled once it was observed loading (or after a grace
period), and vanished feeds / rejected POSTs count as failures too.

Feedback is immediate: every refresh starts a spinner toast (sonner's
toast.loading) that swaps in place for the outcome once the poll loop
settles — single refresh resolves it to Refreshed / Refresh failed, and
refresh-all resolves it to Refreshed or dismisses it in favor of one
error toast per failed feed ("{name} failed to refresh"), since hasError
carries no reason. The feed tree also marks hasError rows persistently,
like the official UI.
@kxxoling
kxxoling force-pushed the feat/rss-refresh-errors branch from 3199105 to 3122b95 Compare October 20, 2026 01:59
@kxxoling kxxoling changed the title feat: report RSS refresh failures with the server-side reason feat: report RSS refresh failures from the settled feed state Oct 20, 2026
@kxxoling
kxxoling merged commit d70f063 into main Oct 20, 2026
2 checks passed
@kxxoling
kxxoling deleted the feat/rss-refresh-errors branch October 20, 2026 02:02
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