Skip to content

Conversation

brandon-pereira
Copy link
Contributor

improve search results to isolate graph query errors to the graph component

Before (if graph throws error, whole page shows error):
image

After (error is isolated so results still work):
Screenshot 2025-09-17 at 10 25 37 AM

This was original tweaked in #693, but if the search page errors, the desired output is still achieved:
Screenshot 2025-09-17 at 10 25 25 AM

Also snuck in a fix where the Event Deltas results could not be scrolled if your screen is too small, now you can see all the data (through scrolling):
Screenshot 2025-09-17 at 10 35 52 AM

Fixes: HDX-2398

Copy link

changeset-bot bot commented Sep 17, 2025

🦋 Changeset detected

Latest commit: 0db3aa2

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

Copy link

vercel bot commented Sep 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
hyperdx-v2-oss-app Ready Ready Preview Comment Sep 20, 2025 2:12am

@brandon-pereira brandon-pereira requested review from a team and knudtty and removed request for a team September 17, 2025 16:40
Copy link
Contributor

github-actions bot commented Sep 17, 2025

Stably Runner - Test Suite - 'Smoke Test'

Test Suite Run Result: 🔴 Failure (1/4 tests failed) [dashboard]

Failed Tests:


This comment was generated from stably-runner-action

@knudtty
Copy link
Contributor

knudtty commented Sep 17, 2025

Hmm is there any way we could make the error expandable? Something like this but an icon and gray

490665525-2507d33b-c5ce-40bd-888d-5ec04b57096e

@brandon-pereira
Copy link
Contributor Author

Hmm is there any way we could make the error expandable? Something like this but an icon and gray
490665525-2507d33b-c5ce-40bd-888d-5ec04b57096e

@knudtty before it was scrollable, but definitely not the best UX.

I've improved this to now open in modal. I was originally going to do an onExpandError prop and make the UI look like it used to, but I felt that the DBSearchPage is getting too large, so keeping the logic all in the DBTimeChart file added a nice separation of concerns.

Screenshot 2025-09-17 at 1 23 10 PM Screenshot 2025-09-17 at 1 23 06 PM

@elizabetdev
Copy link
Contributor

@brandon-pereira for the See error details text since it’s part of an error message, should we style it in red instead of using the brand color (green)?”

Copy link
Contributor

E2E Test Results

1 test failed • 14 passed • 3 skipped • 214s

Status Count
✅ Passed 14
❌ Failed 1
⚠️ Flaky 1
⏭️ Skipped 3

View full report →

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.

4 participants