Skip to content

Feature/cms 1373 warn when moving large asset folders#16908

Merged
brandonkelly merged 8 commits into4.15from
feature/cms-1373-warn-when-moving-large-asset-folders
Mar 23, 2025
Merged

Feature/cms 1373 warn when moving large asset folders#16908
brandonkelly merged 8 commits into4.15from
feature/cms-1373-warn-when-moving-large-asset-folders

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Mar 18, 2025

Description

If moving more than 50 items (assets + folders - not counting assets in those folders) or more than 50 MB of assets (including the assets in the folders), warn the user about the move beforehand.

Screenshot 2025-03-18 at 10 10 39

Otherwise, show a toast notification after the move is complete, with an Undo button.

Screen.Recording.2025-03-18.at.10.12.05.mov

If any conflicts were encountered during the initial move, the Undo button won’t be available (even if some assets/folders were moved).

Related issues

@linear
Copy link
Copy Markdown

linear Bot commented Mar 18, 2025

@brandonkelly
Copy link
Copy Markdown
Member

Let’s only show the “Undo” button if there weren’t any conflicts to begin with.

If there are conflicts, you already get a chance to cancel the action within the conflict resolution dialog.

@i-just
Copy link
Copy Markdown
Contributor Author

i-just commented Mar 21, 2025

Thanks! Done and the PR description updated.

@i-just i-just marked this pull request as ready for review March 21, 2025 08:07
@i-just i-just requested a review from brandonkelly March 21, 2025 08:22
@brandonkelly brandonkelly changed the base branch from 4.x to 4.15 March 23, 2025 17:05
[ci skip]
@brandonkelly brandonkelly merged commit 59cb739 into 4.15 Mar 23, 2025
@brandonkelly brandonkelly deleted the feature/cms-1373-warn-when-moving-large-asset-folders branch March 23, 2025 17:13
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