app-ui
created pr with
46.1
cmds
checkout latest patchset:
ssh pr.pico.sh print 46 | git am -3checkout any patchset in a patch request:
ssh pr.pico.sh print 46.[rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 46
Patchset
46.1
Install react-use-websocket
Eric Abruzzese
Update the diagnostics create form to navigate to the details page with query parameters instead of POSTing to the external service
2025-01-15T14:28:15ZEric Abruzzese
Collect events on the diagnostic details page and construct a dashboard state
2025-01-15T14:29:34ZEric Abruzzese
Formatting and cleanup
2025-01-15T14:30:03ZEric Abruzzese
Show dashboard messages, resources, operations, and plots
2025-01-15T14:34:02ZMichael Peterson
Support async plot annotations
2025-01-28T20:23:45ZEric Abruzzese
Fix an issue that would cause a page crash if datasets weren't perfectly aligned
2025-01-31T17:53:30ZEric Abruzzese
Add VITE_APTIBLE_AI_URL to .env.example
2025-02-03T20:19:05ZEric Abruzzese
Update VITE_APTIBLE_AI_URL references to point to Hotshot
2025-02-04T16:30:13ZEric Abruzzese
Update the analysis using PlotAnnotated events
2025-02-05T17:50:02ZEric Abruzzese
Install react-use-websocket
2025-02-05T17:51:11ZEric Abruzzese
Update the diagnostics create form to navigate to the details page with query parameters instead of POSTing to the external service
2025-01-15T14:28:15ZEric Abruzzese
Collect events on the diagnostic details page and construct a dashboard state
2025-01-15T14:29:34ZEric Abruzzese
Formatting and cleanup
2025-01-15T14:30:03ZEric Abruzzese
Show dashboard messages, resources, operations, and plots
2025-01-15T14:34:02ZMichael Peterson
→ Support async plot annotations
2025-01-28T20:23:45ZEric Abruzzese
Fix an issue that would cause a page crash if datasets weren't perfectly aligned
2025-01-31T17:53:30ZEric Abruzzese
Add VITE_APTIBLE_AI_URL to .env.example
2025-02-03T20:19:05ZEric Abruzzese
Update VITE_APTIBLE_AI_URL references to point to Hotshot
2025-02-04T16:30:13ZEric Abruzzese
Update the analysis using PlotAnnotated events
2025-02-05T17:50:02ZEric Abruzzese
Refactor charts
2025-02-05T17:51:11ZMichael Peterson
Refactor OperationsTimeline, chart hover state
2025-02-05T18:25:59ZMichael Peterson
Extract types into aptible-ai/index, useDashboard hook
2025-02-05T18:42:20ZMichael Peterson
Fix a linter error
2025-02-05T19:21:56ZEric Abruzzese
Fix linter errors
2025-02-05T19:40:48ZEric Abruzzese
2025-02-05T19:50:07Z
Support async plot annotations
Eric Abruzzese
2025-01-31T17:53:30ZSemantic diff summary
0 added,
2 modified,
0 signature changed,
0 removed
across 1 analyzed file
+18
-1
src/ui/pages/diagnostics-detail.tsx
#
| ... | ... | @@ -788,7 +788,7 @@ export const DiagnosticsDetailPage = () => { | |
| 788 | 788 | ...prev.resources[event.resource_id], | |
| 789 | 789 | plots: { | |
| 790 | 790 | ...prev.resources[event.resource_id].plots, | |
| 791 | - | [event.metric_name]: { | |
| 791 | + | [event.plot.id]: { | |
| 792 | 792 | id: event.plot.id, | |
| 793 | 793 | title: event.plot.title, | |
| 794 | 794 | description: event.plot.description, |
| ... | ... | @@ -802,6 +802,23 @@ export const DiagnosticsDetailPage = () => { | |
| 802 | 802 | }, | |
| 803 | 803 | }, | |
| 804 | 804 | })); | |
| 805 | + | } else if (event?.type === "PlotAnnotated") { | |
| 806 | + | setDashboard((prev) => ({ | |
| 807 | + | ...prev, | |
| 808 | + | resources: { | |
| 809 | + | ...prev.resources, | |
| 810 | + | [event.resource_id]: { | |
| 811 | + | ...prev.resources[event.resource_id], | |
| 812 | + | plots: { | |
| 813 | + | ...prev.resources[event.resource_id].plots, | |
| 814 | + | [event.plot_id]: { | |
| 815 | + | ...prev.resources[event.resource_id].plots[event.plot_id], | |
| 816 | + | annotations: event.annotations, | |
| 817 | + | }, | |
| 818 | + | }, | |
| 819 | + | }, | |
| 820 | + | }, | |
| 821 | + | })); | |
| 805 | 822 | } else if (event?.type === "ResourceOperationsRetrieved") { | |
| 806 | 823 | setDashboard((prev) => ({ | |
| 807 | 824 | ...prev, |