FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ui: Ensure Flame Graph is reset on all toolbar interactions by yomete · Pull Request #5953 · parca-dev/parca · GitHub

ui: Ensure Flame Graph is reset on all toolbar interactions - #5953

Merged
yomete merged 3 commits into
mainfrom
toolbar-flamegraph-expansion
Sep 15, 2025
Merged

ui: Ensure Flame Graph is reset on all toolbar interactions#5953
yomete merged 3 commits into
mainfrom
toolbar-flamegraph-expansion

Conversation

yomete commented Sep 15, 2025

Copy link
Copy Markdown
Contributor

This PR ensures that we now reset the Flame Graph on Filters and Level of Profiling changes. I thought it'd be a good idea to rename the useResetStateOnNewSearch hook to useResetFlameGraphState since that reflects/explains more what happens in the hook.

Now resets flame graph state on filter and group-by changes for improved consistency.

Renames useResetStateOnNewSearch to useResetFlameGraphState and updates all references.

Removes unused curPath state and related props from visualization and dashboard components.
yomete requested a review from a team as a code owner September 15, 2025 12:33

alwaysmeticulous Bot commented Sep 15, 2025
edited
Loading

Copy link
Copy Markdown

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

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

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

profileSource: ProfileSource;
total: bigint;
filtered: bigint;
curPath: string[];

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Doing some cleanups here as we no longer need these props.


const {
curPath,
setCurPath,

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Doing some cleanups here as we no longer need these props.

yomete changed the title Refactor flame graph state reset logic ui: Ensure Flame Graph is reset on all toolbar interactions Sep 15, 2025

manojVivek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Lgtm!

yomete merged commit e655023 into main Sep 15, 2025
37 of 38 checks passed
yomete deleted the toolbar-flamegraph-expansion branch September 15, 2025 15:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL