Skip to content

feat: add retry controls, notification preferences, and leaderboard time filters - #1837

Merged
Akanimoh12 merged 2 commits into
Akanimoh12:test-implement-dripsfrom
zane1502:fix/retry-controls-notifications-leaderboard-time-ranges
Nov 22, 2026
Merged

Akanimoh12 merged 2 commits into
Akanimoh12:test-implement-dripsfrom
zane1502:fix/retry-controls-notifications-leaderboard-time-ranges

Conversation

@zane1502

Copy link
Copy Markdown
Contributor

Summary

Add retry buttons to error states that were missing them, wire notification preference toggles from settings into the notification store to suppress suppressed notification types, confirm mark-all-read is accessible in the notification panel (already implemented), and connect the existing time range filter component to the leaderboard full rankings list.

Changes

  • StatsPanel.tsx: Extract fetchStats into a useCallback so the error block can call it again; add a Retry button to the error UI.
  • TipsTab.tsx: Replace the bare EmptyState on error with ErrorState (the proper error component) and pass onRetry={refetch} from the useTips hook.
  • notificationStore.ts: In addNotification, read tipz_settings from localStorage before inserting a notification and skip it when the user has disabled that notification type (tipNotifications, leaderboardNotifications, systemNotifications).
  • LeaderboardPage.tsx: Import LeaderboardFilters and wrap the full rankings list with it. The component exposes the existing day/week/month/all-time tabs and search/sort controls via a render-prop, leaving the top-three podium section unchanged.

Issues

Resolves #1712
Resolves #1705
Resolves #1704
Resolves #1703

Verification

Changes reviewed manually. cargo build and cargo test were not run (this is a TypeScript/React frontend project; no Rust build toolchain applies).

@zane1502
zane1502 requested a review from Akanimoh12 as a code owner November 22, 2026 05:16
@drips-wave

drips-wave Bot commented Nov 22, 2026

Copy link
Copy Markdown

@zane1502 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Akanimoh12
Akanimoh12 merged commit 4006900 into Akanimoh12:test-implement-drips Nov 22, 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

2 participants