feat: add versioned embeddable widget API with CSP controls#821
Merged
joelpeace48-cell merged 2 commits intoJun 29, 2026
Merged
Conversation
Add sandboxed iframe widgets for partners: - GET /embed/v1/card/:id — campaign card with CTA - GET /embed/v1/leaderboard/:id — top participants ranking - GET /embed/v1/progress/:id — campaign progress bar + stats Features: - Versioned API (v1) for stable embeds - CSP frame-ancestors control - Theme (light/dark) and accent color params - Leaderboard limit (1-50 rows) - No PII leakage (public display names only) - 60s cache headers Fixes FinesseStudioLab#809
|
@luciachizaram is attempting to deploy a commit to the joelpeace48-cell's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@luciachizaram 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! 🚀 |
26991e6
into
FinesseStudioLab:main
3 of 14 checks passed
joelpeace48-cell
added a commit
that referenced
this pull request
Jun 30, 2026
feat: add versioned embeddable widget API with CSP controls
joelpeace48-cell
added a commit
that referenced
this pull request
Jun 30, 2026
feat: add versioned embeddable widget API with CSP controls
joelpeace48-cell
added a commit
that referenced
this pull request
Jun 30, 2026
feat: add versioned embeddable widget API with CSP controls
joelpeace48-cell
added a commit
that referenced
this pull request
Jun 30, 2026
feat: add versioned embeddable widget API with CSP controls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #809
What changed
/embed/v1/:widgetType/:campaignIdcard,leaderboard,progressframe-ancestorsfor securityEndpoints
GET /embed/v1/card/:id— campaign cardGET /embed/v1/leaderboard/:id— leaderboardGET /embed/v1/progress/:id— progress barHow to test
<iframe src="/embed/v1/card/<campaignId>?theme=dark">