Commit Graph

2124 Commits

Author SHA1 Message Date
Dillon Kearns
84b1278186 Wire in serverResponse data for forms. 2023-04-17 12:48:53 -07:00
Dillon Kearns
92a8057c63 Add options builder for form options. 2023-04-17 12:48:53 -07:00
Dillon Kearns
e7056d93c1 Update end-to-end to use latest form API. 2023-04-17 12:48:53 -07:00
Dillon Kearns
8275f4e447 More wiring for form integration prototype. 2023-04-17 12:48:53 -07:00
Dillon Kearns
a3f9b98409 Checkpoint for merging API. 2023-04-17 12:48:53 -07:00
Dillon Kearns
65716ac34e Use latest elm-codegen and fix type annotation in AddRoute example. 2023-04-02 21:49:49 -07:00
Dillon Kearns
938f0c85e6 Update test script. 2023-03-24 12:10:41 -07:00
Dillon Kearns
aec36b13c3 Add error handling page draft. 2023-03-24 10:39:35 -07:00
Mario Rogic
f5fc7d22e3
Use username and update for latest API 2023-03-24 08:49:17 +00:00
Dillon Kearns
49e5e26fd1 Add error handling example to pokedex. 2023-03-15 11:07:13 -07:00
Dillon Kearns
188d9bac5a Fix error. 2023-03-15 11:04:34 -07:00
Dillon Kearns
e1ae5e317b Render ErrorPage for production server-rendered routes. 2023-03-15 10:58:03 -07:00
Dillon Kearns
381846560a Update landing page example. 2023-03-14 17:39:43 -07:00
Dillon Kearns
3f5c7b1785 Change Session API to give empty session by default, and expose more low-level withSessionResult in case Result needs to be accessed. 2023-03-14 17:31:25 -07:00
Dillon Kearns
7c7fe23e6d Try busting node cache. 2023-03-14 16:21:21 -07:00
Dillon Kearns
d563d7b6d1 Add new docs section. 2023-03-14 16:17:36 -07:00
Dillon Kearns
0eceb60fee Remove obsolete section and rename. 2023-03-14 16:17:28 -07:00
Dillon Kearns
28d1944ef2 Update landing page examples. 2023-03-14 16:17:07 -07:00
Dillon Kearns
a3716c4a39 Update landing page examples. 2023-03-14 11:11:58 -07:00
Dillon Kearns
c548e9b85b Include lamdera/codecs dependency in elm.json rewriting helpers. 2023-03-11 14:10:57 -08:00
Dillon Kearns
15edcd502e Add helpers for JSON Encoder for fields in Scaffold module. 2023-03-09 11:07:22 -08:00
Dillon Kearns
1e66901d93 Move elm-codegen type information to package instead of user-code. 2023-03-09 11:03:54 -08:00
Dillon Kearns
7360c36a34 Add dependency. 2023-03-09 11:03:17 -08:00
Dillon Kearns
8a60199a7d Remove unused folder from source-directories. 2023-03-09 11:03:12 -08:00
Dillon Kearns
590eb91bbc Update elm-codegen package in example. 2023-03-08 11:02:17 -08:00
Dillon Kearns
022778120a Update package-lock. 2023-03-08 11:02:10 -08:00
Dillon Kearns
337354b21c Fix example. 2023-03-05 10:38:41 -08:00
Dillon Kearns
98bc1ba6c0 Update docs site to latest elm-tailwind-modules. 2023-03-05 10:15:42 -08:00
Dillon Kearns
154a4ff0b0 Handle form result in case expression in route generator. 2023-03-04 07:39:10 -08:00
Dillon Kearns
f4cf8a7069 Make transition strategy the default and move formId argument to rendering. 2023-03-03 18:45:25 -08:00
Dillon Kearns
a8b8e7421d Move formId argument to Form render functions. 2023-03-03 16:55:18 -08:00
Dillon Kearns
6724ffc99d Remove unused import. 2023-03-03 16:09:19 -08:00
Dillon Kearns
3045c108a5 Remove obsolete extra type FinalForm. 2023-03-03 14:54:41 -08:00
Dillon Kearns
57b147f046 Add options as part of Form type in preparation for removing extra FinalForm. 2023-03-03 13:22:53 -08:00
Dillon Kearns
8f0c334b22 Re-order RouteBuilder parameters for consistency. 2023-03-03 11:06:28 -08:00
Dillon Kearns
74249406f9 Use a plain List String for Path instead of Custom Type. 2023-03-03 10:13:51 -08:00
Dillon Kearns
d48485e541 Rename argument sharedModel -> shared. 2023-03-02 11:43:22 -08:00
Dillon Kearns
e19b547808 Remove PageUrl argument and rename RouteBuilder.StaticPayload -> RouteBuilder.App. 2023-03-02 11:36:34 -08:00
Dillon Kearns
22dbb95c35 Fix error. 2023-03-01 17:37:10 -08:00
Dillon Kearns
8d64611254 Fix test. 2023-02-28 16:12:19 -08:00
Dillon Kearns
04f2cbaa0a Bump dependencies in example folder. 2023-02-28 16:06:44 -08:00
Dillon Kearns
4ae64cb5bd Wire in onSubmit for TransitionStrategy. 2023-02-28 16:01:55 -08:00
Dillon Kearns
c53c09aa31 Move Pages.Msg -> PagesMsg and Pages.Msg.Msg -> PagesMsg.PagesMsg. 2023-02-28 15:45:59 -08:00
Dillon Kearns
5857ccefb7 Lock in esbuild version in another example. 2023-02-20 15:40:27 -08:00
Dillon Kearns
9d87036995 Lock in some NPM dependencies to fix build error. 2023-02-20 15:36:53 -08:00
Dillon Kearns
bfe22f3424 Update output. 2023-02-20 11:47:02 -08:00
Dillon Kearns
e3cb9d3a01 Fix some issues with the test script and esm import syntax to fix CI. 2023-02-20 11:44:02 -08:00
Dillon Kearns
ba875d789f Add FieldView.valueButton helpers, and rerun loaders when query params are changed to ensure that GET form submissions reload data. 2023-02-18 12:31:32 -08:00
Dillon Kearns
a9d367725f Handle new from admin/:slug and add delete action handler. 2023-02-07 08:31:51 -08:00
Dillon Kearns
f76870cabe Fix flaky test. 2023-02-06 22:40:49 -08:00
Dillon Kearns
5a2545329e Use Scaffold namespace for generator modules. 2023-02-06 22:04:11 -08:00
Dillon Kearns
2fa6c41d72 Add more type information to Form.Context record in generator. 2023-02-06 20:54:19 -08:00
Dillon Kearns
bcaabe81d8 Extract some code in generator. 2023-02-06 20:36:32 -08:00
Dillon Kearns
e5e007741a Inline more helpers. 2023-02-06 18:23:56 -08:00
Dillon Kearns
3de46b4a99 Inline more helpers. 2023-02-06 18:15:09 -08:00
Dillon Kearns
e85a148da6 Inline helpers. 2023-02-06 15:13:46 -08:00
Dillon Kearns
915b21a501 Change options to better match Field API. 2023-02-06 14:49:03 -08:00
Dillon Kearns
8887770ecb Simplify scaffolding script. 2023-02-06 14:23:04 -08:00
Dillon Kearns
57a3ecf13f Parse module name into List in CLI options parser helper. 2023-02-06 14:17:28 -08:00
Dillon Kearns
17ed841d4b Extract the form rendering line from generator since it's a small amount of code and has customization opportunities. 2023-02-06 14:13:30 -08:00
Dillon Kearns
de0a9d9ac9 Use some import alias in script. 2023-02-06 14:01:29 -08:00
Dillon Kearns
21e38074c5 Rename AddForm to AddRoute now that they handle both cases. 2023-02-06 13:55:17 -08:00
Dillon Kearns
df7f275566 Move some helpers outside of form helper to make it more customizable. 2023-02-06 13:53:24 -08:00
Dillon Kearns
5aeade0daf Extract helper for module name CLI options parsing. 2023-02-06 12:07:41 -08:00
Dillon Kearns
da132b13f3 Extract more helpers from form generator helper. 2023-02-06 12:00:48 -08:00
Dillon Kearns
2977c467b1 Extract CLI parsing helper for form fields. 2023-02-06 11:19:14 -08:00
Dillon Kearns
b3689478d3 Extract some helpers for generating forms. 2023-02-06 10:53:20 -08:00
Dillon Kearns
ad3d68cc9b Use local artificial error API to avoid rate limit. 2023-02-06 09:52:59 -08:00
Dillon Kearns
b9a0aa2c6a Add basic auth helper module. 2023-02-06 08:27:55 -08:00
Dillon Kearns
d74e4360f4 Reuse type. 2023-02-05 17:45:57 -08:00
Dillon Kearns
8ee0c73ab5 Add deletePost definition. 2023-02-05 17:12:02 -08:00
Dillon Kearns
7f6f2c19e5 Change sort order. 2023-02-05 17:11:43 -08:00
Dillon Kearns
087a73e97f Update blog db seed file. 2023-02-05 17:08:38 -08:00
Dillon Kearns
202a8bf666 Remove unused imports. 2023-02-05 09:21:50 -08:00
Dillon Kearns
d140be0f73 Replace New route with Admin/Slug. 2023-02-04 17:21:03 -08:00
Dillon Kearns
b0d5a3c2e1 Render 404 page. 2023-02-04 13:08:54 -08:00
Dillon Kearns
4482820641 Update blog example. 2023-02-04 12:38:42 -08:00
Dillon Kearns
ae28135a6c Update blog example scripts to use Html instead of Styled Html. 2023-02-04 08:22:31 -08:00
Dillon Kearns
48b92722e5 Update blog example. 2023-02-04 08:19:06 -08:00
Dillon Kearns
219e4b3a12 Add publish date. 2023-02-04 08:06:42 -08:00
Dillon Kearns
4e9900779f Include AddRoute script in blog engine project. 2023-02-04 07:57:20 -08:00
Dillon Kearns
8c45376a22 Add post preview. 2023-02-03 10:49:03 -08:00
Dillon Kearns
2b409c6849 Add prisma setup for example. 2023-02-03 10:19:48 -08:00
Dillon Kearns
f08b0c3564 Render post titles in example 2023-02-03 10:19:38 -08:00
Dillon Kearns
49f6e14042 Use transitioning state in form route generator. 2023-02-03 10:19:15 -08:00
Dillon Kearns
51f7a8dbd7 Update posts/new example. 2023-02-03 10:18:37 -08:00
Dillon Kearns
18e2e43da3 Add initial setup for blog-engine example. 2023-02-02 11:07:57 -08:00
Dillon Kearns
737cb66903 Delete unused import. 2023-01-31 10:57:42 -08:00
Dillon Kearns
c32662fd6b Fix magic link encryption to use latest code fixes. 2023-01-31 10:54:55 -08:00
Dillon Kearns
957ea0333b Fix ordering for retrieving newly created session. 2023-01-31 10:54:38 -08:00
Dillon Kearns
7d73c34d61 Delete commented code. 2023-01-31 10:41:21 -08:00
Dillon Kearns
c5ea554e80 Add missing command. 2023-01-30 21:15:16 -08:00
Dillon Kearns
eb834baf41 Bump node version. 2023-01-30 21:08:44 -08:00
Dillon Kearns
1136aa11e6 Skip GraphQL Generate step in build. 2023-01-30 21:04:10 -08:00
Dillon Kearns
39123b0fc0 Set esbuild option for netlify functions. 2023-01-30 21:03:03 -08:00
Dillon Kearns
df73e7a082 Update adapter script in todos example. 2023-01-30 21:01:47 -08:00
Dillon Kearns
eabe849240 Revert module type in package for now. 2023-01-30 20:59:04 -08:00
Dillon Kearns
da4205284d Remove unused. 2023-01-30 20:46:46 -08:00
Dillon Kearns
78272efaae Add missing sessionId check. 2023-01-30 20:46:43 -08:00
Dillon Kearns
a69c286011 Use package type module. 2023-01-30 20:37:56 -08:00