fix: Log figure errors, don't show infinite spinner#1614
fix: Log figure errors, don't show infinite spinner#1614mofojed merged 6 commits intodeephaven:mainfrom
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1614 +/- ##
==========================================
- Coverage 46.63% 46.60% -0.03%
==========================================
Files 591 592 +1
Lines 36406 36435 +29
Branches 9113 9120 +7
==========================================
+ Hits 16979 16982 +3
- Misses 19375 19401 +26
Partials 52 52
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
mattrunyon
left a comment
There was a problem hiding this comment.
Need instructions on how to test this if I'm using the linked core PR
|
@mattrunyon updated so you can see the full error message from the UI: |
|
Use the linked Core PR with Groovy, and test with this snippet: I then commented out the changes in FigureWidgetTranslator part from that linked PR so that same snippet produces a plot with an error, and the error appears correctly. |
4924616 to
78451a5
Compare
- Log errors reported by the figure - If the figure doesn't have any series, don't show the loading spinner infinitely. Just show the blank chart.
- Emit error from model so the UI can handle it - It just stops the loading spinner right now - we should look at displaying a toast later - Clean up `updateGrid` calls
- Now the error appears as a button in the button bar - Clicking the button will display the full error message - Have it wired up to show the downsampling error message as well when that occurs
Co-authored-by: Matthew Runyon <mattrunyonstuff@gmail.com>
- chartTheme was null
78451a5 to
438ed4f
Compare

Uh oh!
There was an error while loading. Please reload this page.