-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Alerting] License Errors on Alert List View #89920
Conversation
…ing/licensing-ux
…ing/licensing-ux
…ing/licensing-ux
…ing/licensing-ux
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome UX now! Code LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! Super tiny nit regarding the button parenthesis (but Gail might disagree).
Also, I think it might be worthwhile tweaking the column widths so there's more room for the alert title. Setting the tableLayout
to auto
might be enough, but I also remember us going through a PR for this previously.
...ugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arisonl Can you please review the licensing text in this PR? There are buttons for "Upgrade license" and "Manage license".
...ugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx
Outdated
Show resolved
Hide resolved
@arisonl Could you please advise on the licensing text in the three screenshots shown in the summary? |
@gchaps thank you for the heads up, this looks good to me |
…ing/licensing-ux
@elasticmachine merge upstream |
In chatting with @gchaps , we felt the modal copy could use some clarification as there is somewhat of a mismatch currently (i.e. contact adminstrator / Manage license). Since we can't very easily determine what role a person has - or what they have the ability to do - perhaps the text ought to be more general and we leave the available options up to the License Management page. The modal title and text would be: Gold license requiredAlert example.people-in-space is disabled because it requires a Gold license. Continue to the License Management page to view upgrade options. [ Cancel ] [ Manage license ] |
…ing/licensing-ux
A few minor tweaks. Tooltip: Alert example.people-in-space is disabled because it requires a Gold license. Go to License Management to view upgrade options. Modal: Gold license requiredAlert example.people-in-space is disabled because it requires a Gold license. Continue to License Management to view upgrade options. [ Cancel ] [ Manage license ] |
@gchaps Because I have the tooltip showing on any alert execution error and not just license errors, I'm just showing the error from the execution status with no modifications. The current wording is also what shows up in the logs. Would it make sense to update the log message to say "Go to License Management to view upgrade options" as well? |
… into alerting/licensing-ux
@gchaps @ryankeairns Updated modal: |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, seems to work as advertised. Made a few comments/notes/questions, no blockers.
.../triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.test.tsx
Show resolved
Hide resolved
.../triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.test.tsx
Show resolved
Hide resolved
...ugins/triggers_actions_ui/public/application/sections/alerts_list/components/alerts_list.tsx
Show resolved
Hide resolved
…ing/licensing-ux
… into alerting/licensing-ux
@elasticmachine merge upstream |
…ing/licensing-ux
…ing/licensing-ux
💚 Build SucceededMetrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
* Adding tooltips to alert list and modal for license upgrade * Fixing typings * Custom License Error status. Moving modal to alerts list page * Adding unit test * Cleanup * Unit tests * Removing tooltip from alert name * License * PR fixes * Updating modal wording * Updating license state error message * i18n fix * Fixing functional test Co-authored-by: Kibana Machine <[email protected]>
* master: (99 commits) [Fleet] Use Fleet Server indices in the search bar (elastic#90835) [Search Sessions] added an info flyout to session management (elastic#90559) [ILM] Revisit searchable snapshot field after new redesign (elastic#90793) [Alerting] License Errors on Alert List View (elastic#89920) RFC Improve saved object migrations algorithm (elastic#84333) [Lens] (Accessibility) Fix focus on drag and drop actions (elastic#90561) Use new shortcut links to Fleet discuss forums. (elastic#90786) Do not generate an ephemeral encryption key in production. (elastic#81511) [Fleet] Use staging registry for snapshot builds (elastic#90327) Actually deleting x-pack/tsconfig.refs.json (elastic#90898) Add deprecation warning to all Beats CM pages. (elastic#90741) skip flaky suite (elastic#90136) Revert "Revert "[Metrics UI] Add Metrics Anomaly Alert Type (elastic#89244)"" (elastic#90889) remove ref to removed tsconfig file [core.logging] Uses host timezone as default (elastic#90368) [Maps] remove maps_file_upload plugin and fold public folder into file_upload plugin (elastic#90292) Revert "[Metrics UI] Add Metrics Anomaly Alert Type (elastic#89244)" [dev-utils/ci-stats] support disabling ship errors (elastic#90851) Prefix with / (elastic#90836) [Metrics UI] Add Metrics Anomaly Alert Type (elastic#89244) ...
* Adding tooltips to alert list and modal for license upgrade * Fixing typings * Custom License Error status. Moving modal to alerts list page * Adding unit test * Cleanup * Unit tests * Removing tooltip from alert name * License * PR fixes * Updating modal wording * Updating license state error message * i18n fix * Fixing functional test Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Kibana Machine <[email protected]>
Resolves #85640
Summary
Made the following updates to the alerts list:
License Error
Alert with license error
Error reason tooltip
Manage license modal
Checklist
Delete any items that are not applicable to this PR.