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

feat(v2/storage-4): add storage mode response download modals #3965

Merged
merged 19 commits into from
Jul 7, 2022

Conversation

karrui
Copy link
Contributor

@karrui karrui commented Jun 7, 2022

Problem

This PR adds storage mode response download modals.

TODOs to be done in future PRs (too keep this PR smaller):

  • add summary modal when download has completed, or errored.

Related to #3129

Solution

Breaking Changes

  • No - this PR is backwards compatible

Features:

  • progress modal will show up 5 seconds after download (if download is not yet complete) for non-attachment downloads
  • show confirmation modal on downloading responses with attachments, which will segue to progress modal
  • allow cancellation of decryption
  • add prompt when user attempts to leave the page
  • add Progress component theme

Before & After Screenshots

New stories have been added for DownloadWithAttachmentModal and ProgressModal component.

@karrui karrui force-pushed the form-v2/responses/download-stream-3 branch from 4a48a50 to 69d93b9 Compare June 9, 2022 02:36
Base automatically changed from form-v2/responses/download-stream-3 to form-v2/develop June 9, 2022 03:02
@karrui karrui force-pushed the form-v2/responses/download-modal-4 branch from a2f898b to c54ae4e Compare June 9, 2022 03:03
Copy link
Contributor

@mantariksh mantariksh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tbh getting increasingly hard to review in detail without writing code but generally lgtm

Copy link
Contributor

@hanstirtaputra hanstirtaputra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally for downloading responses with attachments. Downloading the same responses in "CSV with attachments" results in the second download not progressing. Is this intended?

test-download-with-attachments.mov

@karrui
Copy link
Contributor Author

karrui commented Jun 16, 2022

Tested locally for downloading responses with attachments. Downloading the same responses in "CSV with attachments" results in the second download not progressing. Is this intended?

test-download-with-attachments.mov

Thanks for the catch! Will fix.

@karrui karrui merged commit a86c53a into form-v2/develop Jul 7, 2022
@karrui karrui deleted the form-v2/responses/download-modal-4 branch July 7, 2022 02:40
@justynoh justynoh mentioned this pull request Oct 5, 2022
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.

3 participants