Skip to content
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

Download data cloud func to second gen #306

Merged
merged 4 commits into from
Aug 27, 2024

Conversation

Alona-Kirichenko
Copy link
Collaborator

CHECK THIS PR ONLY AFTERT update_cloud_functions_to_2nd_generation is merged to main

In this branch, I was updating the cloud function 'downloadData' to the second generation. This function generates statistics in an Excel file when the super admin presses to export data. The function to send these statistics via email hasn't worked for a while, and I decided not to fix it now because @covetous wasn't happy with SENDGRID and we might consider changing it.

For now, I have commented out the part that sends the Excel file via email and adapted the front end accordingly.

Now, when the super admin presses the "Export Data" button, it will run downloadDataSecondGen and then immediately show a button to download this statistic as the phone.

…ash if some data is missing. Commenting out the part that sends data to email until we decide what to do with SENDGRID
covetous
covetous previously approved these changes Aug 27, 2024
@Alona-Kirichenko Alona-Kirichenko dismissed covetous’s stale review August 27, 2024 13:06

The merge-base changed after approval.

@Alona-Kirichenko Alona-Kirichenko merged commit 327661a into main Aug 27, 2024
1 check passed
@Alona-Kirichenko Alona-Kirichenko deleted the downloadData_cloud_func_to_second_gen branch August 27, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants