Skip to content

Commit be2c482

Browse files
authored
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)
1 parent 67f7c95 commit be2c482

File tree

54 files changed

+718
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+718
-55
lines changed

packages/translations/src/clientKeys.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ export const clientTranslationKeys = createClientTranslationKeys([
182182
'general:duplicate',
183183
'general:duplicateWithoutSaving',
184184
'general:edit',
185+
'general:editAll',
185186
'general:editing',
186187
'general:editingLabel',
187188
'general:editingTakenOver',

packages/translations/src/languages/ar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ export const arTranslations: DefaultTranslationsObject = {
235235
duplicate: 'استنساخ',
236236
duplicateWithoutSaving: 'استنساخ بدون حفظ التغييرات',
237237
edit: 'تعديل',
238+
editAll: 'تحرير الكل',
238239
editedSince: 'تم التحرير منذ',
239240
editing: 'جاري التعديل',
240241
editingLabel_many: 'تعديل {{count}} {{label}}',

packages/translations/src/languages/az.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ export const azTranslations: DefaultTranslationsObject = {
239239
duplicate: 'Dublikat',
240240
duplicateWithoutSaving: 'Dəyişiklikləri saxlamadan dublikatla',
241241
edit: 'Redaktə et',
242+
editAll: 'Hamısını redaktə et',
242243
editedSince: 'Redaktə edilib',
243244
editing: 'Redaktə olunur',
244245
editingLabel_many: '{{count}} {{label}} redaktə olunur',

packages/translations/src/languages/bg.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ export const bgTranslations: DefaultTranslationsObject = {
238238
duplicate: 'Дупликирай',
239239
duplicateWithoutSaving: 'Дупликирай без да запазваш промените',
240240
edit: 'Редактирай',
241+
editAll: 'Редактирай всички',
241242
editedSince: 'Редактирано от',
242243
editing: 'Редактиране',
243244
editingLabel_many: 'Редактиране на {{count}} {{label}}',

packages/translations/src/languages/ca.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ export const caTranslations: DefaultTranslationsObject = {
239239
duplicate: 'Duplicar',
240240
duplicateWithoutSaving: 'Duplica sense desar',
241241
edit: 'Edita',
242+
editAll: 'Edita-ho tot',
242243
editedSince: 'Editat des de',
243244
editing: 'Editant',
244245
editingLabel_many: 'Editent {{count}} {{label}}',

packages/translations/src/languages/cs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ export const csTranslations: DefaultTranslationsObject = {
237237
duplicate: 'Duplikovat',
238238
duplicateWithoutSaving: 'Duplikovat bez uložení změn',
239239
edit: 'Upravit',
240+
editAll: 'Upravit vše',
240241
editedSince: 'Upraveno od',
241242
editing: 'Úprava',
242243
editingLabel_many: 'Úprava {{count}} {{label}}',

packages/translations/src/languages/da.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ export const daTranslations: DefaultTranslationsObject = {
237237
duplicate: 'Duplikér',
238238
duplicateWithoutSaving: 'Dupliker uden at gemme ændringer',
239239
edit: 'Redigere',
240+
editAll: 'Rediger alle',
240241
editedSince: 'Dette dokument er blevet redigeret siden du startede',
241242
editing: 'Rediger',
242243
editingLabel_many: 'Rediger {{count}} {{label}}',

packages/translations/src/languages/de.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ export const deTranslations: DefaultTranslationsObject = {
243243
duplicate: 'Duplizieren',
244244
duplicateWithoutSaving: 'Dupliziere ohne Änderungen zu speichern',
245245
edit: 'Bearbeiten',
246+
editAll: 'Bearbeite alle',
246247
editedSince: 'Bearbeitet seit',
247248
editing: 'Bearbeite',
248249
editingLabel_many: 'Bearbeiten von {{count}} {{label}}',

packages/translations/src/languages/en.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ export const enTranslations = {
239239
duplicate: 'Duplicate',
240240
duplicateWithoutSaving: 'Duplicate without saving changes',
241241
edit: 'Edit',
242+
editAll: 'Edit all',
242243
editedSince: 'Edited since',
243244
editing: 'Editing',
244245
editingLabel_many: 'Editing {{count}} {{label}}',
@@ -375,8 +376,8 @@ export const enTranslations = {
375376
within: 'within',
376377
},
377378
upload: {
378-
addFile: 'Add File',
379-
addFiles: 'Add Files',
379+
addFile: 'Add file',
380+
addFiles: 'Add files',
380381
bulkUpload: 'Bulk Upload',
381382
crop: 'Crop',
382383
cropToolDescription:

packages/translations/src/languages/es.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ export const esTranslations: DefaultTranslationsObject = {
243243
duplicate: 'Duplicar',
244244
duplicateWithoutSaving: 'Duplicar sin guardar cambios',
245245
edit: 'Editar',
246+
editAll: 'Editar Todo',
246247
editedSince: 'Editado desde',
247248
editing: 'Editando',
248249
editingLabel_many: 'Edición de {{count}} {{label}}',

0 commit comments

Comments
 (0)