Commit be33be3
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>1 parent 4337f57 commit be33be3
File tree
17 files changed
+8342
-393
lines changed- apps/bulk-edit
- src/locations/Page
- components
- utils
- test/locations/Page
17 files changed
+8342
-393
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
| |||
Lines changed: 24 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
13 | 5 | | |
| 6 | + | |
| 7 | + | |
14 | 8 | | |
15 | 9 | | |
16 | 10 | | |
17 | 11 | | |
18 | 12 | | |
19 | 13 | | |
20 | 14 | | |
21 | | - | |
| 15 | + | |
22 | 16 | | |
23 | 17 | | |
24 | 18 | | |
| |||
30 | 24 | | |
31 | 25 | | |
32 | 26 | | |
33 | | - | |
| 27 | + | |
34 | 28 | | |
35 | 29 | | |
36 | 30 | | |
37 | 31 | | |
38 | | - | |
| 32 | + | |
39 | 33 | | |
40 | 34 | | |
41 | 35 | | |
42 | | - | |
43 | | - | |
| 36 | + | |
| 37 | + | |
44 | 38 | | |
45 | 39 | | |
46 | 40 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 41 | | |
51 | 42 | | |
52 | 43 | | |
| |||
66 | 57 | | |
67 | 58 | | |
68 | 59 | | |
69 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
70 | 63 | | |
71 | 64 | | |
72 | 65 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
87 | 75 | | |
88 | 76 | | |
89 | 77 | | |
| |||
103 | 91 | | |
104 | 92 | | |
105 | 93 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 94 | + | |
| 95 | + | |
112 | 96 | | |
113 | 97 | | |
114 | 98 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 87 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments