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

Unify chart page to use edit chart form in dashboard #288

Merged
merged 5 commits into from Feb 1, 2024

Conversation

MikeShi42
Copy link
Contributor

image

Copy link

changeset-bot bot commented Jan 31, 2024

🦋 Changeset detected

Latest commit: c65a694

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@hyperdx/app Patch
@hyperdx/api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -172,7 +176,7 @@ export function seriesToSearchQuery({
aggFn !== 'count' && field ? ` ${field}:*` : ''
}${
'groupBy' in s && s.groupBy != null && s.groupBy.length > 0
? ` ${s.groupBy}:${groupByValue}`
? ` ${s.groupBy}:${groupByValue ?? '*'}`
Copy link
Contributor

Choose a reason for hiding this comment

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

groupBy * ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fixes a bug where if the groupByValue is undefined (any group), we use the group:* operator correctly, previously we'd incorrectly search for group:undefined

@kodiakhq kodiakhq bot merged commit 95ccfa1 into main Feb 1, 2024
4 checks passed
@kodiakhq kodiakhq bot deleted the mikeshi/upgrade-chart-page branch February 1, 2024 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants