dbca-wa / science-projects-client

The frontend for SPMS, a science project management and documentation system.
0 stars 0 forks source link

For discussion #503

Open ben3000 opened 1 month ago

ben3000 commented 1 month ago

Rework the Print Preview buttons on the Reports > Latest Report page and the associated documentation for the "Documents" tab in the user guide, as follows.

When the user first accesses the tab, display the following buttons.

(available only if a PDF already exists, otherwise it is disabled)

The "Generate New" button will generate a new PDF containing any changes saved before clicking the button. While the PDF is generated, the available buttons change to "Cancel" and "Generation In Progress". Tap "Cancel" if it takes longer than 90 seconds to generate the PDF.

If you would like the generated PDF to include unapproved projects, tick the "Include Unapproved" checkbox. This takes a little longer as more projects are rendered in PDF format.

The "Download PDF" button is only available if a PDF already exists and will download the PDF to your device.

"If you want to create a PDF copy of the page click the Generate PDF (for new documents) or Generate New (for edited documents) button and once you see the ‘Success PDF Generated’ notification, click Download PDF. The document is not automatically saved to your device, so download the opened PDF document and save it to the device."

idabblewith commented 1 day ago