Commit Graph

4463 Commits

Author SHA1 Message Date
Dillon Kearns
ab0fd3a593 elm-pages codegen finds a matching module from the codegen/ folder. 2022-09-10 10:37:24 -07:00
Dillon Kearns
7c61db1f55 Change command names. 2022-09-10 10:20:40 -07:00
Dillon Kearns
cddaab7264 Add function for generator with buildNoState. 2022-09-10 10:18:39 -07:00
Dillon Kearns
2a1cd5cb8d Use builder pattern for Pages.Generate. 2022-09-09 17:18:23 -07:00
Dillon Kearns
a8cfc508a1 Compile Elm for scaffold task. Turn off docs.json generation in that step for now because of intermittent JSON parse error. 2022-09-09 16:22:15 -07:00
Dillon Kearns
6f1af9a288 Update name in docs.json. 2022-09-09 16:21:34 -07:00
Dillon Kearns
d6597b43ce Generate docs.json file as part of scaffold command. 2022-09-09 15:19:08 -07:00
Dillon Kearns
459f6df9de Remove module contract requirement for View.placeholder since it is obsolete now with new scaffolding. 2022-09-09 13:09:02 -07:00
Dillon Kearns
2d7f1961e3 Re-use some RouteParams parsing/generating code in NoContractViolations rule. 2022-09-09 13:07:29 -07:00
Dillon Kearns
b409ef1957 Parse RouteParams in scaffolding generator. 2022-09-09 12:45:28 -07:00
Dillon Kearns
8e8ab404db Extract out hardcoded names for framework types into helper. 2022-09-09 11:09:25 -07:00
Dillon Kearns
8711b7185a Add basic setup for a scaffold command using elm-codegen. 2022-09-09 10:56:54 -07:00
Dillon Kearns
67af0e53d0 Include View and Effect modules in elm-application.json, and include @docs comments to make them valid. 2022-09-09 10:53:19 -07:00
Dillon Kearns
23cc852ecb Remove obsolete example. 2022-09-06 16:50:07 -07:00
Dillon Kearns
07075b35ee Force rebuild. 2022-09-06 15:04:05 -07:00
Dillon Kearns
9874738c0c Rename variable. 2022-09-06 14:33:24 -07:00
Dillon Kearns
e6f456bfeb Don't scroll after fetchers complete, and don't do fresh page loads for hash changes (just do browser behavior for scrolling to anchor link locations). 2022-09-06 14:32:23 -07:00
Dillon Kearns
4689157d47 Add missing doc comment. 2022-09-06 11:04:11 -07:00
Dillon Kearns
880b32563d Force build. 2022-09-06 10:14:41 -07:00
Dillon Kearns
dfdfbedd2b Include an action attribute on forms with the default action. 2022-09-06 10:10:57 -07:00
Dillon Kearns
2a0c775462 Handle decoding events for form submissions with no buttons (no submitter). 2022-09-06 09:47:37 -07:00
Dillon Kearns
e264ce3d07 Include completed fetcher items with their parsed ActionData in fetchers list. 2022-09-06 09:24:07 -07:00
Dillon Kearns
3cdc466e3f Add wiring for storing done fetchers with actionData. 2022-08-31 08:37:11 -07:00
Dillon Kearns
3180b9c6d1 Remove unused. 2022-08-30 18:25:25 -07:00
Dillon Kearns
3c668d83e3 Don't fail when elm-optimize-level-2 prints warnings. 2022-08-30 16:41:48 -07:00
Dillon Kearns
2b34ae971b Add another end-to-end test case for nested lazy nodes within keyed nodes. 2022-08-25 12:11:45 -07:00
Dillon Kearns
abc91541e2 Add another HTML printing test case and handle lazy HTML nodes nested under keyed nodes. 2022-08-25 12:07:23 -07:00
Dillon Kearns
18a5d20ccf Review fixes. 2022-08-25 11:57:33 -07:00
Dillon Kearns
9772828563 Migrate code in smoothies app. 2022-08-25 11:04:57 -07:00
Dillon Kearns
5415fd83d7 Pass in fetchers with their formId's, and implement isTransitioning status for fetchers. 2022-08-25 10:59:39 -07:00
Dillon Kearns
fa1686cd4c Fix some errors in smoothies app. 2022-08-25 10:59:02 -07:00
Dillon Kearns
c7d8c07939 Rename value. 2022-08-25 10:21:39 -07:00
Dillon Kearns
7f61f2bf93 Rename function. 2022-08-25 09:51:37 -07:00
Dillon Kearns
2b5737d0fb Evaluate thunks for Keyed nodes with Lazy children.
Minimal reproduction:

```elm
 [ 1 ]
    |> List.indexedMap
        (\index _ ->
            ( String.fromInt index, lazy2 (\_ _ -> li [] []) () () )
        )
    |> Keyed.ul []
```
2022-08-25 09:46:42 -07:00
Dillon Kearns
82b2f358fa Rename type. 2022-08-24 20:12:26 -07:00
Dillon Kearns
41e4428bf4 Fix compiler errors. 2022-08-24 20:12:06 -07:00
Dillon Kearns
dc9f2f3014 Force build. 2022-08-24 12:45:54 -07:00
Dillon Kearns
1cfdc839b6 Fix typo. 2022-08-24 12:45:40 -07:00
Dillon Kearns
17e57beac6 Force build. 2022-08-24 12:12:35 -07:00
Dillon Kearns
9cd76dc614 Include Json_wrap in HTML rendering code for all compile modes. 2022-08-24 12:11:52 -07:00
Dillon Kearns
0218c8d2a4 Force build. 2022-08-24 11:57:20 -07:00
Dillon Kearns
3745c76ecb Only run elm-optimize-level-2 for --optimize flag. 2022-08-24 11:55:36 -07:00
Dillon Kearns
5595493fcc Don't use --optimize in CLI prod build for now. 2022-08-24 11:50:50 -07:00
Dillon Kearns
5f8a777c54 Turn real email sending back on. 2022-08-24 09:59:51 -07:00
Dillon Kearns
c5148bb765 Update docs. 2022-08-24 09:49:10 -07:00
Dillon Kearns
c6edfdc56b Review fixes. 2022-08-24 09:46:47 -07:00
Dillon Kearns
f4a61769b6 elm-pages TodoMVC example. 2022-08-24 09:19:54 -07:00
Dillon Kearns
f73fa4866a Commit for git diff with TodoMVC example. 2022-08-24 09:19:36 -07:00
Dillon Kearns
5a2c283e32 Reorganize example. 2022-08-24 09:18:26 -07:00
Dillon Kearns
20632f90b2 Reorganize example. 2022-08-24 09:14:23 -07:00