-
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] Add assets tab #102517
[Fleet] Add assets tab #102517
Conversation
Pinging @elastic/fleet (Feature:Fleet) |
Pinging @elastic/fleet (Team:Fleet) |
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.
A few minor points, and one blocking question about a to-do comment. Looking great!
...s/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx
Show resolved
Hide resolved
...plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx
Outdated
Show resolved
Hide resolved
...plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/fleet/public/components/agent_enrollment_flyout/managed_instructions.tsx
Show resolved
Hide resolved
… relevant code closer together
…ets-tab * 'master' of github.com:elastic/kibana: (93 commits) [ML] Remove blank job definition as it is unused and out-of-sync with Elasticsearch (elastic#102506) [Lens] Fix wrong error detection on transition to Top values operation (elastic#102384) [ML] Anomaly detection job custom_settings improvements (elastic#102099) [Cases] Route: Get all alerts attach to a case (elastic#101878) Fixes wrong list exception type when creating endpoint event filters list (elastic#102522) remove search bar that's not working yet (elastic#102550) Migrated Ingest Node Pipeline Functional Tests to use test_user (elastic#102409) [Maps] clean up feature editing name space to avoid conflicts with layer settings editing (elastic#102516) [canvas] Refactor Storybook from bespoke to standard configuration (elastic#101962) [Security Solution] adds wrapSequences method (RAC) (elastic#102106) [FTR] Stabilize SSLP functional tests (elastic#102553) [K8] Added `Inter` font files for new theme (elastic#102359) [Workplace Search] Convert Groups pages to new page template (elastic#102449) [DOC] Add experimental disclaimer to rollup jobs (elastic#95624) [Security Solution][Endpoint] Suppress some of the jest console.error noise created by endpoint list middelware (elastic#102535) [Fleet] Improve performance of Fleet setup (elastic#102219) [Alerting] Add event log entry when a rule starts executing (elastic#102001) [Fleet] Update docker image of registry used in integration tests (elastic#101911) [Asset Management] Osquery telemetry updates (elastic#100754) Converts saved object tagging to new management layout (elastic#102284) ... # Conflicts: # x-pack/plugins/fleet/kibana.json
@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.
Stepped through everything locally from square one with the Nginx integration. Everything worked great! Thanks for resolving the few previous comments I had. Everything looks good to me here
return http.basePath.prepend(`${KIBANA_BASE_PATH}#${path}`); | ||
}; | ||
|
||
/** |
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.
Appreciate the callouts here on these stopgap solutions 👍
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've created this issue for visibility, #102740
...plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx
Outdated
Show resolved
Hide resolved
...plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx
Outdated
Show resolved
Hide resolved
...plugins/fleet/public/applications/integrations/sections/epm/screens/detail/assets/assets.tsx
Outdated
Show resolved
Hide resolved
...eet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx
Outdated
Show resolved
Hide resolved
...eet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx
Outdated
Show resolved
Hide resolved
...eet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx
Outdated
Show resolved
Hide resolved
...eet/public/applications/integrations/sections/epm/screens/detail/assets/assets_accordion.tsx
Outdated
Show resolved
Hide resolved
Thanks for the review @hbharding ! I think I've addressed all of your feedback. Would you mind taking another look? |
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
Hi @EricDavisX As per proposed functionality we have created below 05 testcases to validate the above mentioned feature. Please have a review and let us know if anything else is required. Thanks |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @jloleysens |
@hbharding I am going to go ahead and merge this so long, happy to take on any further design feedback you have for this PR on a follow up 🍻 ! |
* very wip * added new assets screen * added routes to new assets view on the package details view * Finished styling the assets page layout, need to work on adding links * rather use EuiHorizontalRule * only show the assets tab if installed * Added hacky version of linking to assets. * added comment about deprecation of current linking functionality * added an initial version of the success toast with a link to the agent flyout * First iteration of end-to-end UX working. Need to add a lot of tests! * fixed navigation bug and added a comment * added a lot more padding to bottom of form * restructured code for clarity, updated deprecation comments and moved relevant code closer together * added a longer form comment about the origin policyId * added logic for handling load error * refactor assets accordions out of assets page component * slightly larger text in badge * added some basic jest test for view data step in enrollment flyout * adjusted sizing of numbers in badges again, EuiText does not know about size="l" * updated size limits for fleet * updated styling and layout of assets accordion based on original designs * remove unused EuiTitle Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
* very wip * added new assets screen * added routes to new assets view on the package details view * Finished styling the assets page layout, need to work on adding links * rather use EuiHorizontalRule * only show the assets tab if installed * Added hacky version of linking to assets. * added comment about deprecation of current linking functionality * added an initial version of the success toast with a link to the agent flyout * First iteration of end-to-end UX working. Need to add a lot of tests! * fixed navigation bug and added a comment * added a lot more padding to bottom of form * restructured code for clarity, updated deprecation comments and moved relevant code closer together * added a longer form comment about the origin policyId * added logic for handling load error * refactor assets accordions out of assets page component * slightly larger text in badge * added some basic jest test for view data step in enrollment flyout * adjusted sizing of numbers in badges again, EuiText does not know about size="l" * updated size limits for fleet * updated styling and layout of assets accordion based on original designs * remove unused EuiTitle Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Hi @EricDavisX We have validated features on 7.14BC1 and found one issue that is not working fine. Reported issue link on this feature is as follows: Further, Please find test cases execution under below mentioned test run. Thanks |
Summary
Add the "Assets" tab to the integration details view.
How to test
To reviewers
x-pack/plugins/fleet/public/hooks/use_kibana_link.ts
).Screenshots
Package not yet added (should be the same as before since we have not installed the package)
Success toast after adding a package with link
New flyout with "Add assets link"
New "Assets" tab with sections expanded and links implemented
Checklist
Risk Matrix
When forming the risk matrix, consider some of the following examples and how they may potentially impact the change: