-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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: Swap order between Annotations and Labels step in the alert rule form. #81060
Alerting: Swap order between Annotations and Labels step in the alert rule form. #81060
Conversation
… update some texts
I think we should update docs , right? @brendamuir |
case Annotation.panelID: | ||
label = ''; | ||
break; | ||
default: |
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 was a 🐛
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.
nice catch!
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.
I wonder why dashboardUID
has Dashboard and panel
label while panelID
is empty?
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.
good question @konrad147 . Because we want to show the label only for the dashboard item.
See screenshots above, in case of panel field, we don't want to show any label (because we show the dashboard and panel selected next to the dashboard field)
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! one question in the review
case Annotation.panelID: | ||
label = ''; | ||
break; | ||
default: |
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.
I wonder why dashboardUID
has Dashboard and panel
label while panelID
is empty?
What is this feature?
This PR change the order in steps in the alert rule form and updates some texts. (Same change is done in the Modfiy export form)
This PR also fix data source and panel label not being correct.
Before the change we had:
4. Add annotations
5. Labels and notifications
After the change:
4. Configure labels and notifications
5. Add annotations
Why do we need this feature?
We need to provide the best user experience, and with this change we think users can go through the steps in a more logical way.
Who is this feature for?
All users.
Special notes for your reviewer:
Recording rules are not affected:
Before the data source and panel label fix:
After the data source and panel label fix:
Please check that: