-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Toasts update for uploads and downloads [storage] (#2149)
* toasts refactor * locale * refactor ok * lingui extract * removed plural cast * removed plural cast * delete uploadStatusToast and add uploadCompleteToast * undo delete awaitBucketRefresh * delete awaitBucketRefresh * move awaitBucketRefresh after upload file click and before toast appears Co-authored-by: GitHub Actions <actions@github.com> Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> Co-authored-by: Juan Manuel Spoleti <juan@chainsafe.io> Co-authored-by: Juan Manuel Spoleti <104365141+juans-chainsafe@users.noreply.github.com>
- Loading branch information
1 parent
ad165db
commit 107bcde
Showing
14 changed files
with
126 additions
and
605 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/storage-ui/cypress/support/page-objects/toasts/uploadCompleteToast.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export const uploadCompleteToast = { | ||
body: () => cy.get("[data-testid=toast-upload-complete]", { timeout: 10000 }), | ||
closeButton: () => cy.get("[data-testid=button-close-toast-upload-complete]") | ||
} |
3 changes: 0 additions & 3 deletions
3
packages/storage-ui/cypress/support/page-objects/toasts/uploadStatusToast.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
110 changes: 0 additions & 110 deletions
110
packages/storage-ui/src/Components/Modules/DownloadProgressModals/DownloadBox.tsx
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
packages/storage-ui/src/Components/Modules/DownloadProgressModals/index.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.