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

[v10.2.x] Alerting: Fix queries and expressions in rule view details. #82875

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

grafana-delivery-bot[bot]
Copy link
Contributor

Backport 6fffbe4 from #79497


What is this feature?

This PR fixes queries and expressions not being shown in alert view page.

The bug was introduced in this PR, where Stack component from @grafana/experimental in favor of @grafana/ui.

The recent update to the Stack component in @grafana/ui defaults to using nowrap. Consequently, some Stacks in our current view were automatically switched to nowrap, leading to the observed issue.

Special notes for your reviewer:

Before the change: (observe there is no D query)

before-queries-in-rule-view.mp4

After the change:

after-fix-queries-in-rule-view.mp4

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

* fix queries and expressions in rule-view details

* Add test

(cherry picked from commit 6fffbe4)
@grafana-delivery-bot grafana-delivery-bot bot requested a review from a team as a code owner February 16, 2024 08:03
@grafana-delivery-bot grafana-delivery-bot bot requested review from gillesdemey, konrad147 and soniaAguilarPeiron and removed request for a team February 16, 2024 08:03
@grafana-delivery-bot grafana-delivery-bot bot added this to the 10.2.x milestone Feb 16, 2024
@konrad147 konrad147 merged commit 0c47a3f into v10.2.x Feb 16, 2024
22 checks passed
@konrad147 konrad147 deleted the backport-79497-to-v10.2.x branch February 16, 2024 08:21
@aangelisc aangelisc modified the milestones: 10.2.x, 10.2.5 Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants