Commit Graph

1436 Commits

Author SHA1 Message Date
Dillon Kearns
86da9973bd Use Template.sandbox for blog post template. 2020-09-13 21:31:49 -07:00
Dillon Kearns
a8ab464507 Remove unused template helper. 2020-09-13 21:31:32 -07:00
Dillon Kearns
2996470c17 Use sandbox for Template.Page. 2020-09-13 21:16:21 -07:00
Dillon Kearns
9497438f8c Rename Template.template to application. 2020-09-13 21:06:47 -07:00
Dillon Kearns
59a7402809 Add sandbox template constructor. 2020-09-13 21:05:32 -07:00
Dillon Kearns
55f2a4bcd4 Wire in DynamicPayload for Template modules' update. 2020-09-13 16:38:57 -07:00
Dillon Kearns
819993f74b Add placeholder for static data in Site module. 2020-09-13 08:02:35 -07:00
Dillon Kearns
785d6ae85a Use site config module. 2020-09-13 07:19:09 -07:00
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
e033c3796e Remove unused code. 2020-09-06 13:41:24 -07:00
Dillon Kearns
b762c655a4 Rename module. 2020-09-06 13:37:24 -07:00
Dillon Kearns
417849bb09 Remove unused. 2020-09-06 13:32:29 -07:00
Dillon Kearns
8c2fc23112 Remove unused, restore some file generators. 2020-09-06 13:29:19 -07:00
Dillon Kearns
9a4fd9a3f3 Remove unused import. 2020-09-06 13:12:55 -07:00
Dillon Kearns
384d80798a Remove unused. 2020-09-06 13:12:30 -07:00
Dillon Kearns
d5b2a9df09 Clean up some type annotations. 2020-09-06 13:03:46 -07:00
Dillon Kearns
e4c8c0a578 Remove a type variable. 2020-09-06 13:00:35 -07:00
Dillon Kearns
d6790c479c Use static payload for head function. 2020-09-06 12:42:05 -07:00
Dillon Kearns
40614be38f Pass in global static in static bundle. 2020-09-06 12:29:46 -07:00
Dillon Kearns
651de61146 Change Template signatures and use Template alias instead of TemplateDocument module. 2020-09-06 08:41:24 -07:00
Dillon Kearns
eb8c0ffabc Remove save hook. 2020-09-05 22:17:28 -07:00
Dillon Kearns
57310bacd8 Wire in global model to view. 2020-09-05 21:31:14 -07:00
Dillon Kearns
87eb2408cc Stop generating save function. 2020-09-05 21:13:38 -07:00
Dillon Kearns
b66b0ba45c Wire up new shared update msg. 2020-09-05 21:02:05 -07:00
Dillon Kearns
e4a703b8d4 Wire in load function on global msgs. 2020-09-02 07:57:33 -07:00
Dillon Kearns
dc9e34207a Init local model with load from global model. 2020-09-01 23:49:23 -07:00
Dillon Kearns
6bebe4f32c Persist global state. 2020-09-01 23:03:50 -07:00
Dillon Kearns
9e8659b305 Remove toMsg and toGlobalMsg and change msg type for rendered document. 2020-09-01 22:38:57 -07:00
Dillon Kearns
bddcd02141 Add example of global state. 2020-09-01 17:50:40 -07:00
Dillon Kearns
40b86aba83 Rename function. 2020-09-01 17:44:00 -07:00
Dillon Kearns
3a0196b69d Use save function on template model updates. 2020-09-01 17:39:05 -07:00
Dillon Kearns
94f018e2ae Add save and load functions. 2020-09-01 17:11:54 -07:00
Dillon Kearns
7a6e9b77f2 Rename function. 2020-08-26 22:05:12 -07:00
Dillon Kearns
e2c5919466 Introduce new template constructor. 2020-08-26 21:14:52 -07:00
Dillon Kearns
0308587581 Make a simpler constructor function. 2020-08-26 20:31:49 -07:00
Dillon Kearns
50ba51864e Use type alias and rename variable. 2020-08-26 20:07:50 -07:00
Dillon Kearns
307f1bdf25 Wire in toMsg and toGlobalMsg. 2020-08-24 22:13:14 -07:00
Dillon Kearns
98bd2d56fc Rename type. 2020-08-24 21:14:19 -07:00
Dillon Kearns
1e3bfe373a Remove unused code. 2020-08-23 21:32:32 -07:00
Dillon Kearns
dc4ba8105d Remove Debug.todo. 2020-08-23 21:27:51 -07:00
Dillon Kearns
c3dadba35d Update docs. 2020-08-23 21:10:31 -07:00
Dillon Kearns
534d204323 Wire in site metadata to docs sidebar. 2020-08-23 20:56:25 -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
fdc02b7682 Ignore coverage folder. 2020-08-23 07:35:28 -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