Commit Graph

1978 Commits

Author SHA1 Message Date
Dillon Kearns
e03e0befee Fix markup for toggle-all button to pick up CSS styles properly. 2022-08-24 08:18:19 -07:00
Dillon Kearns
feb0969803 Update end-to-end app with new form parser types. 2022-08-23 15:41:30 -07:00
Dillon Kearns
e5010dec7b Remove hardcoded data now that different view input values can be passed in. 2022-08-23 11:48:59 -07:00
Dillon Kearns
7b6dab6c80 Add API for combining form parsers into a type without the input type variable. 2022-08-23 11:41:29 -07:00
Dillon Kearns
c549f94b8e Use new graphql schema field name. 2022-08-22 14:23:32 -07:00
Dillon Kearns
89b3ce165b Fix errors. 2022-08-22 14:16:32 -07:00
Dillon Kearns
cb60896742 Update escaping example package.json setup. 2022-08-22 09:17:43 -07:00
Dillon Kearns
c0c18513d9 Fix a type reference. 2022-08-22 08:38:45 -07:00
Dillon Kearns
6e785a277f Update some dependencies. 2022-08-22 08:38:40 -07:00
Dillon Kearns
3403e29679 Update some NPM dependencies. 2022-08-22 08:35:24 -07:00
Dillon Kearns
d5a97abe59 Update some NPM dependencies. 2022-08-22 08:33:51 -07:00
Dillon Kearns
056508d4ee Fix some type references in Effect modules. 2022-08-22 08:29:19 -07:00
Dillon Kearns
2804afccef Move FormData and Method types to package-exposed module. 2022-08-22 08:17:43 -07:00
Dillon Kearns
be70c8b004 Update package-lock. 2022-08-22 08:00:21 -07:00
Dillon Kearns
a7cdded64c Add review config in end-to-end example project. 2022-08-21 11:04:44 -07:00
Dillon Kearns
02346b6593 Remove some unused dependencies and modules. 2022-08-21 10:51:01 -07:00
Dillon Kearns
604eb1ccf9 Add some missing type annotations. 2022-08-21 10:39:21 -07:00
Dillon Kearns
b82988ed28 Remove obsolete NoOp Msg. 2022-08-21 10:39:21 -07:00
Dillon Kearns
195469806e Handle multiple concurrent new-item submissions. 2022-08-19 10:20:48 -07:00
Dillon Kearns
eed8c29c43 Comment out debug pane for prod deploy. 2022-08-19 09:26:04 -07:00
Dillon Kearns
047d5f0631 Move debug pane and add wrapping. 2022-08-19 08:38:34 -07:00
Dillon Kearns
55b81d4297 Add loading spinner. 2022-08-18 20:44:32 -07:00
Dillon Kearns
d45a3aff71 Show debug output. 2022-08-18 20:16:01 -07:00
Dillon Kearns
779032858c Hide some buttons. 2022-08-18 20:14:25 -07:00
Dillon Kearns
96a3db6523 Show loading state with elipsis. 2022-08-17 15:12:43 -07:00
Dillon Kearns
978f00f5a0 Set createdAt from server to make it more consistent. 2022-08-16 19:33:57 -07:00
Dillon Kearns
4cc27a7017 Reorganize code. 2022-08-16 16:44:03 -07:00
Dillon Kearns
7d7cefe68b Move function for cleaner diff. 2022-08-16 16:41:53 -07:00
Dillon Kearns
7ac3cce9c1 Extract forms list. 2022-08-16 16:41:45 -07:00
Dillon Kearns
79b8a6589a Extract and format. 2022-08-16 16:39:20 -07:00
Dillon Kearns
d728e57858 Remove head tags since this is a logged-in-only page. 2022-08-16 16:32:15 -07:00
Dillon Kearns
67d55d8156 Inline subscriptions. 2022-08-16 16:30:19 -07:00
Dillon Kearns
86c80e9438 Update imports and formatting. 2022-08-16 16:21:00 -07:00
Dillon Kearns
bd058c069b Refactor session code. 2022-08-16 16:09:16 -07:00
Dillon Kearns
f3d5a67c2f Extract icons to module. 2022-08-16 16:05:36 -07:00
Dillon Kearns
fe3c46c8be Use Route helper function. 2022-08-16 16:04:18 -07:00
Dillon Kearns
ab1344113c Rearrange code for diff. 2022-08-16 16:01:24 -07:00
Dillon Kearns
c85936614f Change nesting to minimize diff. 2022-08-16 15:57:10 -07:00
Dillon Kearns
3c9d761d60 Reorder to minimize diff. 2022-08-16 15:54:32 -07:00
Dillon Kearns
6930075676 Use helper function. 2022-08-16 15:52:14 -07:00
Dillon Kearns
4c280a5bca Use helper function. 2022-08-16 15:51:39 -07:00
Dillon Kearns
725675a94f Use helper function. 2022-08-16 15:51:12 -07:00
Dillon Kearns
8f60815d22 Use helper function. 2022-08-16 15:50:38 -07:00
Dillon Kearns
c6986fc1fc Use helper function. 2022-08-16 15:49:59 -07:00
Dillon Kearns
2d912ffcb3 Extract helper function. 2022-08-16 15:49:15 -07:00
Dillon Kearns
564e410817 Reduce the diff with Elm TodoMVC code. 2022-08-16 15:43:35 -07:00
Dillon Kearns
64827c0b14 Add missing import. 2022-08-16 10:24:22 -07:00
Dillon Kearns
592d7d54ed Use optimistic visibility for faster transitions. 2022-08-16 10:10:12 -07:00
Dillon Kearns
ea945f6f6a Make toggle-all optimistic. 2022-08-16 08:43:37 -07:00
Dillon Kearns
2016e5be0b Implement toggle-all with hardcoded toggle-to value. 2022-08-16 08:38:30 -07:00
Dillon Kearns
fd6ece625b Optimistically clear completed todos. 2022-08-15 15:49:21 -07:00
Dillon Kearns
ec95dd4319 Implement clear completed action. 2022-08-15 15:49:08 -07:00
Dillon Kearns
c1f95bdd59 Implement edit action and form handling. 2022-08-15 15:30:59 -07:00
Dillon Kearns
314f15dbf3 Add edit form. 2022-08-15 15:13:31 -07:00
Dillon Kearns
ef0e421aea Clear new item input field on optimistic submit. 2022-08-15 14:16:23 -07:00
Dillon Kearns
bc38e8b43b Update SEO tags. 2022-08-15 10:55:54 -07:00
Dillon Kearns
c4e365e50c Order todos by created_at. 2022-08-15 09:52:27 -07:00
Dillon Kearns
075f72a5fc Use svg's for toggle icons. 2022-08-15 09:48:56 -07:00
Dillon Kearns
bcaa009582 Fix logout button form parsing. 2022-08-15 09:47:38 -07:00
Dillon Kearns
876b282bb7 Add logout button. 2022-08-14 13:50:29 -07:00
Dillon Kearns
8b7fba507a Redirect after getting magic link. 2022-08-14 08:16:35 -07:00
Dillon Kearns
4d7039b50e Remove Debug statements. 2022-08-14 08:11:16 -07:00
Dillon Kearns
e819b354df Delete obsolete route. 2022-08-14 08:10:21 -07:00
Dillon Kearns
a86c6c4648 Use BASE_URL env variable for hosted url. 2022-08-14 08:08:16 -07:00
Dillon Kearns
74e05446d7 Hide login form after submission. 2022-08-14 08:05:15 -07:00
Dillon Kearns
2fa5bb34b2 Try using netlify's URL environment variable. 2022-08-14 07:53:47 -07:00
Dillon Kearns
44dfe04c88 Build without debug flag. 2022-08-14 07:46:22 -07:00
Dillon Kearns
99fc9b44d0 Try different error rendering in server-render script. 2022-08-14 07:38:39 -07:00
Dillon Kearns
75c11eebcb Turn off fake email sending for production deploy. 2022-08-14 07:30:45 -07:00
Dillon Kearns
2cb4692423 Update netlify config for todos example. 2022-08-14 07:28:14 -07:00
Dillon Kearns
617796570a Show optimistic completion state for toggling items. 2022-08-13 12:19:28 -07:00
Dillon Kearns
880e6fa034 Change visibility to a custom type. 2022-08-13 07:03:40 -07:00
Dillon Kearns
9883323280 Add optional visibility route param. 2022-08-13 06:54:26 -07:00
Dillon Kearns
2f62713e91 Show pending new items with delete button disabled. 2022-08-13 06:38:22 -07:00
Dillon Kearns
fc17849da8 Optimistically hide deleted items. 2022-08-13 06:12:38 -07:00
Dillon Kearns
d4f2f3e35d Wire up delete button. 2022-08-12 18:44:59 -07:00
Dillon Kearns
8e84792621 Add todo complete button. 2022-08-12 11:01:18 -07:00
Dillon Kearns
200e47314c Create new todo items. 2022-08-12 09:43:36 -07:00
Dillon Kearns
a68094bcf4 Fetch todos by session. 2022-08-12 08:34:02 -07:00
Dillon Kearns
4d4ac95fbc Remove old header title. 2022-08-12 08:33:49 -07:00
Dillon Kearns
008e13fba5 Get session cookie. 2022-08-12 08:08:11 -07:00
Dillon Kearns
22356d4511 Remove unused imports. 2022-08-12 08:03:58 -07:00
Dillon Kearns
814ea506b1 Render new item form. 2022-08-12 08:03:37 -07:00
Dillon Kearns
5634b8788b Copy over starting point from Evan's TodoMVC app. 2022-08-12 07:56:01 -07:00
Dillon Kearns
bb1239fbba Remove unused. 2022-08-11 20:37:46 -07:00
Dillon Kearns
76208360ae Extract common code. 2022-08-11 20:26:50 -07:00
Dillon Kearns
9a4850ba10 Remove log statements. 2022-08-11 20:11:50 -07:00
Dillon Kearns
53b4a08db8 Parse magic links and create sessions. 2022-08-11 20:09:29 -07:00
Dillon Kearns
db6303b2d9 Update send-grid project. 2022-08-11 11:45:47 -07:00
Dillon Kearns
2fd7becbf8 Wire up encrypt/decrypt logic for magic hash on form submit and on page load with query param. 2022-08-11 11:43:43 -07:00
Dillon Kearns
8314fa06c5 Add send-grid package submodule. 2022-08-11 06:03:47 -07:00
Dillon Kearns
2cfac9abeb Wire in encrypt port data source. 2022-08-11 06:01:44 -07:00
Dillon Kearns
ea03083bf2 Add starting point for todos app example. 2022-08-10 15:24:41 -07:00
Dillon Kearns
0d969ed851 Update package-lock. 2022-08-09 11:40:24 -07:00
Dillon Kearns
a07c15b72f Execute logout with client-side submission handler, and support pointing at external actions. 2022-08-09 11:37:10 -07:00
Dillon Kearns
99151f86a6 Update search example. 2022-08-09 09:03:25 -07:00
Dillon Kearns
ad5fda503f Force rebuild. 2022-08-09 08:49:37 -07:00
Dillon Kearns
abfa27ee9f Fix bug that causes extra navigation for form POSTs. 2022-08-09 08:44:12 -07:00
Dillon Kearns
d594cdcc60 Update logout button. 2022-08-09 06:40:32 -07:00
Dillon Kearns
517acbce9d Use new action setup for logout handler. 2022-08-09 06:36:45 -07:00
Dillon Kearns
b7accea2e8 Fix form field names. 2022-08-09 06:34:12 -07:00
Dillon Kearns
426d42b0bf Fix errors. 2022-08-08 10:49:43 -07:00
Dillon Kearns
69bde1d010 Migrate route over to new server-side validation API. 2022-08-08 07:50:30 -07:00
Dillon Kearns
1542e7b502 Use new form API function. 2022-08-08 06:47:47 -07:00
Dillon Kearns
7ae7932e8b Show deleting button text when transitioning. 2022-08-08 05:10:03 -07:00
Dillon Kearns
a0477a0441 Remove redundant functions. 2022-08-03 10:11:41 +02:00
Dillon Kearns
926d56af84 Update package-lock. 2022-08-03 09:40:57 +02:00
Dillon Kearns
de79f1f07c Update hashes from new vite version. 2022-08-03 09:40:22 +02:00
Dillon Kearns
19beffa1a1 Update package-lock files. 2022-08-03 09:40:06 +02:00
Dillon Kearns
6a99994eb5 Remove server-side validation from field in favor of doing it within the combine function. 2022-08-03 09:33:16 +02:00
Dillon Kearns
985e79922c Update docs and remove obsolete globalErrors helper. 2022-08-01 10:40:51 +02:00
Dillon Kearns
d7a2127daf Install latest terser. 2022-08-01 10:36:22 +02:00
Dillon Kearns
3943ed66d9 Install latest mocha. 2022-08-01 10:34:51 +02:00
Dillon Kearns
5446efa32d Remove temporary example. 2022-08-01 10:29:14 +02:00
Dillon Kearns
75b487f204 Add minimum value for shopping cart quantity. 2022-08-01 09:29:52 +02:00
Dillon Kearns
c5777b8b33 Use path.join to prevent duplicate slashes. 2022-07-28 08:22:04 +02:00
Dillon Kearns
e53efe7ad3 Update adapter script. 2022-07-27 21:30:46 +02:00
Dillon Kearns
675271a07e Update netlify config. 2022-07-27 21:16:37 +02:00
Dillon Kearns
c99af60ab5 Use password hashing in smoothies example. 2022-07-27 18:58:08 +02:00
Dillon Kearns
944b78bce4 Add a login helper function. 2022-07-27 18:10:23 +02:00
Dillon Kearns
2328cf3dee Install bcrypt-js. 2022-07-27 18:09:58 +02:00
Dillon Kearns
13e272cabd Fix type. 2022-07-26 09:03:32 +02:00
Dillon Kearns
e191b1c870 Extract function. 2022-07-25 15:57:40 +02:00
Dillon Kearns
fb8e23e5b6 Change argument order. 2022-07-25 15:15:45 +02:00
Dillon Kearns
e51b7b9e57 Inline type alias. 2022-07-25 13:24:06 +02:00
Dillon Kearns
bf21755847 Clear todo input field after entering item. 2022-07-25 13:11:58 +02:00
Dillon Kearns
6a5a9f4c8c Add Validation.fieldStatus. 2022-07-24 21:14:18 +02:00
Dillon Kearns
f1f25f787e Rename types. 2022-07-24 21:00:47 +02:00
Dillon Kearns
1a8e8e4886 Fix errors. 2022-07-24 20:23:48 +02:00
Dillon Kearns
6757b27ea4 Rename types. 2022-07-24 20:20:05 +02:00
Dillon Kearns
ea22871b65 Change Validation type to support constraints for named fields with new design. 2022-07-24 15:06:07 +02:00
Dillon Kearns
6291237bf4 Remove hardcoded form id. 2022-07-24 10:02:06 +02:00
Dillon Kearns
c853df574b Rename functions. 2022-07-24 09:21:55 +02:00
Dillon Kearns
4cd79105f2 Rename functions. 2022-07-24 09:18:10 +02:00
Dillon Kearns
b4c26d5401 Rename functions. 2022-07-24 09:14:48 +02:00
Dillon Kearns
c37eb3668e Rename functions. 2022-07-24 09:11:12 +02:00
Dillon Kearns
94b6649271 Rename type. 2022-07-24 09:09:20 +02:00
Dillon Kearns
4eb3667847 Rename type. 2022-07-24 09:08:43 +02:00
Dillon Kearns
9d8320d5fd Remove unused. 2022-07-24 09:01:28 +02:00
Dillon Kearns
f77db01796 Migrate usage of old Form type. 2022-07-23 20:26:40 +02:00
Dillon Kearns
5fe860a11e Migrate another page to new Form type, and Form.dynamic function. 2022-07-23 18:42:10 +02:00
Dillon Kearns
8a6bd84c11 Migrate another page. 2022-07-23 08:45:20 +02:00
Dillon Kearns
80b418ecf9 Migrate another page. 2022-07-23 08:44:00 +02:00
Dillon Kearns
8680999754 Migrate another page. 2022-07-22 21:29:09 +02:00
Dillon Kearns
4496a72e35 Migrate another page. 2022-07-22 21:26:00 +02:00
Dillon Kearns
8f2c1a04f5 Migrate another page. 2022-07-22 21:23:05 +02:00
Dillon Kearns
54276b82af Remove completed todo. 2022-07-22 21:19:50 +02:00
Dillon Kearns
f978587688 Migrate another page. 2022-07-22 21:18:32 +02:00
Dillon Kearns
82769e3c20 Show button transition. 2022-07-22 21:06:20 +02:00
Dillon Kearns
6a6cb2e17e Remove obsolete attribute. 2022-07-22 21:05:47 +02:00
Dillon Kearns
d1bbef991a Migrate another page. 2022-07-22 21:05:27 +02:00
Dillon Kearns
fbe4b28a12 Migrate another page to new Form type. 2022-07-22 20:59:51 +02:00
Dillon Kearns
0529b0a9d5 Migrate another page. 2022-07-22 20:45:29 +02:00
Dillon Kearns
c01d4f6765 Migrate another module to new form API. 2022-07-22 17:32:43 +02:00
Dillon Kearns
70cd707a96 Migrate module. 2022-07-22 17:29:46 +02:00
Dillon Kearns
f034531062 Migrate tailwind form example to new form type. 2022-07-22 16:31:46 +02:00
Dillon Kearns
9a011c012c Migrate another page to new form type. 2022-07-22 12:02:51 +02:00
Dillon Kearns
170c906e72 Use new Form type for another route. 2022-07-22 09:41:35 +02:00
Dillon Kearns
c2f0e2922a Add form data parser for new type. 2022-07-21 15:31:16 +02:00
Dillon Kearns
fc153e7f48 Remove some hardcoding. 2022-07-20 11:36:50 +02:00
Dillon Kearns
379ffc55ba Stub out new design for Form.init with some Debug.todo calls. 2022-07-19 18:36:08 +02:00
Dillon Kearns
642b9a6f9b Fix command. 2022-07-12 16:28:29 +02:00
Dillon Kearns
4541ce8adc Fix examples. 2022-07-12 13:25:24 +02:00
Dillon Kearns
c5d9fe865d Extract common helper for preparing validation errors and hidden input values in Form module. 2022-07-12 12:25:14 +02:00
Dillon Kearns
b730d50689 Update example. 2022-07-12 11:54:13 +02:00
Dillon Kearns
d78180a140 Wire through useCache flag from DataSource, and expose DataSource.Http.uncachedRequest. 2022-07-12 02:10:21 -07:00
Dillon Kearns
5e89b67b0b Update smoothies app, and remove requestTime cache-busting URL string in preparation for disabling caching for SSR DataSources. 2022-07-09 11:57:16 -07:00
Dillon Kearns
65bf2113ba Update examples. 2022-07-09 09:03:00 -07:00
Dillon Kearns
078a95b5b8 Use clean diff for escaping test. 2022-07-09 08:23:58 -07:00
Dillon Kearns
169bf18561 Rename some WIP function names. 2022-07-09 08:03:02 -07:00
Dillon Kearns
55bdca78c5 Fix typos. 2022-07-08 18:01:54 -07:00
Dillon Kearns
102d27c84b Update docs. 2022-07-08 18:00:30 -07:00
Dillon Kearns
50ce177be1 Rename module. 2022-07-08 17:58:49 -07:00
Dillon Kearns
8ce539a3a3 Rename module. 2022-07-08 17:56:52 -07:00
Dillon Kearns
76d2ac367f Change module name. 2022-07-08 17:51:26 -07:00
Dillon Kearns
03729f89ed Rename module. 2022-07-08 17:40:01 -07:00
Dillon Kearns
d14688b4d8 Remove obsolete state that's managed by Form API now. 2022-07-08 17:35:53 -07:00
Dillon Kearns
fdee339801 Rename variable and add debug output in example. 2022-07-08 15:25:48 -07:00
Dillon Kearns
59b865670e Use Validation type as base for all fields in combiner function. 2022-07-08 14:29:30 -07:00
Dillon Kearns
8cacb7c4f3 Use Form.Errors wrapper type instead of raw Dict to make access more type-safe. 2022-07-08 11:16:24 -07:00
Dillon Kearns
34e2389ab4 Pass html attributes into Form render functions directly. 2022-07-08 11:09:52 -07:00
Dillon Kearns
70b1423bd2 Use builder pattern for rendering forms. 2022-07-08 10:57:22 -07:00
Dillon Kearns
5420de8dfa Remove obsolete function. 2022-07-08 09:59:59 -07:00
Dillon Kearns
79202cbd68 Update package-lock. 2022-07-08 09:57:06 -07:00
Dillon Kearns
344341a93a Wire up prototype for new Form builder pattern for fetcher/transition options. 2022-07-07 16:02:35 -07:00
Dillon Kearns
91d040a7a7 Add escaping example output. 2022-07-06 10:06:18 -07:00
Dillon Kearns
e3e0ffdd7e Try local import. 2022-07-05 15:56:48 -07:00
Dillon Kearns
6f35f55021 Update path in build script calling adapter code. 2022-07-05 11:08:57 -07:00
Dillon Kearns
d895b7fbb3 Fix extension in adapter script. 2022-07-05 11:02:02 -07:00
Dillon Kearns
905d940bf4 Force build. 2022-07-05 10:59:40 -07:00
Dillon Kearns
bdc1715726 Use latest esbuild. 2022-07-05 10:54:58 -07:00
Dillon Kearns
ceb6286cba Update token 2022-07-05 10:32:09 -07:00
Dillon Kearns
c1a5ea97a2 Migrate todo example. 2022-07-05 10:18:13 -07:00
Dillon Kearns
fb2026a769 Migrate search example page. 2022-07-05 09:57:02 -07:00
Dillon Kearns
3a2670a4ac Migrate signup page. 2022-07-05 08:38:28 -07:00
Dillon Kearns
966ceb491a Update package-lock. 2022-07-05 08:25:01 -07:00
Dillon Kearns
98f49bdbbb Use transition state for isSubmitting check. 2022-07-05 08:24:52 -07:00
Dillon Kearns
e1dd176516 Remove log statement. 2022-07-05 08:24:40 -07:00
Dillon Kearns
8e93fef8e3 Increase label area for checkboxes and radio buttons. 2022-07-05 08:24:34 -07:00
Dillon Kearns
e156e4f268 Migrate tailwind form example to new Form API. 2022-07-02 09:06:32 -07:00
Dillon Kearns
8caacce2b7 Add some fixes to pokedex example. 2022-07-02 09:05:50 -07:00
Dillon Kearns
7fe196d2e9 Fix lamdera error with unserializable Data in example. 2022-06-30 13:18:56 -07:00
Dillon Kearns
325004f3fc Try removing symlink. 2022-06-30 11:56:13 -07:00
Dillon Kearns
5b1bf51c25 Run reset command in right order. 2022-06-30 10:48:26 -07:00
Dillon Kearns
d4447bfe16 Try global elm-format install to fix CI error. 2022-06-30 10:44:39 -07:00
Dillon Kearns
ff8850680a Try node 18 in CI. 2022-06-30 10:31:07 -07:00
Dillon Kearns
c2eecd59b6 Update example to use new Form API. 2022-06-30 09:38:49 -07:00
Dillon Kearns
4cdd215dad Remove testing DataSource from hackernews demo. 2022-06-29 13:32:50 -07:00
Dillon Kearns
e861c71ce6 Force build. 2022-06-29 12:47:37 -07:00
Dillon Kearns
6850d98562 Fix hackernews example. 2022-06-29 12:13:34 -07:00
Dillon Kearns
f1a2c3c0a9 Add scaffolding for running server-side validations. Remove deprecated form parsing Server.Request API. 2022-06-29 10:57:30 -07:00
Dillon Kearns
8ea702f4e7 Update examples. 2022-06-28 15:45:36 -07:00
Dillon Kearns
da6e7d7313 Remove some Debug statements. 2022-06-28 14:48:57 -07:00
Dillon Kearns
3816a4baf6 Wrap Validation type in custom type wrapper. 2022-06-27 10:55:45 -07:00
Dillon Kearns
669bc2e53f Run dependent validations even if an individual field fails so that you can have more fine-grained control over dependent errors. 2022-06-25 14:30:31 -07:00
Dillon Kearns
5949fa7b31 Try new subGroup interface. 2022-06-24 11:31:16 -07:00
Dillon Kearns
8a05926ec0 Add sub-group form helper. 2022-06-24 08:56:41 -07:00
Dillon Kearns
5e9492d45a Use new validated min/max field attributes in place of obsolete non-validated versions. 2022-06-23 10:29:28 -07:00
Dillon Kearns
2799aa7d57 Add a form rendering option for method. 2022-06-22 15:33:40 -07:00
Dillon Kearns
e3d1bee868 Wire through the data argument to formState in view function. 2022-06-22 14:45:00 -07:00
Dillon Kearns
2a530b48e6 Add render option for submit strategy. 2022-06-22 14:34:05 -07:00
Dillon Kearns
4ce8ba2c28 Validate description length. 2022-06-21 10:53:35 -07:00
Dillon Kearns
ec5bc916c1 Include errors in ViewField. 2022-06-21 09:33:57 -07:00
Dillon Kearns
88d6a058f0 Change a heading name. 2022-06-21 09:26:30 -07:00
Dillon Kearns
a611c96959 Add (parsed : Maybe parsed) to field record for view. 2022-06-21 09:26:20 -07:00
Dillon Kearns
f492f9b068 Show submission status in submit button. 2022-06-21 08:42:27 -07:00
Dillon Kearns
2091ca3bdb Add create-group form example. 2022-06-21 08:38:46 -07:00
Dillon Kearns
6d68a0c504 Inline variable. 2022-06-20 16:35:07 -07:00
Dillon Kearns
bda8eed9df Add type annotation. 2022-06-20 16:30:13 -07:00
Dillon Kearns
502abc6c54 Log dependent form example when received in action. 2022-06-20 15:30:00 -07:00
Dillon Kearns
4b88672817 Remove unused. 2022-06-20 15:22:23 -07:00
Dillon Kearns
57c215a4df Remove completed todo. 2022-06-20 15:21:49 -07:00
Dillon Kearns
369770df6e Render field errors in dynamic form example. 2022-06-20 15:18:52 -07:00
Dillon Kearns
b194671b9e Dynamic sub-form parsing renders views properly. 2022-06-20 15:13:27 -07:00
Dillon Kearns
58c7a84038 Add basic prototype for dependent form parsing. 2022-06-20 14:20:39 -07:00
Dillon Kearns
87fa08a016 Use different approach for defining increment/decrement form parser. 2022-06-18 18:06:58 -07:00
Dillon Kearns
0e682cba4b Rename module. 2022-06-18 10:34:55 -07:00
Dillon Kearns
d5b6c5bd47 Rename module. 2022-06-18 10:29:41 -07:00
Dillon Kearns
3a38135957 Only return parsed results (no rendered view) from form parse function. 2022-06-18 10:23:23 -07:00
Dillon Kearns
6bfd076baf Rename function. 2022-06-18 10:20:41 -07:00
Dillon Kearns
9b5a1871b3 Rename function. 2022-06-18 10:02:59 -07:00
Dillon Kearns
df16cf19fc Allow form parser combining function to do dependent field errors. 2022-06-18 08:44:57 -07:00
Dillon Kearns
5bbcc21998 Remove obsolete form parser version. 2022-06-16 12:03:54 -07:00
Dillon Kearns
aa9c1d09d7 Wire up properties and field types to field renderer. 2022-06-16 08:42:02 -07:00
Dillon Kearns
5b92530e29 Render checkboxes correctly. 2022-06-15 13:24:04 -07:00
Dillon Kearns
f742a1c5ae Add rendering logic for <select>. 2022-06-15 12:40:18 -07:00
Dillon Kearns
04ff00414e Add initial setup for <select> form input. 2022-06-15 11:48:24 -07:00
Dillon Kearns
145bc194ad Add edit page. 2022-06-15 09:11:55 -07:00
Dillon Kearns
c83e3bb957 Handle parsing multiple form shapes. 2022-06-14 16:49:02 -07:00
Dillon Kearns
4117e072ca Use initial values to parse preview of form data. 2022-06-14 09:27:48 -07:00