feat(certificate): add admin side configuration for cert templates#155
Merged
geraldsberongoy merged 3 commits intodevfrom Mar 11, 2026
Merged
feat(certificate): add admin side configuration for cert templates#155geraldsberongoy merged 3 commits intodevfrom
geraldsberongoy merged 3 commits intodevfrom
Conversation
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.
✨ What’s New?
This pull request introduces several new dependencies to the frontend project, primarily to support certificate generation and rendering features. Additionally, it implements a new server action for saving certificate configurations and updates the survey submission flow to generate and return a certificate upon completion.
Dependency additions for certificate generation and rendering:
@vercel/ogandsatorito bothpackage.jsonandpackage-lock.jsonto enable dynamic Open Graph image and certificate rendering. These packages bring in a number of supporting dependencies, such as@resvg/resvg-wasm,@shuding/opentype.js, and others for CSS and font parsing, emoji handling, and layout. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21]Certificate configuration and generation features:
saveCertificateConfigActionincertificateActions.tsthat allows authorized event organizers to save certificate configuration data to the database, with proper error handling and logging.surveyActions.tsto:userstable (preferring database values over auth metadata).generateCertificateservice after a successful survey submission.These changes lay the groundwork for supporting dynamic certificate creation and management in the application.
📷 Screenshots (IMPORTANT)
Closes #156