Commit ff9abac
CONSOLE-5091: Upgrade to PatternFly v6.5 with native indeterminate checkbox support
Upgrade to @patternfly/react-table@6.5.0-prerelease.77 which includes native
indeterminate checkbox support via PR patternfly/patternfly-react#12411.
Replace custom DOM manipulation hook with inline useEffect that sets checkbox
indeterminate state directly. This avoids React controlled/uncontrolled input
warnings that occur when passing isIndeterminate as a prop.
Changes:
- Upgrade PatternFly packages to v6.5 prerelease with peer dependency resolutions
- Delete useIndeterminateCheckbox custom hook
- Add inline useEffect in ConsoleDataView for indeterminate state via DOM manipulation
- Fix icon-utils to handle both IconDefinition and IconData formats from PF v6.5
- Add Boolean coercion for checkbox isSelected prop to prevent controlled warnings
- Wrap getDataViewRows in useCallback for performance
- Remove @ts-expect-error comments now that NotificationBadge types variant prop
- Document known reselect dev warning from legacy connect() HOC in kinds.ts
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent f847537 commit ff9abac
12 files changed
Lines changed: 114 additions & 222 deletions
File tree
- frontend
- packages
- console-app/src/components
- data-view
- nodes
- public
- components/masthead
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
338 | 343 | | |
339 | 344 | | |
340 | 345 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
625 | 624 | | |
626 | 625 | | |
| 626 | + | |
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
| |||
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
208 | 207 | | |
209 | 208 | | |
210 | 209 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | 210 | | |
217 | 211 | | |
218 | 212 | | |
| |||
225 | 219 | | |
226 | 220 | | |
227 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
228 | 235 | | |
229 | 236 | | |
230 | 237 | | |
| |||
Lines changed: 0 additions & 95 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
Lines changed: 7 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 97 | + | |
101 | 98 | | |
102 | | - | |
103 | 99 | | |
104 | 100 | | |
105 | 101 | | |
| |||
133 | 129 | | |
134 | 130 | | |
135 | 131 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 132 | + | |
| 133 | + | |
141 | 134 | | |
142 | 135 | | |
143 | 136 | | |
| |||
230 | 223 | | |
231 | 224 | | |
232 | 225 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | 226 | | |
237 | | - | |
238 | | - | |
239 | 227 | | |
240 | 228 | | |
| 229 | + | |
| 230 | + | |
241 | 231 | | |
242 | 232 | | |
243 | 233 | | |
| |||
273 | 263 | | |
274 | 264 | | |
275 | 265 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | 266 | | |
280 | | - | |
281 | | - | |
282 | 267 | | |
283 | 268 | | |
| 269 | + | |
| 270 | + | |
284 | 271 | | |
285 | 272 | | |
286 | 273 | | |
| |||
Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 18 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
669 | | - | |
670 | | - | |
| 668 | + | |
671 | 669 | | |
672 | 670 | | |
673 | 671 | | |
| |||
692 | 690 | | |
693 | 691 | | |
694 | 692 | | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
695 | 708 | | |
696 | 709 | | |
697 | 710 | | |
| |||
904 | 917 | | |
905 | 918 | | |
906 | 919 | | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
| 920 | + | |
919 | 921 | | |
920 | 922 | | |
921 | 923 | | |
| |||
1035 | 1037 | | |
1036 | 1038 | | |
1037 | 1039 | | |
1038 | | - | |
| 1040 | + | |
1039 | 1041 | | |
1040 | 1042 | | |
1041 | 1043 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
18 | 29 | | |
19 | 30 | | |
20 | 31 | | |
| |||
25 | 36 | | |
26 | 37 | | |
27 | 38 | | |
28 | | - | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
778 | | - | |
779 | | - | |
780 | 778 | | |
781 | 779 | | |
782 | 780 | | |
| |||
827 | 825 | | |
828 | 826 | | |
829 | 827 | | |
830 | | - | |
831 | | - | |
832 | 828 | | |
833 | 829 | | |
834 | 830 | | |
| |||
0 commit comments