Commit Graph

3938 Commits

Author SHA1 Message Date
Dillon Kearns
b50f188499 Add todo. 2022-04-28 09:24:35 -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
24b1f21a3d Add annotation. 2022-04-28 08:49:17 -07:00
Dillon Kearns
2267e62b28 Extract function. 2022-04-28 08:45:27 -07:00
Dillon Kearns
47bbd59a4c Add TODO. 2022-04-28 08:45:21 -07:00
Dillon Kearns
c1592cceed Use optionalField for checkbox since it won't be included in (new FormData()) if a checkbox is unchecked. 2022-04-27 10:32:57 -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
bd4737e73c Update package-lock. 2022-04-25 09:34:55 -07:00
Dillon Kearns
6282d880d1 Cancel stale page load requests. 2022-04-25 09:34:55 -07:00
Dillon Kearns
eae145ebe5 Avoid printing undefined to console if a promise is rejected with no argument. 2022-04-22 16:00:14 -07:00
Dillon Kearns
494f1f26d7 Prevent builds from hanging when there is a build error in a DataSource for getting build-time paths. 2022-04-22 15:58:38 -07:00
Dillon Kearns
723f0b22a1 Change brand color. 2022-04-13 09:33:37 -07:00
Dillon Kearns
9ecd7c5d5f Fix canonical URL. 2022-04-13 09:09:05 -07:00
Dillon Kearns
48d2f8bfb7 Update readme. 2022-04-13 09:03:50 -07:00
Dillon Kearns
4f0a604d7f Update hacker news SEO tags. 2022-04-13 08:55:28 -07:00
Dillon Kearns
e6c65bbdf2 Try require from elm-pages package from serverless functions. 2022-04-12 11:52:12 -07:00
Dillon Kearns
8787fefdde Add styles and fix markup for comments. 2022-04-11 21:36:09 -07:00
Dillon Kearns
488b0db305 Set display on nested comments. 2022-04-11 21:03:56 -07:00
Dillon Kearns
435ccc362b Add comments view. 2022-04-11 20:52:03 -07:00
Dillon Kearns
cc7c7c3b06 Update escaping test output. 2022-04-11 14:40:13 -07:00
Dillon Kearns
21059e19be Render pagination view. 2022-04-11 12:25:19 -07:00
Dillon Kearns
49078902ff Decode into nicer custom type. 2022-04-11 11:50:18 -07:00
Dillon Kearns
d05bb257e2 Handle some additional nullable values. 2022-04-11 11:25:23 -07:00
Dillon Kearns
8a3c787906 Clean up domain view. 2022-04-11 11:04:55 -07:00
Dillon Kearns
34db38420c Update build command. 2022-04-11 10:57:43 -07:00
Dillon Kearns
bddef2a417 Delete commented code. 2022-04-11 10:30:12 -07:00
Dillon Kearns
9a36ebb7ca Fix generated route pattern for optional route params in _redirects. 2022-04-11 10:29:41 -07:00
Dillon Kearns
b4e1e36e9f Update source-directories. 2022-04-11 08:46:36 -07:00
Dillon Kearns
7613efce4c Install elm-review in hackernews project. 2022-04-11 08:41:02 -07:00
Dillon Kearns
dd4588bf51 Update netlify config for hackernews. 2022-04-11 08:40:14 -07:00
Dillon Kearns
4b30211c05 Add stories/:id route to hackernews example. 2022-04-10 21:18:02 -07:00
Dillon Kearns
afcfdb72dc Add hacker news example. 2022-04-10 16:37:00 -07:00
Dillon Kearns
8800c8a16f Add expectQueryParam helper. 2022-04-10 16:32:26 -07:00
Dillon Kearns
2934da1958 Fix route matcher for optional route segments so it supports routing to index route. 2022-04-10 16:31:20 -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
9abd54e2f9 Handle fetchPageData in Platform.elm in preparation for managing transition state. 2022-04-09 08:45:21 -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
8cbe96e6b8 Update package-lock. 2022-04-09 08:05:33 -07:00
Dillon Kearns
8ce0e08efa Fix hardcoded value in non-matching expectFormPost message. 2022-04-07 09:24:32 -07:00
Dillon Kearns
ad22e15393 Add a field map function. 2022-04-06 17:01:11 -07:00
Dillon Kearns
c7dbf796b1 Add some missing doc comments. 2022-04-06 16:58:52 -07:00
Dillon Kearns
56b3e7f855 Remove redundant log. 2022-04-06 16:45:53 -07:00
Dillon Kearns
ad33d06397 Use concrete types in some scaffolded code. 2022-04-06 16:43:33 -07:00
Dillon Kearns
c877aab519 Expose Route.toString. 2022-04-06 16:38:41 -07:00