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

[Uptime] Alert creation popover improvements #77589

Closed
2 tasks
formgeist opened this issue Sep 16, 2020 · 7 comments · Fixed by #77633
Closed
2 tasks

[Uptime] Alert creation popover improvements #77589

formgeist opened this issue Sep 16, 2020 · 7 comments · Fixed by #77633
Assignees
Labels
enhancement New value added to drive a business result Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability

Comments

@formgeist
Copy link
Contributor

formgeist commented Sep 16, 2020

Kibana version: master

Summary

There's a few enhancements we can add to make the popover consistent with the other Observability apps.

  • The title of the popover for alerts displays a generic "main panel" title. It should say "Alerts" like the button link that invoked the popover.
  • The padding inside the popover looks off, compared to the default popover.

Screenshot 2020-09-16 at 11 53 41

Example from APM

Screenshot 2020-09-16 at 11 55 21

APM will change the active alerts link to be consistent

@formgeist formgeist added enhancement New value added to drive a business result Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability labels Sep 16, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@formgeist formgeist changed the title [Uptime] Alert creation popover displays title "Main panel" [Uptime] Alert creation popover improvements Sep 16, 2020
@hbharding
Copy link
Contributor

It looks to me like the first screenshot could be missing panelPaddingSize="none" on the EuiPopover.

A few other things worth considering:

  • I'm wondering if the "Alerts" title is necessary in the 1st level of the context menu since it's the same text that the user clicks to activate the context menu. Feels a little redundant and adds an extra item the user needs to process. Logs and Metrics don't use a title in the 1st level of the context menu.
  • Our usage of icons is inconsistent. For example, in APM the items which lead to a nested panel don't use icons, whereas Uptime uses the "alert" icon.
  • Our language is inconsistent. For example "View active alerts" vs "Manage alerts". Also, some items begin with an action verb like "view" or "create", whereas others items do not.

@justinkambic justinkambic self-assigned this Sep 16, 2020
@justinkambic
Copy link
Contributor

justinkambic commented Sep 16, 2020

I'm wondering if the "Alerts" title is necessary in the 1st level of the context menu since it's the same text that the user clicks to activate the context menu. Feels a little redundant and adds an extra item the user needs to process. Logs and Metrics don't use a title in the 1st level of the context menu.

I'm inclined to agree, I like it better with no title. It avoids redundancy.

Our usage of icons is inconsistent. For example, in APM the items which lead to a nested panel don't use icons, whereas Uptime uses the "alert" icon.

I personally prefer to have icons for each of the items displayed, as I tend to zero in on the icon and look at the text if I need further information.

Our language is inconsistent. For example "View active alerts" vs "Manage alerts". Also, some items begin with an action verb like "view" or "create", whereas others items do not.

I am open to either of these alternatives as in practice the meaning is equivalent, but it's better to keep them synchronized. In my opinion, "Manage alerts" is more general and less prone to causing confusion, and I think this copy did originally come from design.

I will add a PR and we can tweak as needed.

EDIT

PR is here: #77633

@formgeist
Copy link
Contributor Author

I'm inclined to agree, I like it better with no title. It avoids redundancy.

I tested out your PR, and I think the transition from parent to child view in the nested panel works fine. I'm just so used to having the title there for those cases where we have nested items.

Our usage of icons is inconsistent. For example, in APM the items which lead to a nested panel don't use icons, whereas Uptime uses the "alert" icon.

I personally prefer to have icons for each of the items displayed, as I tend to zero in on the icon and look at the text if I need further information.

I didn't add icons for Transaction nor Error (unless you think they should have the bell icon?) because they quickly become hard to manage when we add more alert types. Same for the nested options where you have "create", having a repeated add icon doesn't help me as a user. We could also do away with the manage icon and keep it clean.

Our language is inconsistent. For example "View active alerts" vs "Manage alerts". Also, some items begin with an action verb like "view" or "create", whereas others items do not.

I am open to either of these alternatives as in practice the meaning is equivalent, but it's better to keep them synchronized. In my opinion, "Manage alerts" is more general and less prone to causing confusion, and I think this copy did originally come from design.

We (APM) just need to change to Manage alerts - we use the same in the Observability overview page, so it's just a legacy link from our Watcher integration.

@justinkambic
Copy link
Contributor

I didn't add icons for Transaction nor Error (unless you think they should have the bell icon?) because they quickly become hard to manage when we add more alert types. Same for the nested options where you have "create", having a repeated add icon doesn't help me as a user. We could also do away with the manage icon and keep it clean.

That's true - we are going to be adding alerts for synthetics in the future. Should we remove icons altogether? I believe at least the ones on the top menu were included based on design spec.

@justinkambic
Copy link
Contributor

@formgeist I've added you as a reviewer to #77633, LMK if you want me to remove icons as part of this patch or if we should table it for a later discussion.

@formgeist
Copy link
Contributor Author

@justinkambic Sounds good to me, let's tackle the icons in another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants