CCALI / a2jviewer

This is the repo for the A2J Viewer
https://www.a2jauthor.org
Other
5 stars 8 forks source link

Text template preview before assembly #170

Closed mikemitchel closed 2 years ago

mikemitchel commented 2 years ago

Whenever a user has text templates to assemble, they should be given an option to preview those templates in an accessible way prior to final assembly.

current plan:

The above preview assembly will require a new /api/preview route it the DAT to return the rendered HTML CCALI/a2jdat#94

chasenlehara commented 2 years ago

From @JessicaFrank on Slack:

I am leaning toward language like "At least one of your templates has a preview option, would you like to view it." That covers people with 1 text template, or people with potentially text + pdf combos that can't all be previewed. We aren't guaranteeing this is the final package, but offering an accessible preview when possible.

chasenlehara commented 2 years ago

I think this can be closed. The PR above implements the majority of the functionality—the remaining can be implemented in https://github.com/CCALI/a2jviewer/issues/176 at a later date.