Skip to content

feat: add clear all notifications action#83

Open
SimplyRayYZL wants to merge 4 commits into
Ghbounty:mainfrom
SimplyRayYZL:feat/clear-all-notifications
Open

feat: add clear all notifications action#83
SimplyRayYZL wants to merge 4 commits into
Ghbounty:mainfrom
SimplyRayYZL:feat/clear-all-notifications

Conversation

@SimplyRayYZL
Copy link
Copy Markdown

Summary

  • Adds a clearNotifications helper that deletes all notification rows for the current user.
  • Adds a Clear all action in the notifications panel beside Mark all read.
  • Clears the local inbox/badge optimistically so the UI updates immediately.

Fixes #22.

Validation

  • pnpm --filter frontend exec tsc --noEmit was run; it reaches existing unrelated BigInt target errors in tests/bounties.test.ts and tests/solana.test.ts. The edited notification files are type-checked before those pre-existing failures.

@SimplyRayYZL SimplyRayYZL requested a review from tomazzi14 as a code owner May 13, 2026 08:46
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

@SimplyRayYZL is attempting to deploy a commit to the weareghbounty-6269's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Notification panel needs a Clear all button

1 participant