Skip to content
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] Fix add fleet server flow from agent policy page #149507

Merged
merged 4 commits into from
Jan 26, 2023

Conversation

nchaulet
Copy link
Member

@nchaulet nchaulet commented Jan 25, 2023

Summary

Resolve #143519

Fix the add Fleet server flow from the agent policy flow

UI Changes

On click on Add Fleet Server

Before

Screen Shot 2023-01-25 at 8 49 52 AM

After

Screen Shot 2023-01-25 at 8 49 52 AM

@nchaulet nchaulet added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.7.0 8.6.1 labels Jan 25, 2023
@nchaulet nchaulet self-assigned this Jan 25, 2023
@nchaulet nchaulet requested a review from a team as a code owner January 25, 2023 12:51
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@nchaulet nchaulet added v8.6.1 and removed 8.6.1 labels Jan 25, 2023
@nchaulet
Copy link
Member Author

@elasticmachine merge upstream

@criamico
Copy link
Contributor

@nchaulet I tested locally and I'm seeing some flickering in the flyout when clicking on "add agent":

Flickering.mov

I remember having this issue when I was working on the flyout last year, it probably depends on the order which the flags are evaluated.

@nchaulet
Copy link
Member Author

@criamico I just pushed a fix for the flickering case let me know if it's working for you

Copy link
Contributor

@criamico criamico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚢

@nchaulet nchaulet enabled auto-merge (squash) January 26, 2023 15:01
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

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

id before after diff
fleet 921.6KB 921.6KB +13.0B

History

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

cc @nchaulet

@nchaulet nchaulet merged commit da83d96 into elastic:main Jan 26, 2023
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 26, 2023
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.6

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jan 26, 2023
…) (#149605)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[Fleet] Fix add fleet server flow from agent policy page
(#149507)](#149507)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-01-26T15:55:36Z","message":"[Fleet]
Fix add fleet server flow from agent policy page
(#149507)","sha":"da83d96ff65a3ad5f56d350576e6c4811e5f26af","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.7.0","v8.6.1"],"number":149507,"url":"https://github.com/elastic/kibana/pull/149507","mergeCommit":{"message":"[Fleet]
Fix add fleet server flow from agent policy page
(#149507)","sha":"da83d96ff65a3ad5f56d350576e6c4811e5f26af"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149507","number":149507,"mergeCommit":{"message":"[Fleet]
Fix add fleet server flow from agent policy page
(#149507)","sha":"da83d96ff65a3ad5f56d350576e6c4811e5f26af"}},{"branch":"8.6","label":"v8.6.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <[email protected]>
kqualters-elastic pushed a commit to kqualters-elastic/kibana that referenced this pull request Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.6.1 v8.7.0
Projects
None yet
5 participants