<frontend · open>
Build a UTHM-CAPS dashboard widget
issuer · @haikal.fskm
Build a self-contained widget for the UTHM-CAPS (Centre for Academic & Professional Studies) dashboard. The widget should fetch the next 3 CAPS announcements, render them with the existing sd-* tokens, and degrade gracefully to a cached payload when offline. Goal: drop it into the next monthly release of the CAPS portal.
<rubric>
- Service worker registers and activates on first visit
- All CAPS announcement cards render offline after a single online visit
- Detail view opens from cache when offline
- Cache invalidates when a new announcement is added (etag/version check)
- No regressions in Lighthouse performance score
<how claims are judged>
Two of the core team will review within 48h of submission. The PR must be green, include a short Loom walking through offline mode, and pass the rubric above. We pay on merge.
<submission format>
curl -X POST https://api.uthm-forge.dev/bounties/1/claim \
-H "Authorization: Bearer $UTHM_TOKEN" \
-d '{"repo":"github.com/you/caps-widget","pr":42}'