Commit Graph

4121 Commits

Author SHA1 Message Date
Dillon Kearns
d2b794bfa5 Add edit screen. 2022-06-13 12:47:18 -07:00
Dillon Kearns
7f5e4f9266 Add new smoothie route. 2022-06-13 12:18:38 -07:00
Dillon Kearns
a35f51600a Don't add required error to field for unparseable values when the raw field value is non-empty. 2022-06-13 10:04:42 -07:00
Dillon Kearns
156c843926 Add way to provide default values from DataSource. 2022-06-12 16:03:34 -07:00
Dillon Kearns
68cfe7019f Add checkbox and int fields. 2022-06-12 08:34:04 -07:00
Dillon Kearns
a0f8585fd0 Extract some form rendering logic and add Field.withClientValidation. 2022-06-10 11:59:09 -07:00
Dillon Kearns
7a289700df Use form field defined in Field module. 2022-06-10 11:21:39 -07:00
Dillon Kearns
3ec9b2157e Fix condition for checking if there are errors in form request parser. 2022-06-10 09:40:21 -07:00
Dillon Kearns
d1bea1df35 Remove unused code. 2022-06-10 09:40:05 -07:00
Dillon Kearns
cb1226af8c Including transitioning state in form view context. 2022-06-10 07:23:06 -07:00
Dillon Kearns
071e0d6dd9 Add client-side errors to view. 2022-06-09 10:49:14 -07:00
Dillon Kearns
3c0bce5769 Include field errors in FormParser view function. 2022-06-09 09:54:48 -07:00
Dillon Kearns
79d03cf768 Wire up example with new form parser. 2022-06-09 09:08:26 -07:00
Dillon Kearns
c543da051b Provide field status in raw field. 2022-06-09 09:04:34 -07:00
Dillon Kearns
5a1555fb2c Update field status on events. 2022-06-09 09:03:39 -07:00
Dillon Kearns
10111e15a2 Update styles. 2022-06-09 09:03:23 -07:00
Dillon Kearns
5e9275ec4c Include a view function in form parser. 2022-06-08 08:37:36 -07:00
Dillon Kearns
4f5bbce442 Parse form data into more structure. 2022-06-08 07:23:21 -07:00
Dillon Kearns
33183024ad Remove Maybe from parsed fields. 2022-06-06 13:33:41 -07:00
Dillon Kearns
a8de3da635 Use new approach for form proof-of-concept API. 2022-06-06 13:20:10 -07:00
Dillon Kearns
9430c9a630 Add profile page. 2022-06-03 17:27:23 -07:00
Dillon Kearns
eed054a7b7 Add a SetField helper. 2022-06-03 17:20:18 -07:00
Dillon Kearns
e13f3def99 Use FormParser API in smoothies example. 2022-06-03 07:24:03 -07:00
Dillon Kearns
2e1fbf0fe7 Add some form parser helpers. 2022-06-03 07:23:44 -07:00
Dillon Kearns
cfad541029 Update form parser API. 2022-06-03 07:23:26 -07:00
Dillon Kearns
d133441cb7 Wire up prototype for client-side form state. 2022-06-02 11:32:35 -07:00
Dillon Kearns
bd98bdb095 Add prototype for form parser. 2022-06-02 11:30:15 -07:00
Dillon Kearns
fe3cd5fea8 Completed exercise. 2022-05-26 09:55:57 -07:00
Dillon Kearns
b26e281bab Update login logic. 2022-05-25 15:51:44 -07:00
Dillon Kearns
69e7a5b153 Add expectSessionData helper. 2022-05-25 14:30:09 -07:00
Dillon Kearns
1c485e95c2 Reset to initial starting point. 2022-05-25 10:18:02 -07:00
Dillon Kearns
ab8b747cb5 Extract some styles to css file. 2022-05-25 10:00:31 -07:00
Dillon Kearns
30133498d6 Use redirect helper. 2022-05-25 09:56:13 -07:00
Dillon Kearns
1e83fbe6db Remove circular import. 2022-05-25 09:50:10 -07:00
Dillon Kearns
414f192bed Move definition. 2022-05-25 09:29:31 -07:00
Dillon Kearns
71867fddb9 Extract function. 2022-05-25 09:28:50 -07:00
Dillon Kearns
e2b9e13c4d Extract smoothies data module. 2022-05-25 09:27:31 -07:00
Dillon Kearns
8db4e72f03 Extract user data module. 2022-05-25 09:25:55 -07:00
Dillon Kearns
60e9aa02bd Extract some seo tags. 2022-05-25 09:23:50 -07:00
Dillon Kearns
88dc66127a Update SEO info. 2022-05-25 09:21:33 -07:00
Dillon Kearns
0d251e3d0d Extract cart module. 2022-05-25 09:21:27 -07:00
Dillon Kearns
84f80a9ed9 Move type definitions. 2022-05-25 09:15:08 -07:00
Dillon Kearns
7f0cba4f77 Use onSubmit for logout. 2022-05-25 09:13:17 -07:00
Dillon Kearns
f6847b73b4 Add signout action. 2022-05-25 09:10:44 -07:00
Dillon Kearns
b06fd0d98d Add user session. 2022-05-25 09:02:00 -07:00
Dillon Kearns
89d550d92d Show pending items in cart. 2022-05-25 08:28:00 -07:00
Dillon Kearns
a3ab4dec8f Show total price. 2022-05-24 20:30:49 -07:00
Dillon Kearns
86f60f23f2 Make sure redundant slashes are removed from Path.join. 2022-05-24 20:05:45 -07:00
Dillon Kearns
849111c9fc Add button to add/remove items from cart. 2022-05-24 20:05:31 -07:00
Dillon Kearns
d471076d03 Update button style. 2022-05-24 20:04:53 -07:00