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
feat: save document logs as pdf #985
feat: save document logs as pdf #985
Conversation
@paolo is attempting to deploy a commit to the Documenso Team Team on Vercel. A member of the Team first needs to authorize it. |
Important Auto Review SkippedAuto reviews are limited to the following labels: coderabbit. Please add one of these labels to enable auto reviews. Please check the settings in the CodeRabbit UI or the To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
1843f1d
to
90a9dcc
Compare
Hi @Mythie , This PR should be ready for review |
Looking at these now! |
In order to be CFR P11 compliant, document logs file should be created and stored within Documenso's servers.
This branch is using a similar strategy from the documents themselves to store "additional data", namely, logs and signature certificates (for the time being).
A new table has been created:
DocumentAdditionalData
, which is similar toDocumentData
, thanks to this similarity, I was able to re-use some of the functions implemented to store and read files from the configured storage.Regarding the PDF creation,
@react-pdf/renderer
was used to easily shape the document using their provided components. here's a sample of the resulting pdf document.demo-logs.pdf