Commit Graph

27 Commits

Author SHA1 Message Date
Dillon Kearns
3afa1e81ff Derive todo list state from fetchers. 2022-05-20 10:08:47 -07:00
Dillon Kearns
6ad79a56de Get method and action from form submitter in event decoder. 2022-05-17 08:36:39 -07:00
Dillon Kearns
484d45bf5e Use fetcher from todos example. 2022-05-13 11:42:26 -07:00
Dillon Kearns
2be5d1c07e Allow custom onsubmit in stateless form. 2022-05-13 11:17:50 -07:00
Dillon Kearns
6f6db5c1bf Use Pages.Msg.Msg for submitting in Form API. 2022-05-13 10:37:19 -07:00
Dillon Kearns
e01415407f Use wrapper Pages.Msg.Msg to enable wiring up Submit msg's for the framework to handle. 2022-05-13 09:03:09 -07:00
Dillon Kearns
72c640ba1b Show error messages that come back from todo submit action. 2022-05-05 11:17:45 -07:00
Dillon Kearns
f33e5bac25 Use action for todos example. 2022-05-04 16:48:10 -07:00
Dillon Kearns
ad8e7b9456 Expose ActionData types. 2022-05-03 11:51:32 -07:00
Dillon Kearns
32b536f78a Use two separate functions for stateless and stateful form rendering. 2022-04-28 09:07:32 -07:00
Dillon Kearns
cfd78682fa Add submit Cmd in Effect.perform. 2022-04-27 09:05:48 -07:00
Dillon Kearns
298faed45c Remove redundant form function for toHtml. 2022-04-25 14:44:51 -07:00
Dillon Kearns
e04310b603 Pass in optional Form.Msg to userMsg function, and don't register event handlers if not present. 2022-04-25 14:42:38 -07:00
Dillon Kearns
4111d4e677 Rename function. 2022-04-25 09:54:08 -07:00
Dillon Kearns
8ad0118c4e Show in-progress style for delete todo item in example. 2022-04-09 21:23:21 -07:00
Dillon Kearns
52c8a73485 Add redirectTo helper. 2022-04-06 16:38:32 -07:00
Dillon Kearns
4aac1a64d1 Force build. 2022-04-05 09:05:26 -07:00
Dillon Kearns
de6174e435 Optimize imports. 2022-04-04 16:07:51 -07:00
Dillon Kearns
4ab29c6b0f Rename. 2022-04-04 14:45:14 -07:00
Dillon Kearns
fc62058f63 Pass in fetchRouteData to perform. 2022-04-04 09:40:37 -07:00
Dillon Kearns
ab8a8a4f3c Remove Debug statements. 2022-03-31 09:50:45 -07:00
Dillon Kearns
34f428f1df Add proof of concept for error pages. 2022-03-29 11:48:04 -07:00
Dillon Kearns
9c3c477ec4 Update pokedex example. 2022-03-28 15:11:07 -07:00
Dillon Kearns
8911ef9bb3 Rename Server.Request.Request -> Server.Request.Parser. 2022-03-08 08:57:46 -08:00
Dillon Kearns
b7495d73bb Change exported value from page -> route from Route Modules. 2022-03-05 10:35:17 -08:00
Dillon Kearns
f16a30320d Rename Page.elm -> RouteBuilder.elm. 2022-03-05 09:50:01 -08:00
Dillon Kearns
0310152df4 Change Page.* modules to be Route.* modules. 2022-03-05 09:05:12 -08:00