Closed SalmanSaleh1 closed 3 months ago
Following team discussions, it's been agreed upon that the download button will be disabled if the user hasn't generated the event certificates. Additionally, a hover explanation will be added to prompt users to generate the certificates first before enabling the download button.
Part 1:
[x] Implement a "generated" database field, denoted as true or false, indicating whether the event certificates have been generated.
[x] Enhance the download button functionality to enable download only after the user generates the event certificates.
[x] Integrate a hover explanation to users that you should generate the certificates before attempting to download them.
Part 2: Upon clicking the download button, users should have the choice to download either all certificates related to the event or select specific certificates for download.
Part 1 done.
Part 2 done.
Enhancement list:
When a user attempts to download certificates for an event without generating them, the system should display a notification prompting the user to generate the event certificates first. This ensures that the user has all necessary certificates generated before they can be accessed for download, as the system cannot locate certificates that have not been generated. Alternatively, consider enhancing the download functionality to automatically generate the certificates if they haven't been generated yet. This improvement streamlines the process and ensures a smoother user experience.