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. 
This commit is contained in:
@@ -36,7 +36,7 @@ import { navigateToDoc } from 'helpers/e2e/navigateToDoc.js'
|
||||
import { upsertPrefs } from 'helpers/e2e/upsertPrefs.js'
|
||||
import { RESTClient } from 'helpers/rest.js'
|
||||
import { GeneratedTypes } from 'helpers/sdk/types.js'
|
||||
import { wait } from 'payload/shared'
|
||||
|
||||
const filename = fileURLToPath(import.meta.url)
|
||||
const dirname = path.dirname(filename)
|
||||
|
||||
@@ -49,7 +49,7 @@ const dirname = path.dirname(filename)
|
||||
* Repeat above for Globals
|
||||
*/
|
||||
|
||||
const { beforeAll, beforeEach, describe, afterEach } = test
|
||||
const { beforeAll, beforeEach, describe } = test
|
||||
let url: AdminUrlUtil
|
||||
let urlWithRequiredLocalizedFields: AdminUrlUtil
|
||||
let urlRelationshipLocalized: AdminUrlUtil
|
||||
|
||||
Reference in New Issue
Block a user