Commit Graph

120 Commits

Author SHA1 Message Date
Dillon Kearns
a9db326fa4 Rename some global things to shared. 2020-09-12 09:16:56 -07:00
Dillon Kearns
6214964257 Rename global to shared. 2020-09-12 09:15:24 -07:00
Dillon Kearns
b762c655a4 Rename module. 2020-09-06 13:37:24 -07:00
Dillon Kearns
e4a703b8d4 Wire in load function on global msgs. 2020-09-02 07:57:33 -07:00
Dillon Kearns
3a0196b69d Use save function on template model updates. 2020-09-01 17:39:05 -07:00
Dillon Kearns
7a6e9b77f2 Rename function. 2020-08-26 22:05:12 -07:00
Dillon Kearns
307f1bdf25 Wire in toMsg and toGlobalMsg. 2020-08-24 22:13:14 -07:00
Dillon Kearns
dc4ba8105d Remove Debug.todo. 2020-08-23 21:27:51 -07:00
Dillon Kearns
d98d94747a Remove coupling to elm-ui and elm-markdown packages in generated template connector. 2020-08-23 13:15:31 -07:00
Dillon Kearns
959130aae0 Pass in subscriptions explicitly to template builder, and let caller pipe through toProgram. 2020-08-23 10:44:00 -07:00
Dillon Kearns
0ac6caaf0b Implement update wiring in Template Connector. 2020-08-23 10:39:51 -07:00
Dillon Kearns
375006e342 Escape literal backslashes and wire in code generation. 2020-08-23 08:00:49 -07:00
Dillon Kearns
6de2a556eb Remove unused argument. 2020-08-23 07:35:03 -07:00
Dillon Kearns
0ce57d2750 Use wildcard for update function for now. 2020-08-23 07:34:09 -07:00
Dillon Kearns
56028a1d41 Remove hardcoding of init function. 2020-08-23 07:21:40 -07:00
Dillon Kearns
15a8881eec Remove more hardcoding. 2020-08-22 22:35:39 -07:00
Dillon Kearns
8978187ca6 Remove some more hardcoding. 2020-08-22 22:25:58 -07:00
Dillon Kearns
3983c06006 Remove some hardcoding. 2020-08-22 22:17:02 -07:00
Dillon Kearns
493f8d3634 Add hardcoded generate file function to seed snapshot. 2020-08-22 21:34:47 -07:00
Johannes Maas
aa27d9a49e Update error message test 2020-07-19 20:09:38 +02:00
Dillon Kearns
007c9c823f Merge branch 'pr/110' 2020-06-16 20:55:04 -07:00
Dillon Kearns
ebd348d3f6
Merge pull request #110 from Y0hy0h/image-dimensions
Provide image dimensions
2020-06-16 20:54:51 -07:00
Dillon Kearns
929c57a18a Run snapshot test with images in test directory. 2020-06-16 20:51:44 -07:00
Dillon Kearns
4962bf6520 Make pending requests check check if the cache contains requests. Fixes #107. 2020-06-15 19:42:04 -07:00
Dillon Kearns
4101b060a5 Use equalDicts helper. 2020-06-15 15:23:07 -07:00
Dillon Kearns
0d39eafb06 Add test case for generating files with static http data. 2020-06-13 13:43:35 -07:00
Dillon Kearns
229a8c4445 Add additional parameter to test start function. 2020-06-13 12:31:47 -07:00
Dillon Kearns
44b5fad025 Rewrite type annotation across lines. 2020-06-13 12:29:36 -07:00
Dillon Kearns
25ac5de02d Add unit test for static responses module. 2020-06-13 12:26:47 -07:00
Dillon Kearns
79d4d6bdcc Extract codec to module. 2020-06-13 06:09:09 -07:00
Dillon Kearns
f0d67660b3 Extract Effect type to module. 2020-06-11 20:57:19 -07:00
Dillon Kearns
eef6e7d568 Extract ToJsPayload module. 2020-06-11 20:55:19 -07:00
Johannes Maas
f91a7b6a40 Update test snapshot
Required image files in `/images` which are not present on the remote repository.
2020-05-23 23:17:25 +02:00
Johannes Maas
beea118c35 Update snapshot 2020-05-17 21:22:03 +02:00
Johannes Maas
e4a9c84cf5 Propagate the promise handling 2020-05-17 21:21:55 +02:00
Dillon Kearns
c58c6c3081 Rename test file. 2020-05-17 10:14:51 -07:00
Dillon Kearns
f329a14bd9 Add snapshot test for generated Pages.elm file. 2020-05-17 10:12:03 -07:00
Dillon Kearns
4d0bb2c356 Add jest boilerplate. 2020-05-17 09:40:32 -07:00
Dillon Kearns
2fb7f0c08d Make sure to eagerly evaluate markdown rendering in CLI mode to get errors. 2020-05-13 21:14:05 -07:00
Dillon Kearns
eab4900140 Clean up some code. 2020-05-11 16:42:54 -07:00
Dillon Kearns
43bfd94df2 Fix test failure. 2020-05-11 10:42:40 -07:00
Dillon Kearns
4cf6ad9d92 Merge branch 'master' into generate-files-static-http 2020-05-11 09:27:30 -07:00
Dillon Kearns
dedeb0725d Add a test case. 2020-04-19 10:35:17 -07:00
Dillon Kearns
3c690106f4 Wire in static http cache to prevent making extra requests. 2020-04-19 08:17:51 -07:00
Dillon Kearns
5730b541a3 Use plain elm/json decoder in Browser mode, and optimizable decoder in Cli mode. 2020-04-17 20:10:25 -07:00
Dillon Kearns
f72a4588c7 Add an optimized decoder wrapper module. 2020-04-16 22:03:39 -07:00
Steven Vandevelde
07c001d998 Adjust tests 2020-03-11 17:03:47 +01:00
Dillon Kearns
1bc941de89 Hardcode empty generate files as a first step before actually performing the static http requests. 2020-03-07 11:28:13 -08:00
Dillon Kearns
3cdbe8b0a3 Include content type in StringBody. Include more context in bad http requests. 2020-03-04 08:24:06 -08:00
Dillon Kearns
f158af027e Expose specific variants of Expect explicitly, and change String version to give a Result. 2020-03-03 07:54:16 -08:00