Skip to content

ui: Fix focusing on series in the metrics graph#6074

Merged
yomete merged 1 commit into
mainfrom
series-focusing
Nov 27, 2025
Merged

ui: Fix focusing on series in the metrics graph#6074
yomete merged 1 commit into
mainfrom
series-focusing

Conversation

@yomete
Copy link
Copy Markdown
Contributor

@yomete yomete commented Nov 27, 2025

Using the right click menu to focus on a series only added the label matchers but doesn't run the query.

This fixes it by modifying the MetricsGraphSection and ProfileSelector to use the commitDraft function for applying label matcher filters essentially triggering a query search.

Updated MetricsGraphSection and ProfileSelector to use the commitDraft function for applying label matcher filters from the metrics graph.
@yomete yomete requested a review from a team as a code owner November 27, 2025 11:49
@alwaysmeticulous
Copy link
Copy Markdown

alwaysmeticulous Bot commented Nov 27, 2025

✅ Meticulous spotted 0 visual differences across 317 screens tested: view results.

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

Expected differences? Click here. Last updated for commit 951c99d. This comment will update as new commits are pushed.


// Draft setters (update local state only)
setDraftExpression: (expression: string, commit?: boolean) => void;
setDraftExpression: (expression: string) => void;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we never use this commit boolean anywhere so removing it

@yomete yomete merged commit 2c26826 into main Nov 27, 2025
38 checks passed
@yomete yomete deleted the series-focusing branch February 13, 2026 10:45
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.

2 participants