Skip to content

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

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

Merged

Conversation

i-just
Copy link
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

Copy link

linear bot commented Mar 18, 2025

@brandonkelly
Copy link
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
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