[Feature request]: Generating a PDF with booking overview
Contact Details
Is your feature request related to a problem? Please describe?
"Option to print out the generated list of assets as a PDF for record keeping and for a physical reference on set."
Describe the solution you'd like
Add a menu item under Actions called 'Generate PDF...' which will download a PDF with an overview of the booking. There's not really a reason to not let users download the PDF when the booking is in Draft but I feel we should only allow it when booking reaches Reserved.
- Generation date
- Workspace name
- Title (with booking name)
- Booking name
- Custodian
- Booking period
- Table with included assets (number, name, category, location, QR, checkbox)
SCENARIO https://www.figma.com/file/ykvc0MhPeNLsrJ4tJsKosQ/Shelf-%7C-UX-Scenarios?type=design&node-id=4918-566890&mode=design
Describe alternatives you've considered
No response
Additional context
No response
This seems quite ready to assign. Do you have any comments?
Okey, here are some ideas based on some research I did. So as always with remix, we can use a resource route, which is amazing. Here is an example from Sergio: https://sergiodxa.com/tutorials/generate-a-pdf-in-remix-with-resource-routes Also I like that he uses this react pdf approach. I think this could be so easy to do and we can create a route in the admin dashboard so we can preview it.
Moreover this is a more general article with a lot of different libraries. They all look interesting in case we want to use one of them instead of react-pdf. https://dev.to/handdot/generate-a-pdf-in-js-summary-and-comparison-of-libraries-3k0p
Thank you for the research it sounds promising. What can we do to get this moving? The design is ready - is this a bounty-able-feat?
/bounty 15
~~## đ $15 bounty âĸ Shelf~~
~~### Steps to solve:~~
~~1. Start working: Comment /attempt #942 with your implementation plan~~
~~2. Submit work: Create a pull request including /claim #942 in the PR body to claim the bounty~~
~~3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts~~
~~Thank you for contributing to Shelf-nu/shelf.nu!~~
~~Add a bounty âĸ Share on socials~~
| Attempt | Started (GMT+0) | Solution |
|---|---|---|
| đĸ @MohakBajaj | May 23, 2024, 2:18:21 PM | WIP |
| đ´ @Bhavyajain21 | May 24, 2024, 1:04:41 PM | WIP |
| đĸ @rajeshj11 | May 28, 2024, 10:21:10 AM | #999 |
Hey I'd like to get assigned to this
@DonKoko - could we assign this to Mohak?
/attempt
| Algora profile | Completed bounties | Tech | Active attempts | Options |
|---|---|---|---|---|
| @Bhavyajain21 | Â Â Â 2 Shelf-nu bounties + 6 bounties from 2 projects |
TypeScript, Rust, JavaScript & more |
īš972 |
Cancel attempt |
@DonKoko processed feedback from user. They asked for including the asset thumbnail. Also I have changed the logo in top left to 1:1. Updated the original message with these things.
Sorry! I'll be withdrawing from this issue. I'm unable to find time to work on it.
/attempt #942
| Algora profile | Completed bounties | Tech | Active attempts | Options |
|---|---|---|---|---|
| @rajeshj11 | 2 bounties from 2 projects | JavaScript, TypeScript, HTML |
Cancel attempt |
đĄ @rajeshj11 submitted a pull request that claims the bounty. You can visit your bounty board to reward.
@jurrejansen please review the demo and PR changes. Please Let me know if any changes are needed.