Skip to content

Conversation

@FBanfi
Copy link
Collaborator

@FBanfi FBanfi commented Oct 22, 2025

Purpose

We needed to modify the following things:

  • The array symbol should be displayed the same way as the entry table
  • The Date should also look like the table
  • Remove the usage of the formatValueForDisplay method, and re use the existent one from the TableRow component

Approach

Now all the places which include showing the value, use the same method.

Testing steps

Tests were modified to match the new structure of the method reused.

Breaking Changes

N/A

Dependencies and/or References

Link to MAPS-78

Deployment

N/A

@FBanfi FBanfi requested a review from a team as a code owner October 22, 2025 19:24
Copy link
Collaborator

@JuliRossi JuliRossi left a comment

Choose a reason for hiding this comment

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

LGTM

@FBanfi FBanfi merged commit 13f1ab1 into bulk-edit-v2 Oct 23, 2025
14 checks passed
@FBanfi FBanfi deleted the bulk-edit-v2-refactor-display-names branch October 23, 2025 13:57
joaquincasal added a commit that referenced this pull request Nov 11, 2025
* Bulk-Edit: field editors for initial default appearances [MAPS-53] (#10159)

* Keyboard accesibility for bulk edit [MAPS-29] (#10110)

* Bulk-Edit-App: Fix sorting error and edit button with no padding [INTEG-3103] (#10090)

* Bulk-Edit-App: Freeze top row with Field Names [INTEG-2953] (#10076)

* freeze top row with Field Names

* removing unused import

* making the status column sticky too (#10082)

* not showing the edit button when loading entries

* fix error when changing sorting

* Bulk edit: Filter columns [INTEG-3089] (#10089)

* Bulk-Edit-App: Freeze top row with Field Names [INTEG-2953] (#10076)

* freeze top row with Field Names

* removing unused import

* making the status column sticky too (#10082)

* wip

* select all

* Refactor FilterColumns and SortMenu components for improved layout and functionality

* Fixing states and enhancing performance in the process by not calling the getContentType each time

* Fix box issue

* Renaming and fixing warnings

* sticky

* corrections PR comments

* Fixing rebase conflicts

---------

Co-authored-by: Franco Banfi <62450599+FBanfi@users.noreply.github.com>
Co-authored-by: francobanfi <franco.banfi@external.contentful.com>

* wip

* Added new useKeyboardNavigation hook to encapsulate keyboard navigation logic.

* Simplifying a bit

* Refactor keyboard navigation logic in useKeyboardNavigation hook for improved readability and performance. Simplified moveFocus and extendFocusToEdge functions by removing unnecessary useCallback and enhancing selection handling.

* Refactor EntryTable and TableHeader components to improve keyboard navigation and selection handling. Updated focus logic to use HEADERS_ROW constant for better readability and maintainability. Enhanced checkbox toggle functionality for header and row selections.

* fixing issues

* changing styles for keyboard accessibility

* Refactors and tests

* Fixing focus on first cell and edge navigation

* Readding column selection

* Refactoring styles

* Refactor Table components to centralize cell focus and selection logic.

* Fixing checked disable checkboxes

* Refactor EntryTable, TableHeader, and TableRow components to unify cell focus and selection logic. Updated function signatures to use FocusPosition for better clarity and maintainability. Enhanced keyboard navigation handling in useKeyboardNavigation hook and corresponding tests.

* Simplifying a few things. Enter doesn't do that much anymore

* fix merge

---------

Co-authored-by: Franco Banfi <62450599+FBanfi@users.noreply.github.com>
Co-authored-by: francobanfi <franco.banfi@external.contentful.com>

* Tooltip fix for bulk edit [MAPS-57] (#10148)

* fix

* wip

* Workaround to make both things work

* changing some icons to match field editors versions + adding initial editors

* changing icon + modifying tests

* adding tests for FieldEditor component

* adding more field editors

* adding test for entry utils content type mapper

* renaming method

* removing unused variable

* moving methods to entry utils file

* removing any

* removing unnecessary logic for field editor setter

* changing disabled logic

* refactors + removing createLocales

* using field locale instead of default

* removing manual numeric validations

* removing mock from BulkEditModal.test.tsx

* fixing tests between conflicts

* Bulk-Edit: Parsing the value for the different editors [MAPS-53] (#10173)

* Keyboard accesibility for bulk edit [MAPS-29] (#10110)

* Bulk-Edit-App: Fix sorting error and edit button with no padding [INTEG-3103] (#10090)

* Bulk-Edit-App: Freeze top row with Field Names [INTEG-2953] (#10076)

* freeze top row with Field Names

* removing unused import

* making the status column sticky too (#10082)

* not showing the edit button when loading entries

* fix error when changing sorting

* Bulk edit: Filter columns [INTEG-3089] (#10089)

* Bulk-Edit-App: Freeze top row with Field Names [INTEG-2953] (#10076)

* freeze top row with Field Names

* removing unused import

* making the status column sticky too (#10082)

* wip

* select all

* Refactor FilterColumns and SortMenu components for improved layout and functionality

* Fixing states and enhancing performance in the process by not calling the getContentType each time

* Fix box issue

* Renaming and fixing warnings

* sticky

* corrections PR comments

* Fixing rebase conflicts

---------

Co-authored-by: Franco Banfi <62450599+FBanfi@users.noreply.github.com>
Co-authored-by: francobanfi <franco.banfi@external.contentful.com>

* wip

* Added new useKeyboardNavigation hook to encapsulate keyboard navigation logic.

* Simplifying a bit

* Refactor keyboard navigation logic in useKeyboardNavigation hook for improved readability and performance. Simplified moveFocus and extendFocusToEdge functions by removing unnecessary useCallback and enhancing selection handling.

* Refactor EntryTable and TableHeader components to improve keyboard navigation and selection handling. Updated focus logic to use HEADERS_ROW constant for better readability and maintainability. Enhanced checkbox toggle functionality for header and row selections.

* fixing issues

* changing styles for keyboard accessibility

* Refactors and tests

* Fixing focus on first cell and edge navigation

* Readding column selection

* Refactoring styles

* Refactor Table components to centralize cell focus and selection logic.

* Fixing checked disable checkboxes

* Refactor EntryTable, TableHeader, and TableRow components to unify cell focus and selection logic. Updated function signatures to use FocusPosition for better clarity and maintainability. Enhanced keyboard navigation handling in useKeyboardNavigation hook and corresponding tests.

* Simplifying a few things. Enter doesn't do that much anymore

* fix merge

---------

Co-authored-by: Franco Banfi <62450599+FBanfi@users.noreply.github.com>
Co-authored-by: francobanfi <franco.banfi@external.contentful.com>

* Tooltip fix for bulk edit [MAPS-57] (#10148)

* fix

* wip

* Workaround to make both things work

* adding more field editors

* adding test for entry utils content type mapper

* refactors + removing createLocales

* parsing the value for the different editors

* setting truncation to display fields

* adding more tests

* pr comments

* format changes between conflicts resolution

* changing utils file name

---------

Co-authored-by: JuliRossi <juliana.rossi@external.contentful.com>

---------

Co-authored-by: JuliRossi <juliana.rossi@external.contentful.com>

* Bulk edit: Refactor display names [MAPS-78] (#10205)

* refactor to reuse existing display value method

* refactor for getFieldDisplayValue method

* refactor in the getEntryFieldValue method

* removing test

* Bulk Edit: Customize the Boolean editor label with user settings [MAPS-86] (#10210)

* first version of the customizable boolean labels

* refactor to use useSdk hook

* adding tests and some refactors

* fixing pr comments

* removing unused imports

* Bulk Edit: Alternative appearances [MAPS-54] (#10219)

* first version of the customizable boolean labels

* refactor to use useSdk hook

* fixing pr comments

* removing unused imports

* adding alternative appearances for field editors

* Bulk edit: Add field validations [MAPS-52] (#10221)

* Add field validations

* Address PR comments

- Remove duplicated debounced value
- Updated the way error messages are displayed so they're consistent with errors from the field editors
- Removed redundant isValid property

* Bulk edit v2 fixes [MAPS-22] (#10229)

* Run validations for items

* Remove value from update if empty

---------

Co-authored-by: Franco Banfi <62450599+FBanfi@users.noreply.github.com>
Co-authored-by: JuliRossi <juliana.rossi@external.contentful.com>
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.

3 participants