Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Issue #518) SVG to PDF conversion code #523

Merged
merged 8 commits into from
Nov 17, 2023
Merged

Conversation

jennacioffi
Copy link
Contributor

Issue: #518

Note:
The top value to fill in (CredentialSubject.name) seems off center but we have applied no styling changes so I am not sure why this occurs.


Screenshot 2023-10-25 at 12 41 24 PM


Screenshot 2023-10-25 at 12 41 36 PM


Screenshot 2023-10-25 at 12 41 57 PM

@jennacioffi jennacioffi mentioned this pull request Oct 25, 2023
2 tasks
@IsaacAirmet1 IsaacAirmet1 marked this pull request as draft October 25, 2023 19:21
@jennacioffi
Copy link
Contributor Author

@kayaelle @dmitrizagidulin we need to talk about the dynamic part (handlebars) in our next meeting before we can account for that

@jennacioffi
Copy link
Contributor Author

jennacioffi commented Oct 30, 2023

App properly converts valid handlebars into the pdf (the other two handlebars data is not in here because they are improperly labeled/named in the svg template):

Screenshot 2023-10-30 at 3 22 01 PM

@jennacioffi
Copy link
Contributor Author

jennacioffi commented Oct 30, 2023

@dmitrizagidulin @kayaelle ready for review.

NOTE: The logic was moved to app/lib/svgToPdf.ts and we will move this into a separate repo sometime this week :) - just let us know when you have a git repo created for us to put it in :)

@IsaacAirmet1 IsaacAirmet1 marked this pull request as ready for review November 2, 2023 13:12
@jennacioffi
Copy link
Contributor Author

@dmitrizagidulin Tested and this works still so you can merge following the steps github tells you to manage to rebase it

@dmitrizagidulin
Copy link
Member

Conflicts resolved, merging and releasing for testing.

@dmitrizagidulin dmitrizagidulin merged commit a771a35 into main Nov 17, 2023
4 of 5 checks passed
@dmitrizagidulin dmitrizagidulin deleted the atomic-jolt/svg-to-pdf branch November 17, 2023 01:01
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.

2 participants