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
|
72e4196fbe
|
Update adapter script to match hackernews example.
|
2022-05-11 14:58:27 -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
|
e6c65bbdf2
|
Try require from elm-pages package from serverless functions.
|
2022-04-12 11:52:12 -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
|
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
|
4aac1a64d1
|
Force build.
|
2022-04-05 09:05:26 -07:00 |
|
Dillon Kearns
|
8112e477e8
|
Extract functions into record.
|
2022-04-05 08:26: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
|
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
|
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
|
06decb5d28
|
Update package-lock.
|
2022-03-11 11:12:15 -08:00 |
|
Dillon Kearns
|
ddcea02130
|
Remove resolved todo comment.
|
2022-03-11 11:11:50 -08:00 |
|
Dillon Kearns
|
25972e5724
|
Run adapter script from build step (if configured).
|
2022-03-10 11:49:07 -08:00 |
|
Dillon Kearns
|
661c84467b
|
Remove unnecessary Request Parser helper.
|
2022-03-08 16:04:46 -08:00 |
|
Dillon Kearns
|
8911ef9bb3
|
Rename Server.Request.Request -> Server.Request.Parser.
|
2022-03-08 08:57:46 -08:00 |
|
Dillon Kearns
|
8acabc3281
|
Simplify Response API to use builder pattern for different ways to construct a body and remove redundant permutations.
|
2022-03-07 08:33:03 -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 |
|
Dillon Kearns
|
020e870883
|
Simplify basic auth example.
|
2022-03-05 08:48:46 -08:00 |
|
Dillon Kearns
|
2ed0ab08bc
|
Add basic auth example to pokedex deployment.
|
2022-03-05 08:44:45 -08:00 |
|
Dillon Kearns
|
b1af39c851
|
Remove unused NPM package.
|
2022-03-04 10:47:31 -08:00 |
|
Dillon Kearns
|
027945ddc6
|
Remove obsolete parsed cookies in adapter (cookie parsing is now handled in pure Elm).
|
2022-03-04 10:45:06 -08:00 |
|
Dillon Kearns
|
ac8f57b145
|
Rename function.
|
2022-03-04 09:43:48 -08:00 |
|
Dillon Kearns
|
12c0013ea3
|
Remove obsolete values from Session API experiments.
|
2022-03-04 09:42:52 -08:00 |
|
Dillon Kearns
|
5c983e5334
|
Include port-data-source file in serverless function output, and include example in netlify project.
|
2022-03-03 09:29:50 -08:00 |
|
Dillon Kearns
|
6197b9a634
|
Update adapter script.
|
2022-03-03 08:52:33 -08:00 |
|
Dillon Kearns
|
2a90fc62ba
|
Trigger build.
|
2022-03-03 08:06:32 -08:00 |
|
Dillon Kearns
|
a1609f5752
|
Add elm-review as dev dependency for pokedex example.
|
2022-02-25 09:05:22 -08:00 |
|
Dillon Kearns
|
2edb61cb74
|
Reinstall dependencies and remove npm i -f flag to try on cloudflare pages.
|
2022-02-23 17:25:01 -08:00 |
|
Dillon Kearns
|
e6a81a56e9
|
Change argument order in helper function.
|
2022-02-23 10:41:04 -08:00 |
|
Dillon Kearns
|
c617baa3d3
|
Use vite config from elm-pages.config.mjs.
|
2022-02-23 10:06:15 -08:00 |
|
Dillon Kearns
|
1ae88f181a
|
Use node-fetch instead of undici for Node 14 compatability.
|
2022-02-22 11:37:09 -08:00 |
|
Dillon Kearns
|
846ddad4f9
|
Add missing return.
|
2022-02-22 10:55:20 -08:00 |
|
Dillon Kearns
|
93a44b6c78
|
Add error logging to debug netlify issue.
|
2022-02-21 18:16:16 -08:00 |
|
Dillon Kearns
|
797d3edb84
|
Update package-lock file in pokedex example.
|
2022-02-21 17:38:25 -08:00 |
|
Dillon Kearns
|
12c00b7565
|
Update adapter script error message and template file location.
|
2022-02-21 17:01:01 -08:00 |
|
Dillon Kearns
|
ff71b62321
|
Try using vite-generated HTML template in adapter-generated scripts.
|
2022-02-21 16:54:51 -08:00 |
|
Dillon Kearns
|
64c983c3ec
|
Move entrypoint files to top-level in pokedex project.
|
2022-02-21 15:51:16 -08:00 |
|
Dillon Kearns
|
e793a8fe89
|
Ensure that fixes don't infinitely apply for Request.oneOf [] case.
|
2022-02-21 15:50:17 -08:00 |
|
Dillon Kearns
|
fbcbfa3c27
|
Add optional body parameter to reload page data port in order to avoid an extra round trip for form POST.
|
2022-02-17 11:52:21 -08:00 |
|
Dillon Kearns
|
094e905dd5
|
Update pokedex example for latest file structure with app/ folder.
|
2022-02-16 16:54:52 -08:00 |
|
Dillon Kearns
|
de2650e357
|
Remove old invocation of port://env.
|
2022-02-10 10:10:26 -08:00 |
|
Dillon Kearns
|
08540c52a0
|
Update pokedex example.
|
2022-02-10 09:55:20 -08:00 |
|
Dillon Kearns
|
094f46d5f7
|
Try base64 encoding responses in Netlify functions.
|
2022-02-04 11:17:44 -08:00 |
|
Dillon Kearns
|
51bc07f2c5
|
Formatting.
|
2022-02-04 11:08:21 -08:00 |
|
Dillon Kearns
|
26bf9e3171
|
Update adapter script to return bytes responses for content.dat.
|
2022-02-04 11:07:24 -08:00 |
|
Dillon Kearns
|
69cdf963cf
|
Remove some instances of content.json.
|
2022-02-03 20:08:45 -08:00 |
|
Dillon Kearns
|
82dea47a89
|
Update package-lock.
|
2022-02-03 11:20:56 -08:00 |
|
Dillon Kearns
|
91c87dd235
|
Add favicon to example.
|
2022-01-29 09:14:38 -08:00 |
|
Dillon Kearns
|
a7f2fa7eda
|
Remove obsolete unoptimizedRequest function.
|
2022-01-28 09:42:52 -08:00 |
|
Dillon Kearns
|
406c0cafd8
|
Rename function.
|
2022-01-28 09:34:11 -08:00 |
|
Dillon Kearns
|
6f7894fd3f
|
Rename module.
|
2022-01-28 09:27:43 -08:00 |
|
Dillon Kearns
|
f9c85dec80
|
Remove more obsolete secrets code.
|
2022-01-27 15:52:42 -08:00 |
|