You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is currently no warning message when you are about to overwrite existing files on Studio's File and Uploads page.
Let's add a warning in a modal, in the same style as the delete confirmation (including the warning triangle):
Modal Text
Title: Overwrite Files
Text: The following files will be overwritten:
This should then be followed by an <ul> of files that would be overwritten, in alphabetical order by file name.
The buttons should be "Overwrite" and "Cancel".
Acceptance Criteria:
This new modal should only trigger when a user uploads one or more files that would overwrite existing files in File and Uploads.
Clicking on the "Overwrite" button will cause those files to get overwritten.
Clicking on the "Cancel" button or closing the modal will stop those files from being overwritten.
Edge case: If there are a mix of files where some of them would overwrite and some wouldn't, and the user hits "Cancel", the files that are not overwrites should still get uploaded. For example, say we have the following situation:
The files 1.webp and 2.webp exist in Files and Uploads.
The user uploads new files 1.webp, 2.webp, 3.webp, 4.webp.
The modal dialog triggers, and the user hits "Cancel"
In the above scenario, 3.webp and 4.webp should still get uploaded. The user is canceling the action of overwriting the existing files, but is not canceling the entire operation.
The text was updated successfully, but these errors were encountered:
@tecoholic: I didn't realize this was already being implemented. If there have already been product/UX input into that ticket, please feel free to ignore this one.
There is currently no warning message when you are about to overwrite existing files on Studio's File and Uploads page.
Let's add a warning in a modal, in the same style as the delete confirmation (including the warning triangle):
Modal Text
Title: Overwrite Files
Text: The following files will be overwritten:
This should then be followed by an
<ul>
of files that would be overwritten, in alphabetical order by file name.The buttons should be "Overwrite" and "Cancel".
Acceptance Criteria:
Edge case: If there are a mix of files where some of them would overwrite and some wouldn't, and the user hits "Cancel", the files that are not overwrites should still get uploaded. For example, say we have the following situation:
1.webp
and2.webp
exist in Files and Uploads.1.webp
,2.webp
,3.webp
,4.webp
.In the above scenario,
3.webp
and4.webp
should still get uploaded. The user is canceling the action of overwriting the existing files, but is not canceling the entire operation.The text was updated successfully, but these errors were encountered: