app-ui

created pr with 46.1 on 2025-02-06T15:20:57Z · by c8ef7d19
cmds
checkout latest patchset:
ssh pr.pico.sh print 46 | git am -3
checkout any patchset in a patch request:
ssh pr.pico.sh print 46.[rev] | git am -3
add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 46

Patchset 46.1 on 2025-02-06T15:20:57Z · commit 6a63d29

Install react-use-websocket
Eric Abruzzese 2025-01-15T14:28:15Z
Update the diagnostics create form to navigate to the details page with query parameters instead of POSTing to the external service
Eric Abruzzese 2025-01-15T14:29:34Z
Collect events on the diagnostic details page and construct a dashboard state
Eric Abruzzese 2025-01-15T14:30:03Z
Formatting and cleanup
Eric Abruzzese 2025-01-15T14:34:02Z
Show dashboard messages, resources, operations, and plots
Michael Peterson 2025-01-28T20:23:45Z
Support async plot annotations
Eric Abruzzese 2025-01-31T17:53:30Z
Fix an issue that would cause a page crash if datasets weren't perfectly aligned
Eric Abruzzese 2025-02-03T20:19:05Z
Add VITE_APTIBLE_AI_URL to .env.example
Eric Abruzzese 2025-02-04T16:30:13Z
Update VITE_APTIBLE_AI_URL references to point to Hotshot
Eric Abruzzese 2025-02-05T17:50:02Z
Update the analysis using PlotAnnotated events
Eric Abruzzese 2025-02-05T17:51:11Z
Install react-use-websocket
Eric Abruzzese 2025-01-15T14:28:15Z
Update the diagnostics create form to navigate to the details page with query parameters instead of POSTing to the external service
Eric Abruzzese 2025-01-15T14:29:34Z
Collect events on the diagnostic details page and construct a dashboard state
Eric Abruzzese 2025-01-15T14:30:03Z
Formatting and cleanup
Eric Abruzzese 2025-01-15T14:34:02Z
Show dashboard messages, resources, operations, and plots
Michael Peterson 2025-01-28T20:23:45Z
Support async plot annotations
Eric Abruzzese 2025-01-31T17:53:30Z
Fix an issue that would cause a page crash if datasets weren't perfectly aligned
Eric Abruzzese 2025-02-03T20:19:05Z
Add VITE_APTIBLE_AI_URL to .env.example
Eric Abruzzese 2025-02-04T16:30:13Z
Update VITE_APTIBLE_AI_URL references to point to Hotshot
Eric Abruzzese 2025-02-05T17:50:02Z
Update the analysis using PlotAnnotated events
Eric Abruzzese 2025-02-05T17:51:11Z
Refactor charts
Michael Peterson 2025-02-05T18:25:59Z
Refactor OperationsTimeline, chart hover state
Michael Peterson 2025-02-05T18:42:20Z
Extract types into aptible-ai/index, useDashboard hook
Michael Peterson 2025-02-05T19:21:56Z
Fix a linter error
Eric Abruzzese 2025-02-05T19:40:48Z
Fix linter errors
Eric Abruzzese 2025-02-05T19:50:07Z
Support async plot annotations
Eric Abruzzese 2025-01-31T17:53:30Z
Semantic 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 = () => {
788788 ...prev.resources[event.resource_id],
789789 plots: {
790790 ...prev.resources[event.resource_id].plots,
791- [event.metric_name]: {
791+ [event.plot.id]: {
792792 id: event.plot.id,
793793 title: event.plot.title,
794794 description: event.plot.description,
......@@ -802,6 +802,23 @@ export const DiagnosticsDetailPage = () => {
802802 },
803803 },
804804 }));
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+ }));
805822 } else if (event?.type === "ResourceOperationsRetrieved") {
806823 setDashboard((prev) => ({
807824 ...prev,
Back to top