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(ui): adds edit many option for bulk uploads #10646

Merged
merged 18 commits into from
Jan 22, 2025

Conversation

PatrikKozak
Copy link
Contributor

@PatrikKozak PatrikKozak commented Jan 17, 2025

What?

This PR introduces the ability to bulk edit multiple uploads simultaneously within the Edit all option for bulk uploads. Users can now select fields to update across all selected uploads in a single operation.

Why?

Managing multiple uploads individually can be time-consuming and inefficient, especially when updating common fields. This feature streamlines the process, improving user experience and productivity when handling bulk uploads.

How?

  • Added an Edit Many drawer component specific to bulk uploads that allows users to select fields for bulk editing.
  • Enhanced the FormsManager and related logic to ensure updates are applied consistently across all selected uploads.

image (5)

@PatrikKozak PatrikKozak changed the title feat: adds edit many option in bulk uploads feat: adds edit many option for bulk uploads Jan 20, 2025
@PatrikKozak PatrikKozak marked this pull request as ready for review January 20, 2025 19:24
@PatrikKozak PatrikKozak requested a review from denolfe as a code owner January 20, 2025 20:19
@DanRibbens
Copy link
Contributor

Coming along nicely! Good work.

Copy link
Contributor

@DanRibbens DanRibbens left a comment

Choose a reason for hiding this comment

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

I still need to work through the code changes. One issue that is a lot more apparent with this change is that there are a lot of Payload added fields that uploads get that do not belong in the bulk edit field selector.

image
This could be a separate PR that adds disableBulkEdit to the media files or done in this PR.

I'm still reading the code changes and I'll finish my review while we iterate on the field selector.

@DanRibbens DanRibbens self-assigned this Jan 22, 2025
Copy link
Contributor

@DanRibbens DanRibbens left a comment

Choose a reason for hiding this comment

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

RichText doesn't appear to be working?
I used the test uploads and tried to bulk edit the Upload1 collection.
image

@PatrikKozak PatrikKozak changed the title feat: adds edit many option for bulk uploads feat(translations, ui): adds edit many option for bulk uploads Jan 22, 2025
@PatrikKozak PatrikKozak changed the title feat(translations, ui): adds edit many option for bulk uploads feat(ui): adds edit many option for bulk uploads Jan 22, 2025
@PatrikKozak PatrikKozak merged commit be2c482 into main Jan 22, 2025
67 checks passed
@PatrikKozak PatrikKozak deleted the feat/bulk-upload-edit-many branch January 22, 2025 21:20
Copy link
Contributor

🚀 This is included in version v3.19.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants