Commit Graph

4111 Commits

Author SHA1 Message Date
Dillon Kearns
bcfc9c6c0c Ensure leading slash in content.dat URL. 2022-05-19 09:50:51 -07:00
Dillon Kearns
83fb3942f3 Update docs site. 2022-05-19 09:38:15 -07:00
Dillon Kearns
1ba5431a94 Add some docs entries drafts. 2022-05-19 09:38:04 -07:00
Dillon Kearns
2315f1eaa0 Wire up initial prototype for transition state. 2022-05-19 09:32:19 -07:00
Dillon Kearns
24e135143d Remove completed todo comment. 2022-05-19 08:46:11 -07:00
Dillon Kearns
0714844a13 Include initial internal state for in-flight fetchers. 2022-05-19 08:39:38 -07:00
Dillon Kearns
0c4378ce2c Push URL for action destination for client-side form POST submissions. 2022-05-18 15:48:19 -07:00
Dillon Kearns
b8a95ca88d Update pokdedex example. 2022-05-18 15:31:25 -07:00
Dillon Kearns
156425b8df Push URL change when starting a client-side GET form submission. 2022-05-18 15:31:11 -07:00
Dillon Kearns
e032836b72 Use client-side onSubmit for search page. 2022-05-18 10:49:50 -07:00
Dillon Kearns
3952e895ab Wire through GET form submission handlers. 2022-05-18 10:49:23 -07:00
Dillon Kearns
b030de85ba Show search results in trails. 2022-05-18 08:43:50 -07:00
Dillon Kearns
31265b4979 Add starting point for trails demo. 2022-05-17 16:07:07 -07:00
Dillon Kearns
c5ad2c5e40 Fix watcher pattern for dev server to re-run codegen. 2022-05-17 08:55:58 -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
8483bf4a56 Remove extra transition state setup. 2022-05-17 07:44:04 -07:00
Dillon Kearns
c1bff7f730 Trigger rebuild. 2022-05-16 14:40:13 -07:00
Dillon Kearns
eefbb8dc59 Use Navigation.replaceUrl to follow redirect chain through. 2022-05-16 14:32:43 -07:00
Dillon Kearns
62bf787deb Fetch route data for all URL changes to make sure the URL changes right away, URL history doesn't add entries to the stack when navigating back/forward, and the new route's init is called when the page changes, but *not* when an action data response comes back. 2022-05-16 14:13:40 -07:00
Dillon Kearns
05f2702e97 Update elm-pages add codegen template. 2022-05-13 11:56:18 -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
bcb8a22873 Fix hardcoded Nothing for action data. 2022-05-13 10:15:32 -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
de24b30549 Wire up onActionMsg for route modules. 2022-05-12 11:16:15 -07:00
Dillon Kearns
3fb3805aca Merge branch 'actions' into serverless-latest
# Conflicts:
#	examples/docs/app/Effect.elm
#	examples/hackernews/app/Effect.elm
2022-05-11 16:06:25 -07:00
Dillon Kearns
16e78e8f31 Remove obsolete test case. 2022-05-11 15:53:51 -07:00
Dillon Kearns
ec40fa4740 Ensure that ActionData is exposed. 2022-05-11 15:52:15 -07:00
Dillon Kearns
cd049aaebb Fix some test errors. 2022-05-11 15:49:04 -07:00
Dillon Kearns
6a464f4418 Fix form tests. 2022-05-11 15:37:18 -07:00
Dillon Kearns
b5c3573d68 Update docs example. 2022-05-11 15:27:37 -07:00
Dillon Kearns
296066c292 Update hackernews example with actions. 2022-05-11 15:21:15 -07:00
Dillon Kearns
72e4196fbe Update adapter script to match hackernews example. 2022-05-11 14:58:27 -07:00
Dillon Kearns
cbb422e52b Update hackernews demo site. 2022-05-11 14:50:58 -07:00
Dillon Kearns
3099d12593 Update docs site Effect module to latest format. 2022-05-11 14:47:33 -07:00
Dillon Kearns
6c1244c785 Turn off some API routes to avoid rate limit. 2022-05-11 11:16:14 -07:00
Dillon Kearns
e07eb264f0 Generate fetchers for all the paths needed for build compilation. 2022-05-11 11:06:14 -07:00
Dillon Kearns
2725e9bb00 Improve flash error message. 2022-05-11 10:51:43 -07:00
Dillon Kearns
d5c698021e Fix error logic. 2022-05-11 10:51:23 -07:00
Dillon Kearns
6cdee6e197 Allow blank submissions for radio inputs. 2022-05-11 10:47:36 -07:00
Dillon Kearns
06fcc706ff Remove commented code. 2022-05-11 10:46:51 -07:00
Dillon Kearns
2f6a95f5d2 Regenerate docs. 2022-05-10 16:30:42 -07:00
Dillon Kearns
53d0acb1ec Extract Fetcher module and type. 2022-05-10 16:29:28 -07:00
Dillon Kearns
5f40870e26 Use flash session to show success message on signup example page. 2022-05-10 15:34:42 -07:00
Dillon Kearns
54b6891938 Remove obsolete Fetcher prototype functions and replace with new one. 2022-05-10 11:11:27 -07:00
Dillon Kearns
5b9fd32a7c Pass in fetcher for current Route as part of StaticPayload. 2022-05-10 10:16:09 -07:00
Dillon Kearns
d608b34e91 Add header to indicate when to include only action data. 2022-05-09 10:19:42 -07:00
Dillon Kearns
2192dd30af Add prototype of function to run Fetcher with a follow-up call to reload route data. 2022-05-06 11:19:24 -07:00
Dillon Kearns
da4aaa2714 Extract performUserMsg helper. 2022-05-06 11:17:20 -07:00