Skip to content

[Security Solution] [Endpoint] Fleet summary card adjustments#114291

Merged
dasansol92 merged 5 commits intoelastic:masterfrom
dasansol92:fix/olm-fleet_summary_card_adjustments-1830
Oct 13, 2021
Merged

[Security Solution] [Endpoint] Fleet summary card adjustments#114291
dasansol92 merged 5 commits intoelastic:masterfrom
dasansol92:fix/olm-fleet_summary_card_adjustments-1830

Conversation

@dasansol92
Copy link
Contributor

@dasansol92 dasansol92 commented Oct 7, 2021

Summary

  • Fix API call - missed parents.
  • Adjust design when is small - displays only the total count:

Screenshot 2021-10-13 at 12 47 13

For maintainers

@dasansol92 dasansol92 added v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution auto-backport Deprecated - use backport:version if exact versions are needed v7.16.0 labels Oct 7, 2021
Copy link
Contributor

@paul-tavares paul-tavares left a comment

Choose a reason for hiding this comment

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

🚢

@dasansol92 dasansol92 marked this pull request as ready for review October 13, 2021 07:54
@dasansol92 dasansol92 requested a review from a team as a code owner October 13, 2021 07:54
@dasansol92 dasansol92 requested a review from academo October 13, 2021 07:54
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt)

@dasansol92 dasansol92 marked this pull request as draft October 13, 2021 07:54
@dasansol92
Copy link
Contributor Author

@elasticmachine merge upstream

Copy link
Contributor

@academo academo left a comment

Choose a reason for hiding this comment

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

You get a 🐑 of approval.

Suggestion: is there an unit test you can add to cover the isSmall case?

@dasansol92
Copy link
Contributor Author

@academo @paul-tavares Did a small refactor in fleet-trusted-apps-card component

@dasansol92 dasansol92 marked this pull request as ready for review October 13, 2021 10:47
@kibanamachine
Copy link
Contributor

💚 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
securitySolution 4.6MB 4.6MB +972.0B

History

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

`;

export const StyledEuiFlexItem = styled(EuiFlexItem)`
flex-direction: row-reverse;
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought that EuiFlexItem allowed you to do this via a prop already

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unfortunately not, only for the EuiFlexGroup one.

Copy link
Contributor

@paul-tavares paul-tavares left a comment

Choose a reason for hiding this comment

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

Small comment, but 👍 🚢

@dasansol92 dasansol92 merged commit b86bf83 into elastic:master Oct 13, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Oct 13, 2021
…c#114291)

* Fix API call and refactor component to show different summary when size is small

* Refactored fleet trusted app card with new m design

* Removed unused code

* fix ts error

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.

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)
  ...
kibanamachine added a commit that referenced this pull request Oct 13, 2021
… (#114826)

* Fix API call and refactor component to show different summary when size is small

* Refactored fleet trusted app card with new m design

* Removed unused code

* fix ts error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: David Sánchez <davidsansol92@gmail.com>
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:Defend Workflows “EDR Workflows” sub-team of Security Solution v7.16.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants