-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Move integrations to a separate app #99848
Conversation
Edit: Fixed the tests mentioned here
|
e18ca4b
to
d48b017
Compare
d48b017
to
b67d3d4
Compare
Pinging @elastic/fleet (Team:Fleet) |
Edit: This was resolved in a310e4a Getting an odd test failure that I could use a second set of eyes on in the latest here (appears in a few tests) - seems like some kind of issue with the context components. For some reason this
|
@@ -6,3 +6,4 @@ | |||
*/ | |||
|
|||
export const PLUGIN_ID = 'fleet'; | |||
export const INTEGRATIONS_PLUGIN_ID = 'integrations'; |
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.
Do we plan to move integrations to a different plugin? or it will always be an app inside the fleet plugin?
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.
I think the plan would be to eventually move it to a separate plugin entirely.
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.
later on it may become separate, but that's not firmly decided at this point
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.
Great work so far @kpollich !
I left a few comments in the code, not any blockers for now.
I tested locally and saw the following behaviour when view an integration package:
It looks like this is one of the markdown renderers (https://github.com/kpollich/kibana/blob/b174e639dab53190c1393f1f7519cd9b259ac46d/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/markdown_renderers.tsx#L62) receiving an unknown language $json
. Not sure whether this is a known problem?
x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/index.ts
Show resolved
Hide resolved
This is peculiar, I tried running this test and was not able to reproduce it locally. |
My mistake - this was resolved late in the day yesterday over Slack in a310e4a and I didn't update the initial comment. |
@jloleysens looks like this a known issue as of a few minutes ago. Something upstream. #101168 |
fb0ecc2
to
4bc15a6
Compare
@jen-huang I've added screenshots + notes for each major UI change to the PR description as requested. |
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.
limits.yml LGTM
@elasticmachine merge upstream |
Thanks @kpollich this is a great start and I appreciate the before/after screenshots. I haven't tested this locally, but I noticed a few layout + minor details in looking at the screenshots. I'll summarize here, and i've included annotated screenshots below for more detail. Also, just in case, here's the link to the Figma designs
|
Thanks so much for this, @hbharding - extremely helpful and actionable feedback. I've just pushed up fixes for everything here, and I'm including screenshots of the updates below. Thanks again! |
💚 Build SucceededMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
async chunk count
History
To update your PR or re-run it, just comment with: cc @kpollich |
💔 Backport failed
To backport manually run: |
* WIP: Re-create separation of integrations app * Fix breadcrumbs * Fix add integration button/routing * Fix integrations test paths * Fix failing policy tab tests * Fix type errors * Fix more type errors * Fix integrations home page redirect * Fix circular import * Fix i18n errors * Fix FTR paths * Fix more deep fleet import paths * Remove unneeded state set * Fix more type errors * Fix failing security_solutions tests * Address redirect back path todo * Fix page path in FTR * Fix type error * 🤞 Fix FTR failures * Fix package details path in endpoint tests * Fix test import * Fix add integration route + breadcrumbs * Fix missing layout for create package policy page * Fixup Kibana feature declaration + fix app registry arrays * Fix Kibana startup error from feature registration * Fix telemetry schema * Remove integrations from privilege tests * Increase Fleet bundle limit by 20kb to fix CI error * Use correct updated Fleet bundle limit * Update limits.yml via script * Address design feedback * Fix i18n error * Fix failing security solution tests * Fix type error Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # packages/kbn-optimizer/limits.yml
* master: (90 commits) Fix UI breaks on providing long search keyword in 'Search Box' (elastic#101385) Adds css class to EuiDescriptionListDescription in order to break word on exception details card (elastic#101481) [Lens] Increase timings for drag and drop tests (elastic#101380) [Lens] Fix editor react error on configuration panel (elastic#101367) [Fleet] Move integrations to a separate app (elastic#99848) Fix incorrect message displayed on importing Timeline Templates (elastic#101288) [Cases] RBAC (elastic#95058) [APM] Visual improvements for new APM layout with left navigation (elastic#101360) [master] More precise alerts matching (elastic#99820) [Lens] Value in legend (elastic#101353) Revert "[Reporting] ILM policy for managing reporting indices (elastic#100130)" (elastic#101358) [Discover] Fix header row of data grid in Firefox (elastic#101374) Add link to advanced setting in Discover (elastic#101154) Url service locators (elastic#101045) [Timelion] Update the removal message to mention the exact version (elastic#100994) [Security Solution][Detection Engine] Test cases for alias failure test cases where we don't copy aliases correctly (elastic#101437) [Event Log] Adding `type_id` to saved object array in event log (elastic#100939) [Reporting] Add `location.url` info to console message logs (elastic#101427) [Security Solutions][Detection Engine] Fixes timestamp bugs within source indexes when the formats are not ISO8601 format (elastic#101349) Improve Task Manager instrumentation (elastic#99160) ...
* WIP: Re-create separation of integrations app * Fix breadcrumbs * Fix add integration button/routing * Fix integrations test paths * Fix failing policy tab tests * Fix type errors * Fix more type errors * Fix integrations home page redirect * Fix circular import * Fix i18n errors * Fix FTR paths * Fix more deep fleet import paths * Remove unneeded state set * Fix more type errors * Fix failing security_solutions tests * Address redirect back path todo * Fix page path in FTR * Fix type error * 🤞 Fix FTR failures * Fix package details path in endpoint tests * Fix test import * Fix add integration route + breadcrumbs * Fix missing layout for create package policy page * Fixup Kibana feature declaration + fix app registry arrays * Fix Kibana startup error from feature registration * Fix telemetry schema * Remove integrations from privilege tests * Increase Fleet bundle limit by 20kb to fix CI error * Use correct updated Fleet bundle limit * Update limits.yml via script * Address design feedback * Fix i18n error * Fix failing security solution tests * Fix type error Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # packages/kbn-optimizer/limits.yml
This is the initial work required to move the Integrations UI out into its own Fleet app. The goal here is to allow us to make room for substantially expanding and rethinking what Integrations are and what they do.
A large chunk of this work came from referencing @jen-huang's POC branch from a few months ago: https://github.com/jen-huang/kibana/tree/poc/integrations-ui.
This commit moves the
sections/epm
directory from the Fleet application to a new Integrations application, still within the Fleet codebase. This should be considered the first step, and it's likely that we'll want to consider moving Integrations to its own plugin entirely at a later date.This PR addresses the following tasks in the parent tracking issue:
Screenshot Comparison