Skip to content

[codex] Integrate NotifyComp assignment push#68

Merged
coder13 merged 2 commits into
devfrom
codex/integrate-notifycomp-push
May 11, 2026
Merged

[codex] Integrate NotifyComp assignment push#68
coder13 merged 2 commits into
devfrom
codex/integrate-notifycomp-push

Conversation

@coder13
Copy link
Copy Markdown
Owner

@coder13 coder13 commented May 11, 2026

Summary

  • add a same-origin Netlify token function that verifies the current WCA access token and mints short-lived NotifyComp JWTs
  • add browser Push API registration, NotifyComp subscription sync, and assignment notification controls in Settings
  • import a push notification handler into the generated PWA service worker

Configuration

  • set COMPETITION_GROUPS_JWT_SECRET on this app and the matching NotifyComp service
  • optionally set COMPETITION_GROUPS_JWT_ISSUER, COMPETITION_GROUPS_JWT_AUDIENCE, WCA_ORIGIN, and VITE_NOTIFY_COMP_ORIGIN

Validation

  • yarn check:type
  • yarn lint
  • yarn build
  • pre-push hook: lint, typecheck, jest

@netlify
Copy link
Copy Markdown

netlify Bot commented May 11, 2026

Deploy Preview for competition-groups ready!

Name Link
🔨 Latest commit a0eee06
🔍 Latest deploy log https://app.netlify.com/projects/competition-groups/deploys/6a026be2888d1a0008488ac7
😎 Deploy Preview https://deploy-preview-68--competition-groups.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 61
Accessibility: 84
Best Practices: 100
SEO: 96
PWA: 90
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@coder13 coder13 marked this pull request as ready for review May 11, 2026 23:58
@coder13 coder13 merged commit f9f5e05 into dev May 11, 2026
7 checks 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

Development

Successfully merging this pull request may close these issues.

1 participant