Commit Graph

1535 Commits

Author SHA1 Message Date
Dillon Kearns
a90b9cb872 Add profile page. 2022-05-20 07:56:01 -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
b8a95ca88d Update pokdedex example. 2022-05-18 15:31:25 -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
6ad79a56de Get method and action from form submitter in event decoder. 2022-05-17 08:36:39 -07:00
Dillon Kearns
c1bff7f730 Trigger rebuild. 2022-05-16 14:40:13 -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
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
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
2725e9bb00 Improve flash error message. 2022-05-11 10:51:43 -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
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
84d518b143 Remove unused. 2022-05-06 11:15: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
344ef2919a Use action data in stateless form example. 2022-05-04 11:06:23 -07:00
Dillon Kearns
62c6e62922 Wire up initial action data to init and view. 2022-05-04 09:59:18 -07:00
Dillon Kearns
fa10ce7eaf Generate fetcher modules 2022-05-03 14:36:08 -07:00
Dillon Kearns
ad8e7b9456 Expose ActionData types. 2022-05-03 11:51:32 -07:00
Dillon Kearns
5a664782cd Initial prototype of ActionData. 2022-05-03 11:30:52 -07:00
Dillon Kearns
0dac6a0916 Check for errors in initial flash message in tailwind page. 2022-04-28 11:37:23 -07:00
Dillon Kearns
2456c00b3d Remove unused argument. 2022-04-28 10:47:11 -07:00
Dillon Kearns
2af25473df Remove unused imports. 2022-04-28 09:40:16 -07:00
Dillon Kearns
5ca486c69c Rename function. 2022-04-28 09:30:52 -07:00
Dillon Kearns
eae27223a3 Rename function. 2022-04-28 09:28:25 -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
e29926e2c3 Pass in submit Effect to form API. 2022-04-27 10:11:33 -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
0adfa12bc8 Remove repetitive function from Form API. 2022-04-25 09:53:18 -07:00
Dillon Kearns
bd4737e73c Update package-lock. 2022-04-25 09:34:55 -07:00
Dillon Kearns
723f0b22a1 Change brand color. 2022-04-13 09:33:37 -07:00
Dillon Kearns
9ecd7c5d5f Fix canonical URL. 2022-04-13 09:09:05 -07:00
Dillon Kearns
48d2f8bfb7 Update readme. 2022-04-13 09:03:50 -07:00
Dillon Kearns
4f0a604d7f Update hacker news SEO tags. 2022-04-13 08:55:28 -07:00
Dillon Kearns
e6c65bbdf2 Try require from elm-pages package from serverless functions. 2022-04-12 11:52:12 -07:00
Dillon Kearns
8787fefdde Add styles and fix markup for comments. 2022-04-11 21:36:09 -07:00
Dillon Kearns
488b0db305 Set display on nested comments. 2022-04-11 21:03:56 -07:00
Dillon Kearns
435ccc362b Add comments view. 2022-04-11 20:52:03 -07:00
Dillon Kearns
cc7c7c3b06 Update escaping test output. 2022-04-11 14:40:13 -07:00
Dillon Kearns
21059e19be Render pagination view. 2022-04-11 12:25:19 -07:00
Dillon Kearns
49078902ff Decode into nicer custom type. 2022-04-11 11:50:18 -07:00
Dillon Kearns
d05bb257e2 Handle some additional nullable values. 2022-04-11 11:25:23 -07:00
Dillon Kearns
8a3c787906 Clean up domain view. 2022-04-11 11:04:55 -07:00
Dillon Kearns
34db38420c Update build command. 2022-04-11 10:57:43 -07:00
Dillon Kearns
bddef2a417 Delete commented code. 2022-04-11 10:30:12 -07:00
Dillon Kearns
b4e1e36e9f Update source-directories. 2022-04-11 08:46:36 -07:00
Dillon Kearns
7613efce4c Install elm-review in hackernews project. 2022-04-11 08:41:02 -07:00
Dillon Kearns
dd4588bf51 Update netlify config for hackernews. 2022-04-11 08:40:14 -07:00
Dillon Kearns
4b30211c05 Add stories/:id route to hackernews example. 2022-04-10 21:18:02 -07:00
Dillon Kearns
afcfdb72dc Add hacker news example. 2022-04-10 16:37:00 -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
2d9695f551 Use logout effect from greet page. 2022-04-09 08:11:45 -07:00
Dillon Kearns
042dddf764 Add Logout Effect. 2022-04-09 08:10:45 -07:00
Dillon Kearns
8cbe96e6b8 Update package-lock. 2022-04-09 08:05:33 -07:00
Dillon Kearns
52c8a73485 Add redirectTo helper. 2022-04-06 16:38:32 -07:00
Dillon Kearns
911270bb40 Pass in htmlTemplate to adapter to avoid having to read the file manually. 2022-04-06 08:54:23 -07:00
Dillon Kearns
af2e2e10f7 Force build. 2022-04-05 15:53:12 -07:00
Dillon Kearns
0b125c3b11 Update docs example. 2022-04-05 09:13:55 -07:00
Dillon Kearns
4aac1a64d1 Force build. 2022-04-05 09:05:26 -07:00
Dillon Kearns
089db1378e Update examples. 2022-04-05 08:28:56 -07:00
Dillon Kearns
8112e477e8 Extract functions into record. 2022-04-05 08:26:26 -07:00
Dillon Kearns
706ead2dc1 Update some test examples. 2022-04-04 16:22:45 -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
f8c130fe68 Fix end-to-end example compilation error. 2022-04-01 20:48:50 -07:00
Dillon Kearns
5c7833966d Try new 404 generator setup. 2022-03-31 16:30:57 -07:00
Dillon Kearns
5536591ea0 Add a navbar. 2022-03-31 11:04:05 -07:00
Dillon Kearns
5eafcb8998 Use correct ErrorPage type in init, and update the pokedex error pages. 2022-03-31 11:01:47 -07:00
Dillon Kearns
175417a7cc Wire up hardcoded error page state. 2022-03-31 10:46:39 -07:00
Dillon Kearns
1718c051e4 Update package-lock. 2022-03-31 09:52:00 -07:00
Dillon Kearns
c8ff9e0ca1 Try optimized build. 2022-03-31 09:51:12 -07:00
Dillon Kearns
ab8a8a4f3c Remove Debug statements. 2022-03-31 09:50:45 -07:00
Dillon Kearns
807266701a Force build. 2022-03-31 09:27:18 -07:00
Dillon Kearns
07fd572c46 Wire up head in ErrorPage. 2022-03-31 09:18:02 -07:00
Dillon Kearns
40ffea6ce9 Render error pages with Shared.view. 2022-03-31 09:04:11 -07:00
Dillon Kearns
f739f70706 Change argument order for Route.link helper. 2022-03-31 08:25:43 -07:00
Dillon Kearns
339d54a9e9 Update examples to use ErrorPage, and add to NoContractViolations. 2022-03-29 15:32:43 -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