-
Notifications
You must be signed in to change notification settings - Fork 839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EuiBasicTable][EuiInMemoryTable][EuiDataGrid] Update to use EuiTablePagination
component defaults
#6993
[EuiBasicTable][EuiInMemoryTable][EuiDataGrid] Update to use EuiTablePagination
component defaults
#6993
Commits on Aug 1, 2023
-
Refactor EuiTablePagination defaults to a separate file
- will be required/used by tables & grids shortly - hook is an extra syntactical sugar bonus that *should* only be needed by this specific table pagination use case
Configuration menu - View commit details
-
Copy full SHA for c3adb11 - Browse repository at this point
Copy the full SHA c3adb11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34bb285 - Browse repository at this point
Copy the full SHA 34bb285View commit details -
[breaking] Change EuiTablePagination's defaults to match basic/memory…
… table's defaults - these higher level components are the ones actually using these defaults anyway; we should defer to current production usage
Configuration menu - View commit details
-
Copy full SHA for 4f5f219 - Browse repository at this point
Copy the full SHA 4f5f219View commit details -
Update EuiInMemoryTable to use EuiTablePagination defaults
- requires some class-specific syntax/workarounds
Configuration menu - View commit details
-
Copy full SHA for 40ae0a8 - Browse repository at this point
Copy the full SHA 40ae0a8View commit details -
[tech debt] Fix remaining EuiInMemoryTable pagination tests
- pagination now requires the correct context provider, which our RTL render provides by default but Enzyme doesn't - we might as well reduce our snapshot footprint and write more specific assertions while here (note: this isn't perfect/complete, but it's a good start)
Configuration menu - View commit details
-
Copy full SHA for 89828a5 - Browse repository at this point
Copy the full SHA 89828a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81aeac6 - Browse repository at this point
Copy the full SHA 81aeac6View commit details -
[EuiDataGrid] Convert pagination to use EuiProvider
componentDefaults
+ update props documentation
Configuration menu - View commit details
-
Copy full SHA for 6ff1312 - Browse repository at this point
Copy the full SHA 6ff1312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4692049 - Browse repository at this point
Copy the full SHA 4692049View commit details -
[EuiDataGrid] Fix remaining grid usages of
pageSize
- anything that gets the current visible row index (e.g. focus) needs pageSize propagated from defaults + update types to reflect that internal `pagination` references should have all required props
Configuration menu - View commit details
-
Copy full SHA for ce262d0 - Browse repository at this point
Copy the full SHA ce262d0View commit details -
[docs] Update all EuiDataGrid examples to remove unnecessary `pageSiz…
…e` / `pageSizeOptions` props - there's a few left, e.g. virtualization, and the focus example, where custom page sizes makes sense, but overall most do not need to set a custom page size
Configuration menu - View commit details
-
Copy full SHA for 19cf73b - Browse repository at this point
Copy the full SHA 19cf73bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a69b3f5 - Browse repository at this point
Copy the full SHA a69b3f5View commit details -
[docs] Fix EuiBasicTable/EuiInMemoryTable props tabs not correctly lo…
…ading `@default`s
Configuration menu - View commit details
-
Copy full SHA for 84899e8 - Browse repository at this point
Copy the full SHA 84899e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b2e9a0 - Browse repository at this point
Copy the full SHA 8b2e9a0View commit details