Skip to content
/ web Public

bug: fix duplicate graphql subscriptions for app notifications#251

Merged
lukepolo merged 1 commit intomainfrom
fix/excessive-notifications
Mar 6, 2026
Merged

bug: fix duplicate graphql subscriptions for app notifications#251
lukepolo merged 1 commit intomainfrom
fix/excessive-notifications

Conversation

@Flegma
Copy link
Contributor

@Flegma Flegma commented Mar 6, 2026

Summary

  • Remove duplicate GraphQL subscriptions from AppNotifications.vue — component now uses NotificationStore (Pinia) as single source of truth for notifications, team_invites, and tournament_team_invites

Test plan

  • Notification panel opens and displays notifications correctly
  • Dismiss, delete, dismiss all, delete all read buttons work
  • Team invite and tournament invite notifications still appear
  • Panel closes on route navigation

Companion PR: 5stackgg/api#111
Fixes 5stackgg/5stack-panel#347

AppNotifications.vue had its own GraphQL subscriptions duplicating
NotificationStore.ts. Now uses the Pinia store as single source of
truth for notifications, team_invites, and tournament_team_invites.

Fixes #347
@Flegma Flegma requested a review from lukepolo March 6, 2026 08:26
@lukepolo lukepolo changed the title Fix excessive notifications on match start/end bug: fix duplicate graphql subscriptions for app notifications Mar 6, 2026
@lukepolo lukepolo merged commit 866f0d2 into main Mar 6, 2026
@lukepolo lukepolo deleted the fix/excessive-notifications branch March 6, 2026 13:08
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.

[BUG] Excessive Notifications on Single Match Start , End

2 participants