-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Expand add panels flyout and increase default rows per page #30508
Conversation
Co-Authored-By: flash1293 <[email protected]>
Pinging @elastic/kibana-app |
💔 Build Failed |
If we're messing with that add vis flyout, for the same reason I mentioned over here, we should consider using the EuiListGroup instead of the table to display the results. It does mean doing more manual hook up with the search and pagination, but it's both a better DOM element and a better click area. |
@cchaos In #27985 we are thinking about to get rid of the tabs and use a unified list of saved objects instead. Would it make sense to move this requirement over to #27985 since we are touching the component there anyway? Edit: The alternative would be to treat it as a separate issue @timroes created ( #30532 ) and do it ASAP for 7.0 |
💔 Build Failed |
Jenkins, test this. Infra down |
💚 Build Succeeded |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sound good, thanks!
💚 Build Succeeded |
Summary
Builds on #30067 (has to be merged first).
Fixes #30356
This PR switches from a small flyout for the add panel to a medium one. To better use the space of the flyout, 15 instead of 10 items per page are shown as default (they fit on a 13inch non-retina screen).
The default items per page are configurable via
initialPageSize
to make SavedObjectFinder usable in other environments where space is small.FYI @maryia-lapata
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support- [ ] Documentation was added for features that require explanation or tutorials- [ ] Unit or functional tests were updated or added to match the most common scenarios- [ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers
- [ ] This was checked for breaking API changes and was labeled appropriately- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately