Skip to content

[7.x] [Fleet + Integrations UI] Migrate Fleet UI to new tabbed layout (#101828)#102393

Merged
kpollich merged 1 commit intoelastic:7.xfrom
kpollich:backport/7.x/pr-101828
Jun 16, 2021
Merged

[7.x] [Fleet + Integrations UI] Migrate Fleet UI to new tabbed layout (#101828)#102393
kpollich merged 1 commit intoelastic:7.xfrom
kpollich:backport/7.x/pr-101828

Conversation

@kpollich
Copy link
Copy Markdown
Member

Backports the following commits to 7.x:

…tic#101828)

* WIP: Migrate fleet to new page layout system

* Add 'Add Agent' button to agents table

* Fix flyout import in search and filter bar

* Place settings/feedback in header

* Move actions to top nav

* Fix i18n + types + unit test failures

* Remove unused props in DefaultLayout

* Fix background height in Fleet layout

This is fixed through a hack for now, because Kibana's layout doesn't
allow apps to flex the top-level wrapper via `flex: 1`. The same
behavior reported in the original issue (elastic#101781) is present in all
other Kibana apps.

Fixes elastic#101781

* Use euiHeaderHeightCompensation for min-height calc

* Move settings portal to app component

* Fix agent details URL in failing unit test

* Remove unreferenced overview files + update functional tests

* Remove unneeded fragment

* Remove beta badges in Fleet + Integrations

Fixes elastic#100731

* Fix i18n

* Fix page path reference

* Fix failing tests

* Re-fix i18n post merge

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json
@kpollich kpollich added the backport This PR is a backport of another PR label Jun 16, 2021
@kpollich kpollich enabled auto-merge (squash) June 16, 2021 17:45
@spalger
Copy link
Copy Markdown
Contributor

spalger commented Jun 16, 2021

jenkins, test this

(restarting due to jenkins upgrade)

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
fleet 476 468 -8

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
fleet 1010 1011 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 704.9KB 677.8KB -27.1KB
osquery 840.7KB 840.7KB -12.0B
securitySolution 6.9MB 6.9MB -36.0B
total -27.2KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
fleet 435.8KB 435.6KB -276.0B
Unknown metric groups

API count

id before after diff
fleet 1101 1102 +1

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kpollich kpollich merged commit 49cc723 into elastic:7.x Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants