Commit Graph

5207 Commits

Author SHA1 Message Date
Dillon Kearns
7b4aafa03e Fix renderer code error. 2023-01-06 10:34:57 -08:00
Dillon Kearns
9db4a351c4 Change test name. 2023-01-06 10:21:05 -08:00
Dillon Kearns
89491a9515 Use HTTP conditional requests, and fix some handling of HTTP error cases for BackendTask error paths (return the error data instead of handling them as build errors). 2023-01-06 10:03:19 -08:00
Dillon Kearns
fef2cbf6a4 Avoid creating unnecessary Elm Dicts by directly using JSON values for CLI Batch data from resolving BackendTask data. 2023-01-03 08:52:20 -08:00
Dillon Kearns
0e4c33e01b Add Exception import when needed. 2023-01-02 11:31:59 -08:00
Dillon Kearns
b1afe428e4 Update docs.json. 2023-01-02 11:04:11 -08:00
Dillon Kearns
a2a558992a Handle port-data-source errors in BackendTasks. 2023-01-02 11:02:22 -08:00
Dillon Kearns
4146ed1a11 Use raw string instead of TerminalText to let user use whichever ansi package they prefer. 2023-01-01 16:54:36 -08:00
Dillon Kearns
7f23779816 Rename DataSource -> BackendTask. 2023-01-01 14:45:54 -08:00
Dillon Kearns
5d4953a92f Use errors with more formatting. 2023-01-01 14:41:10 -08:00
Dillon Kearns
dd11836490 Remove unused. 2023-01-01 14:23:13 -08:00
Dillon Kearns
a24b3fb6e5 Remove unused. 2022-12-31 13:31:30 -08:00
Dillon Kearns
6bd91eb68e Make DataSource.Port error catchable. 2022-12-31 13:24:00 -08:00
Dillon Kearns
1f109fca7c Add missing doc comment. 2022-12-31 13:19:08 -08:00
Dillon Kearns
aeafc07d36 Update error message in test. 2022-12-31 13:14:44 -08:00
Dillon Kearns
dddaea17f2 Use Http error type in Http module. 2022-12-31 12:45:01 -08:00
Dillon Kearns
049e508fc9 Address review errors. 2022-12-31 12:15:45 -08:00
Dillon Kearns
b9902c2c8c Remove Debug.todo in example. 2022-12-31 12:00:02 -08:00
Dillon Kearns
6cff8a7000 Merge branch 'master' into backend-tasks 2022-12-31 11:46:15 -08:00
Dillon Kearns
804e9015ae Fix errors in example. 2022-12-30 18:03:43 -08:00
Dillon Kearns
0a9cfa60e6 Use reference to import alias for Exception.fromString. 2022-12-30 17:48:49 -08:00
Dillon Kearns
e5d8ada046 Remove some Debug.todo's. 2022-12-30 17:10:58 -08:00
Dillon Kearns
6c54713f02 Fix test. 2022-12-29 16:38:13 -08:00
Dillon Kearns
e65218834b Fix example. 2022-12-29 17:33:55 -07:00
Dillon Kearns
499390aeae Fix errors. 2022-12-29 14:14:08 -07:00
Dillon Kearns
ac153f6494 Fix test error. 2022-12-29 14:03:10 -07:00
Dillon Kearns
12935c577b Expose Script.Error type. 2022-12-29 13:45:46 -07:00
Dillon Kearns
18c5cb7d9e Update function name. 2022-12-29 07:36:14 -07:00
Dillon Kearns
ad42776fb2 Update docs. 2022-12-28 19:29:08 -07:00
Dillon Kearns
09e5c389b5 Update docs and fix some errors in elm-pages run. 2022-12-28 19:22:58 -07:00
Dillon Kearns
c982947c7d Make Throwable/Catchable exceptions. 2022-12-28 18:45:49 -07:00
Dillon Kearns
c5b4bfd13a
Merge pull request #1 from dillonkearns/uncached-requests
DataSource architecture changes
2022-12-26 11:36:42 -08:00
Dillon Kearns
81888ea995 Handle new Vite format in diff cleaning for tests. 2022-12-26 12:03:58 -07:00
Dillon Kearns
d78a3ca91d Add initial prototype for error type variable in DataSources. 2022-12-26 10:53:06 -07:00
Dillon Kearns
643abc0591 Increase cypress timeout duration for tests. 2022-12-22 16:04:59 -08:00
Dillon Kearns
888bfa2bc4 Upgrade to latest Vite. 2022-12-22 16:03:56 -08:00
Dillon Kearns
fa7b1a1682 Remove some more ignored files from ReviewConfig. 2022-12-22 15:26:33 -08:00
Dillon Kearns
b619970a7d Remove some ignored paths in ReviewConfig. 2022-12-22 15:22:52 -08:00
Dillon Kearns
38b043b2ee Fix error in generator code. 2022-12-22 15:21:21 -08:00
Dillon Kearns
80eb85c5ca Address review errors. 2022-12-22 15:17:54 -08:00
Dillon Kearns
cf763d3ef6 Address review errors. 2022-12-22 15:08:25 -08:00
Dillon Kearns
3c4df2fb28 Remove unused. 2022-12-22 15:04:50 -08:00
Dillon Kearns
b58d148e31 Remove unused code. 2022-12-22 14:27:07 -08:00
Dillon Kearns
e2e9625825 Fix test cases. 2022-12-22 14:27:00 -08:00
Dillon Kearns
4092544f62 Remove unused. 2022-12-22 10:50:52 -08:00
Dillon Kearns
dc2ef65efe Review fixes. 2022-12-22 10:50:17 -08:00
Dillon Kearns
0716ad8abf Clean up DataSource resolution logic so it doesn't need hack to union responses but instead contains exactly the responses required at each tick. 2022-12-22 10:48:23 -08:00
Dillon Kearns
c245d4efe8 Address review errors. 2022-12-22 09:36:59 -08:00
Dillon Kearns
acd79028a8 Add test harness file for running a renderer. 2022-12-22 09:35:45 -08:00
Dillon Kearns
3380ccd0fc Fix test case with temporary unioning - should probably clean up logic to have more precise use of the resolved data. 2022-12-22 09:35:27 -08:00