feat(ui): adds edit many option for bulk uploads (#10646)

### 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.

![Screenshot 2025-01-21 at 3 16
49 PM](https://github.com/user-attachments/assets/ef1f4a12-95a6-4b21-8efa-5280df0917fc)
This commit is contained in:
Patrik
2025-01-22 16:20:13 -05:00
committed by GitHub
parent 67f7c9513f
commit be2c482054
54 changed files with 719 additions and 56 deletions

View File

@@ -959,6 +959,7 @@ export interface Uploads1 {
*/
export interface Uploads2 {
id: string;
prefix: string;
title?: string | null;
updatedAt: string;
createdAt: string;
@@ -2280,6 +2281,7 @@ export interface Uploads1Select<T extends boolean = true> {
* via the `definition` "uploads-2_select".
*/
export interface Uploads2Select<T extends boolean = true> {
prefix?: T;
title?: T;
updatedAt?: T;
createdAt?: T;