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] Add Integration Policy Page Improvements #114556

Merged
merged 12 commits into from
Oct 13, 2021

Conversation

hop-dev
Copy link
Contributor

@hop-dev hop-dev commented Oct 11, 2021

Summary

I am breaking #112626 into smaller PRs to make it more reviewable.

This PR has the following changes:

Policy Page

  • instead of showing 0 agents, show add agents link
  • Change text above agent count to just "agents"
  • add showAddAgentHelp=true query param to control popover visibility (this will be used in a later PR)

Figma designs https://www.figma.com/file/RVYNk5W3gyJdWOGDj8ixPH/Fleet?node-id=1486%3A279812

Screenshot 2021-10-12 at 18 04 36

Package policies page

  • add showAddAgentHelpForPolicyId=1234 query param to show help popover for a given policy

Figma designs: https://www.figma.com/file/RVYNk5W3gyJdWOGDj8ixPH/Fleet?node-id=1546%3A291020

Screenshot 2021-10-12 at 18 13 27

Checklist

Delete any items that are not applicable to this PR.

@hop-dev hop-dev added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team auto-backport Deprecated - use backport:version if exact versions are needed v7.16.0 labels Oct 11, 2021
@hop-dev hop-dev self-assigned this Oct 11, 2021
@hop-dev hop-dev force-pushed the 112626-policy-page-changes branch from 07734a5 to f75d850 Compare October 12, 2021 09:54
@hop-dev hop-dev marked this pull request as ready for review October 12, 2021 12:28
@hop-dev hop-dev requested a review from a team as a code owner October 12, 2021 12:28
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@dborodyansky
Copy link
Contributor

Great call @snide. I referenced EuiTour in the design doc, but seem to have used incorrect component in Figma design. (Sidenote: I don't think we have EuiTour in Figma library yet)

@hop-dev The version Dave presented with footer button would be preferred IMO. Thank you

Co-authored-by: Dave Snider <dave.snider@gmail.com>
@hop-dev
Copy link
Contributor Author

hop-dev commented Oct 12, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
fleet 578 579 +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 626.0KB 628.1KB +2.1KB

History

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

cc @hop-dev

Copy link
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

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

Tested locally and looks good to me 🚀

Copy link
Contributor

@snide snide left a comment

Choose a reason for hiding this comment

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

My comments were all resolved. LGTM.

@hop-dev hop-dev merged commit 62d39cc into elastic:master Oct 13, 2021
@hop-dev hop-dev deleted the 112626-policy-page-changes branch October 13, 2021 08:10
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Oct 13, 2021
* Show add agent link instead of 0 agents

* Add popover

* open and close popover

* fill button

* add popover to agent cell

* PR feedback

* only add offset to props if it's provided

* make code clearer

* Update x-pack/plugins/fleet/public/components/add_agent_help_popover.tsx

Co-authored-by: Dave Snider <dave.snider@gmail.com>

* remove unused import

* whitespace

Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Oct 13, 2021
* Show add agent link instead of 0 agents

* Add popover

* open and close popover

* fill button

* add popover to agent cell

* PR feedback

* only add offset to props if it's provided

* make code clearer

* Update x-pack/plugins/fleet/public/components/add_agent_help_popover.tsx

Co-authored-by: Dave Snider <dave.snider@gmail.com>

* remove unused import

* whitespace

Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
jloleysens added a commit to jloleysens/kibana that referenced this pull request Oct 13, 2021
…ide-users-to-saving-ux

* 'master' of github.com:elastic/kibana: (133 commits)
  [DOCS] Indicate reports are a subscription feature (elastic#114653)
  Update namespace for indices (elastic#114612)
  [DOCS] Adds Logstash pipeline settings (elastic#114648)
  Bump EPR snapshot version used for tests (elastic#114529)
  [Security Solution] [Endpoint] Fleet summary card adjustments (elastic#114291)
  skip flaky suite (elastic#68400)
  [Visualizations] fix usage of optional dependencies (elastic#114286)
  [Security Solution] [Detections] Improves custom query rule upgrade test (elastic#114454)
  [fleet] Add Integration Preference selector (elastic#114432)
  [Reporting] Add new `data-render-error` attribute (elastic#114472)
  Replace EuiCodeEditor with CodeEditor in app-services code (elastic#114316)
  [data views] add getDefaultDataView method  (elastic#113891)
  [Security Solution] [Endpoint] Event filters uses the new card design (elastic#114126)
  [fleet] Tweak Header UI (elastic#114704)
  [APM] Filter on tx metrics for instance stats (elastic#114758)
  [APM] Fix typo in linting docs (elastic#114764)
  [Discover] Removing SavedObject usage for savedSearch (elastic#112983)
  [Fleet] Add Integration Policy Page Improvements (elastic#114556)
  [Lens] Keep the custom label when transitioning to/from Formula (elastic#114270)
  [Security Solution][Endpoint] Host Isolation API changes (elastic#113621)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants