Skip to content

Conversation

@yomete
Copy link
Contributor

@yomete yomete commented Jun 18, 2025

When using the "add to query" button from the metrics graph context menu, the first label would appear correctly in the SimpleMatchers component, but subsequent labels would only update the URL without reflecting in the UI until page reload.

Fixed by:

  • Adding key prop to SimpleMatchers component to force re-render when query changes
  • Improving useEffect in SimpleMatchers with proper async cleanup to prevent race conditions

When using the "add to query" button from the metrics graph context menu,
the first label would appear correctly in the SimpleMatchers component,
but subsequent labels would only update the URL without reflecting in the UI
until page reload.

Fixed by:
- Adding `key` prop to SimpleMatchers component to force re-render when query changes
- Improving useEffect in SimpleMatchers with proper async cleanup to prevent race conditions
@alwaysmeticulous
Copy link

alwaysmeticulous bot commented Jun 18, 2025

✅ Meticulous spotted visual differences in 16 of 572 screens tested, but all differences have already been approved: view differences detected.

Meticulous evaluated ~4 hours of user flows against your PR.

Last updated for commit fabd66a. This comment will update as new commits are pushed.

@yomete yomete enabled auto-merge (squash) June 18, 2025 15:24
@yomete yomete disabled auto-merge June 18, 2025 15:25
@yomete yomete merged commit 548bdb2 into main Jun 18, 2025
32 of 33 checks passed
@yomete yomete deleted the labels-bug-fixes branch July 8, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants