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

Export credential as PDF from general share window #519

Open
3 tasks
kayaelle opened this issue Oct 23, 2023 · 2 comments
Open
3 tasks

Export credential as PDF from general share window #519

kayaelle opened this issue Oct 23, 2023 · 2 comments
Labels
minor Fix when we can

Comments

@kayaelle
Copy link
Member

On general share page: add an "Export credential as PDF" option below “Create a public link”. Please use a PDF icon in the button.

Clicking on "Export credential as PDF" reveals a credential picker, once a credential is picked, provide a preview similar to Share Preview with a button below that reads “Export as PDF”.

Requirements:

  • User should only be able to choose one credential at a time
  • User should be able to view credential and go back.
  • If renderMethod is included in a credential, a link to an svg template is available in renderMethod and the svg file is readable, apply credential data to variables indicated in the svg template and render pdf to be download to mobile device dialog.
  • If not, use default svg template. Apply credential data to variables indicated in the svg template and render pdf to be download to mobile device dialog
  • If css3MediaQuery is present, reference that css when rendering

Needed for this issue:

  • Sample SVG Template
  • Default SVG Template - where to store this?
  • Signed Credential including renderMethod and SVG template

Resources & Tools:

Please add this to testing script.

@kayaelle
Copy link
Member Author

Moving to backlog. Default template requirement is a rabbit hole due to many unknowns about the credential data being displayed. As with #518 we'll first focus on implementing renderMethod.

@alexfigtree
Copy link
Member

Depends on #491

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Fix when we can
Projects
Status: LCW Backlog
Development

No branches or pull requests

6 participants