-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[fleet] Adjust unified integration view to have better UI controls #114692
Conversation
Pinging @elastic/fleet (Team:Fleet) |
@elasticmachine merge upstream |
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.
@clintandrewhall Ideally we would want each card in a row to have uniform height, as observed on original "add data" page.
@dborodyansky Done. |
x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.tsx
Show resolved
Hide resolved
@elasticmachine merge upstream |
@@ -23,9 +23,9 @@ export const CardIcon: React.FunctionComponent<UsePackageIconType & Omit<EuiIcon | |||
) => { | |||
const { icons } = props; | |||
if (icons && icons.length === 1 && icons[0].type === 'eui') { | |||
return <EuiIcon size={'xl'} type={icons[0].src} />; | |||
return <EuiIcon size={'xl'} type={icons[0].src} {...props} />; |
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.
@joshdover This part fixed the spacing. The EUI props weren't being passed down correctly. The EUI source component has a clone in it and this set of pages had some wrappers that were getting in the way.
Ok @joshdover did a little more layout cleanup on this one, but fixed those core issues you noticed. Should be reviewable. Fixed some other low hanging fruit issues while I was in there. Updated the description with a summary and screens. |
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.
Changes LGTM and tested everything locally. Thanks @clintandrewhall and @snide
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @snide |
💔 Backport failed
To backport manually run: |
…lastic#114692) * [fleet] Adjust Package Cards to horizontal layout * Fix responsive shifting * Addressing feedback * cleanup layout for integrations view * i18n * Fix type errors Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dave Snider <dave.snider@gmail.com> Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
…114692) (#115119) * [fleet] Adjust Package Cards to horizontal layout * Fix responsive shifting * Addressing feedback * cleanup layout for integrations view * i18n * Fix type errors Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dave Snider <dave.snider@gmail.com> Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com> Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dave Snider <dave.snider@gmail.com> Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
…lastic#114692) * [fleet] Adjust Package Cards to horizontal layout * Fix responsive shifting * Addressing feedback * cleanup layout for integrations view * i18n * Fix type errors Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dave Snider <dave.snider@gmail.com> Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
Summary
Fixes #114492
Fixes #114824
Part of #93084
Visual cleanup of the intergrations view to fix several UI control related issues.
Search now defaults back to all onchange
Menu is now sticky