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

[Metrics] Update ActionsMenu create alert styles #102316

Conversation

formgeist
Copy link
Contributor

Summary

The ActionsMenu popover in the waffle map table view had the "create alert" option show in text color because the SectionLink requires a href prop to show in the primary color. Added the color and icon to the link to align with other implementations in Metrics. Also added some divider between the main links and the alert link.

On a related note, the label will be updated by #100918

Before

Screenshot 2021-06-16 at 12 13 12

After

Screenshot 2021-06-16 at 12 12 37

@formgeist formgeist added enhancement New value added to drive a business result Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services release_note:skip Skip the PR/issue when compiling release notes polish v7.14.0 auto-backport Deprecated - use backport:version if exact versions are needed labels Jun 16, 2021
@formgeist formgeist self-assigned this Jun 16, 2021
@formgeist formgeist requested a review from a team as a code owner June 16, 2021 10:17
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@formgeist
Copy link
Contributor Author

@elasticmachine merge upstream

@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
infra 1.7MB 1.7MB +254.0B

History

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

cc @formgeist

@formgeist
Copy link
Contributor Author

@katefarrar WDYT about the changes?

Copy link
Contributor

@katefarrar katefarrar left a comment

Choose a reason for hiding this comment

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

Looks great. Thanks for doing this @formgeist!

@formgeist formgeist requested a review from a team June 22, 2021 07:11
Copy link
Contributor

@Kerry350 Kerry350 left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM

@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 to kibanamachine/kibana that referenced this pull request Jun 22, 2021
* [Metrics] Add divider in the actions menu
* [Metrics] Add color and icon to the alert link

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@formgeist formgeist deleted the metrics-update-actionsmenu-create-alert-styles branch June 22, 2021 08:10
kibanamachine added a commit that referenced this pull request Jun 22, 2021
* [Metrics] Add divider in the actions menu
* [Metrics] Add color and icon to the alert link

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

Co-authored-by: Casper Hübertz <casper@elastic.co>
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 enhancement New value added to drive a business result Feature:Metrics UI Metrics UI feature polish release_note:skip Skip the PR/issue when compiling release notes Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants