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

ui: Query validation for icicle chart visualization by manojVivek · Pull Request #5633 · parca-dev/parca · GitHub

ui: Query validation for icicle chart visualization - #5633

Merged
manojVivek merged 7 commits into
mainfrom
icicle-chart-validations
May 6, 2025
Merged

ui: Query validation for icicle chart visualization#5633
manojVivek merged 7 commits into
mainfrom
icicle-chart-validations

Conversation

Copy link
Copy Markdown
Contributor

This PR adds some validations on the query before querying for flamecharts and renders appropriate error message in the UI.

Screenshots:
Valid Query:

Invalid Queries:

manojVivek requested a review from a team as a code owner May 6, 2025 09:58

alwaysmeticulous Bot commented May 6, 2025
edited
Loading

Copy link
Copy Markdown

✅ Meticulous spotted visual differences in 2 of 304 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 877e301. This comment will update as new commits are pushed.


export const validateIcicleChartQuery = (profileSource: MergedProfileSource) => {
const isNonDelta = profileSource.ProfileType().delta !== true;
const isDurationTooLong = profileSource.mergeTo - profileSource.mergeFrom > 10000;

Copy link
Copy Markdown
Member

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

Let's make it a high limit. I've successfully looked at 10+ seconds.
How about a minute for now?

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

Yes, sounds good. Will update it.

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