Commit Graph

3091 Commits

Author SHA1 Message Date
Matt Aitken cd94cc9736 Added some better error handling for the electric sync
🚀 Publish Trigger.dev Docker / units (push) Failing after 11m46s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 11m47s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-infra (push) Has been skipped
2024-09-04 14:23:11 +01:00
Matt Aitken 6bdbc6808b Fix the timeline duration stretching 2024-09-04 11:18:16 +01:00
Matt Aitken a342877090 Updated @electric-sql/react package to the latest 2024-09-04 09:46:02 +01:00
Matt Aitken f26fd2dfc8 ELECTRIC_ORIGIN env var doesn’t have a default, added to the examples
🚀 Publish Trigger.dev Docker / units (push) Failing after 11m47s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 11m48s
🚀 Publish Trigger.dev Docker / publish (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-infra (push) Has been skipped
2024-09-02 16:22:45 +01:00
Matt Aitken ddc1db1849 Undefined typre for useSyncedShape 2024-09-02 16:06:49 +01:00
Matt Aitken 1aad21a892 Fix for focusing on a span 2024-09-02 15:40:41 +01:00
Matt Aitken 5bf861568f Fix for paragaph errors 2024-09-02 15:39:58 +01:00
Matt Aitken 01b1f53a24 Improved the run inspector loading states 2024-09-02 14:05:54 +01:00
Matt Aitken 3c24d4ccb1 A couple of layout tweaks 2024-09-02 13:51:42 +01:00
Matt Aitken 537f706e92 Share some inspector timeline components 2024-09-02 09:58:55 +01:00
Matt Aitken 021e0741f5 Use the async payload because it deals with superjson 2024-08-30 19:30:07 +01:00
Matt Aitken 591385acd5 Delete the SpanPresenter 2024-08-30 19:22:23 +01:00
Matt Aitken 8159c256ab Load the details run inspector data on demand 2024-08-30 18:58:45 +01:00
Matt Aitken af92280c04 Set the debounce much lower for selecting the span view 2024-08-30 17:50:59 +01:00
Matt Aitken 91778b1795 If a span is completed show that 2024-08-30 17:50:59 +01:00
Matt Aitken 3d8ea667c8 More major overhauls to get the synced version of the run page working… 2024-08-30 17:50:59 +01:00
Matt Aitken 25d13048b8 A lot of changes to make the inspector live too… WIP 2024-08-30 17:50:59 +01:00
James Ritchie e2bbf98021 removed imports 2024-08-30 14:57:52 +01:00
James Ritchie e298ab3078 Deployment table now scrolls 2024-08-30 14:53:47 +01:00
James Ritchie b54387d57f save cookie only when id is used 2024-08-30 11:59:09 +01:00
James Ritchie d46999e376 Revert "Upgrade Remix to 2.9.1 (same as PR #1096)"
This reverts commit e63ee9e924.
2024-08-30 11:26:21 +01:00
Matt Aitken 10ba1d9504 Remove duplicate import 2024-08-30 11:21:21 +01:00
Matt Aitken 4cf9c65df9 Fix for TS error 2024-08-30 11:20:53 +01:00
Matt Aitken b67a8f9f33 Overscan more rows in the tree view 2024-08-30 10:04:12 +01:00
Matt Aitken 2229610f87 Added auth to the sync 2024-08-30 10:04:05 +01:00
Matt Aitken 67ec4f028b Switched structure around again so we only call the useTrace hook from the client 2024-08-29 23:43:38 +01:00
Matt Aitken e63ee9e924 Upgrade Remix to 2.9.1 (same as PR #1096) 2024-08-29 22:50:12 +01:00
Matt Aitken 704b0da467 WIP on auth, having problems with it 2024-08-29 21:41:19 +01:00
Matt Aitken 259cfc5313 Improved the loading behaviour with the inspector 2024-08-29 19:59:33 +01:00
Matt Aitken 5e9b86ea9b Improvement to the loading states 2024-08-29 19:37:26 +01:00
Matt Aitken bf4e581c9f Restructured the page so the loading is better 2024-08-29 19:29:20 +01:00
Matt Aitken 8811897857 Slight improvement in the loading state 2024-08-29 18:55:44 +01:00
Matt Aitken a66bb39256 One fix for client-server mismatch 2024-08-29 18:55:44 +01:00
Matt Aitken 6986557ffb Removed unused const 2024-08-29 18:55:44 +01:00
James Ritchie d662e41fd1 Updated to latest window-splitter version 2024-08-29 18:31:24 +01:00
James Ritchie 75fddae96c min size for the test page left hand panel 2024-08-29 18:17:03 +01:00
James Ritchie cd2bb3e3da Added overflow hidden to the panel group 2024-08-29 18:16:51 +01:00
Matt Aitken 3fea23d546 Fix for the resizable panels on the run page 2024-08-29 17:59:17 +01:00
Matt Aitken 894ce9e87d Merge remote-tracking branch 'origin/react-window-splitter' into electricsql-run
# Conflicts:
#	apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.runs.$runParam/route.tsx
2024-08-29 17:48:24 +01:00
Matt Aitken 2190bd6ad8 Don’t load the trace in the RunPresenter anymore 2024-08-29 17:47:57 +01:00
James Ritchie 1d58ef97bc Min size for resizable panel on test page 2024-08-29 17:47:04 +01:00
Matt Aitken cbb95f244f Using ElectricSQL for the run page data 2024-08-29 17:23:41 +01:00
Matt Aitken 723753b9ea More restructuring ready to use the trace summary from the frontend 2024-08-29 17:10:53 +01:00
Matt Aitken 96665a4ba6 Use the new util 2024-08-29 16:54:20 +01:00
Matt Aitken 1f9b4bf849 Extracted some logic out of the eventRepository for getting a trace. This will be used on the frontend 2024-08-29 16:53:54 +01:00
Matt Aitken f7d32b83b1 Free up concurrency when using triggerAndWait. Improved errors on runs (#1272)
* Add an error to the final attempt if there isn’t one

* Improved the checkpointResumer test task

* Using triggerAndWait or batchTriggerAndWait frees up concurrency

Normally it frees up just env and org concurrency. If it’s a recursive task then it will free up the run concurrency too (e.g. a task calling itself).

* Removed the filepath and export name from attempt spans

* Run inspector: only show an error if the run is in a finished state
2024-08-25 20:15:45 +01:00
Matt Aitken 99a63d4cd5 When enqueuing clear concurrency for that run (#1271)
* Better logging if a background worker isn’t created

* When enqueuing a message into the queue clear the concurrency
2024-08-25 15:56:40 +01:00
James Ritchie 4510fc0ed0 Inline code blocks behave nicer when text wraps 2024-08-24 12:10:08 +01:00
Matt Aitken 6744617879 Added @ splat route 2024-08-23 18:28:28 +01:00
James Ritchie 3952421f4a Updated resizable storybook 2024-08-23 18:08:06 +01:00