Commit Graph

70 Commits

Author SHA1 Message Date
Dillon Kearns
feb0969803 Update end-to-end app with new form parser types. 2022-08-23 15:41:30 -07:00
Dillon Kearns
c0c18513d9 Fix a type reference. 2022-08-22 08:38:45 -07:00
Dillon Kearns
056508d4ee Fix some type references in Effect modules. 2022-08-22 08:29:19 -07:00
Dillon Kearns
604eb1ccf9 Add some missing type annotations. 2022-08-21 10:39:21 -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
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
a0477a0441 Remove redundant functions. 2022-08-03 10:11:41 +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
f77db01796 Migrate usage of old Form type. 2022-07-23 20:26:40 +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
65bf2113ba Update examples. 2022-07-09 09:03:00 -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
c2eecd59b6 Update example to use new Form API. 2022-06-30 09:38:49 -07:00
Dillon Kearns
8ea702f4e7 Update examples. 2022-06-28 15:45:36 -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
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
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
52c8a73485 Add redirectTo helper. 2022-04-06 16:38:32 -07:00
Dillon Kearns
8112e477e8 Extract functions into record. 2022-04-05 08:26:26 -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
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
9e498ca93b Update examples. 2022-03-25 09:03:22 -07:00
Dillon Kearns
979be6f3e4 Simulate user effects in tests. 2022-03-21 12:59:51 -07:00
Dillon Kearns
4ae34b9bf0 Remove unnecessary attribute. 2022-03-21 12:10:39 -07:00
Dillon Kearns
2d0f0f2651 Wire up Effect type. 2022-03-21 09:45:11 -07:00
Dillon Kearns
88f2a1dc14 Get test prototype working with redirects and form POST simulation with no event handlers. 2022-03-18 10:50:23 -07:00
Dillon Kearns
6eb29865e0 Handle initial page redirects in test harness. 2022-03-17 09:33:21 -07:00
Dillon Kearns
0b7e6053c9 Add program-test prototype that runs server-rendered routes. 2022-03-16 13:55:31 -07:00
Dillon Kearns
6e53ce5f74 Add test case for handling multiple content types. 2022-03-09 09:19:46 -08:00
Dillon Kearns
ad5f092d06 Improve expectContentType. 2022-03-09 08:49:46 -08:00