Commit Graph

2131 Commits

Author SHA1 Message Date
Dillon Kearns
a88c0400d2 Fix example script. 2023-01-12 12:04:30 -08:00
Dillon Kearns
e5bcdf2d6e Rename Exception.Catchable -> Exception.Exception to reduce number of terms. 2023-01-10 11:06:20 -08:00
Dillon Kearns
0c8bebee1d Try a different cache path to see if netlify gives error. 2023-01-09 14:37:21 -08:00
Dillon Kearns
c31e952afa Try custom caching options to test netlify error. 2023-01-09 14:20:46 -08:00
Dillon Kearns
c4636ec93b Fix error in example. 2023-01-09 14:09:11 -08:00
Dillon Kearns
5d83cafff5 Force netlify build when parent folders change. 2023-01-09 13:19:26 -08:00
Dillon Kearns
e2297cd52f Add build generator step to netlify build command. 2023-01-09 11:29:22 -08:00
Dillon Kearns
0afe0b37ca Update example to latest and fix some types in API. 2023-01-09 11:24:50 -08:00
Dillon Kearns
fd08eda9f7 Fix error in script. 2023-01-08 11:44:09 -08:00
Dillon Kearns
7c71fe492c Fix error in docs site. 2023-01-08 11:13:39 -08:00
Dillon Kearns
2ae58cc0ab Fix test case compiler errors. 2023-01-08 11:04:27 -08:00
Dillon Kearns
a77787135d Don't list or delete dot-files in example to prevent git noise. 2023-01-08 11:04:17 -08:00
Dillon Kearns
e61a430a80 Update gitignore. 2023-01-08 10:58:42 -08:00
Dillon Kearns
e0d949c008 Fix example. 2023-01-07 15:41:52 -08:00
Dillon Kearns
ef0f091790 Make BackendTask.Http.get take an Expect, add Http.getJson and Http.post helpers. 2023-01-07 10:38:52 -08:00
Dillon Kearns
55e94c3970 Update withMetadata to accept a combine function. 2023-01-07 09:56:51 -08:00
Dillon Kearns
2abf10a468 Replace BackendTask.Http.expect*Response helpers with a more composable withMetadata expect builder. 2023-01-06 18:17:36 -08:00
Dillon Kearns
9c07ae57b8 Pass through caching options from request. 2023-01-06 12:53:48 -08:00
Dillon Kearns
9db4a351c4 Change test name. 2023-01-06 10:21:05 -08:00
Dillon Kearns
89491a9515 Use HTTP conditional requests, and fix some handling of HTTP error cases for BackendTask error paths (return the error data instead of handling them as build errors). 2023-01-06 10:03:19 -08:00
Dillon Kearns
7f23779816 Rename DataSource -> BackendTask. 2023-01-01 14:45:54 -08:00
Dillon Kearns
dd11836490 Remove unused. 2023-01-01 14:23:13 -08:00
Dillon Kearns
6bd91eb68e Make DataSource.Port error catchable. 2022-12-31 13:24:00 -08:00
Dillon Kearns
b9902c2c8c Remove Debug.todo in example. 2022-12-31 12:00:02 -08:00
Dillon Kearns
6cff8a7000 Merge branch 'master' into backend-tasks 2022-12-31 11:46:15 -08:00
Dillon Kearns
804e9015ae Fix errors in example. 2022-12-30 18:03:43 -08:00
Dillon Kearns
e65218834b Fix example. 2022-12-29 17:33:55 -07:00
Dillon Kearns
18c5cb7d9e Update function name. 2022-12-29 07:36:14 -07:00
Dillon Kearns
c982947c7d Make Throwable/Catchable exceptions. 2022-12-28 18:45:49 -07:00
Dillon Kearns
81888ea995 Handle new Vite format in diff cleaning for tests. 2022-12-26 12:03:58 -07:00
Dillon Kearns
d78a3ca91d Add initial prototype for error type variable in DataSources. 2022-12-26 10:53:06 -07:00
Dillon Kearns
94a37fe51f Extract secrets in helper to single definition. 2022-12-21 08:46:04 -08:00
Dillon Kearns
a1b545008f Merge branch 'master' into uncached-requests
# Conflicts:
#	examples/docs/package-lock.json
#	examples/end-to-end/package-lock.json
2022-12-19 16:53:33 -08:00
Dillon Kearns
dcf19fd443 Add default config in example project to reduce warnings. 2022-12-18 17:12:37 -08:00
Dillon Kearns
14968cad9c Add favicon. 2022-12-15 10:19:59 -08:00
Dillon Kearns
3462441c0e Remove some unused code and hardcoding. 2022-12-15 09:50:31 -08:00
Dillon Kearns
4f56f19dc1 Bump cypress version. 2022-12-11 19:46:22 -08:00
Dillon Kearns
11c5897737 Seperate test scripts into 3 different scripts. 2022-12-08 09:47:13 -08:00
Dillon Kearns
49fc15994b Add example script for testing uncached requests. 2022-12-07 11:47:01 -08:00
Dillon Kearns
73fb00e38a Bump example project package-lock files. 2022-12-07 09:39:36 -08:00
Dillon Kearns
4e13134eef Update esbuild version. 2022-12-07 09:37:56 -08:00
Dillon Kearns
db703dace7 Update terser version. 2022-12-07 09:36:50 -08:00
Dillon Kearns
0efef71d7a Update vite version. 2022-12-07 09:36:04 -08:00
Dillon Kearns
fa68be3069 Update dependencies. 2022-11-30 09:38:24 -08:00
Dillon Kearns
2c22cd3d14 Revert dependency upgrade. 2022-11-30 09:11:09 -08:00
Dillon Kearns
edbd68abe1 Implement Script.log. 2022-11-23 09:32:02 -08:00
Dillon Kearns
b7f78559d5 Rename generator functions. 2022-11-22 12:45:40 -08:00
Dillon Kearns
3a0534a6a0 Rename Generator to Script. 2022-11-22 12:44:08 -08:00
Dillon Kearns
6967822047 Use latest elm-pages run script format for route scaffolding example. 2022-11-22 12:27:53 -08:00
Dillon Kearns
642bbc3398 Change generators to elm-pages run instead of elm-pages codegen, and resolve DataSource's through new generator API. 2022-11-22 11:21:11 -08:00
Dillon Kearns
0685561fd1 Prevent use of wait in cypress test to make it more resilient. 2022-11-18 10:21:58 -08:00
Dillon Kearns
d16c1699f1 Add fetcher test for race conditions. 2022-11-18 10:08:10 -08:00
Dillon Kearns
9883f10905 Use type variable with better name. 2022-11-16 10:00:03 -08:00
Dillon Kearns
a418abf3be Bump package-lock files. 2022-11-15 17:19:44 -08:00
Dillon Kearns
a2e0f87f0f Update dependencies. 2022-11-15 16:53:10 -08:00
Dillon Kearns
eaadf697a3 Resolve conflict between vendored elm-program-test result-extra package and installed package in example folder. 2022-11-15 16:47:42 -08:00
Dillon Kearns
19fd31793b Update dependencies. 2022-11-15 16:40:02 -08:00
Dillon Kearns
5b22846c44 Bump package-lock versions. 2022-11-15 11:45:28 -08:00
Dillon Kearns
6d6640d5f4 Fix test. 2022-11-07 11:36:08 +05:30
Dillon Kearns
f10d1c7a0c Add a compatability key to ensure that the Elm and NPM package versions are compatible. 2022-11-07 11:17:47 +05:30
Dillon Kearns
bf6b27e68e Fix error in example. 2022-11-03 10:23:03 +05:30
Dillon Kearns
b34801a39f Remove hashes in escaping test to make test more resilient. 2022-11-03 10:13:38 +05:30
Dillon Kearns
6bf1881de4 Include preload tags by default from Vite processing, and add config hook for customizing preload tags. 2022-11-02 15:14:36 +05:30
Dillon Kearns
9aa446e963 Fix error. 2022-11-02 14:50:28 +05:30
Dillon Kearns
6a06767120 Include optional parameter for htmlToString configuration. 2022-10-29 19:38:19 +05:30
Dillon Kearns
7c9fb152c8 Move some meta tags from elm-pages.config.mjs template to Elm code. 2022-10-29 18:54:03 +05:30
Dillon Kearns
219204b8e9 Remove some extra whitespace. 2022-10-29 18:26:20 +05:30
Dillon Kearns
9fe5ebe1b8 Pull charset into hardcoded value since it isn't configurable and needs to be placed within the first 1024 bytes of the document: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset. 2022-10-29 10:34:02 +05:30
Dillon Kearns
cc5c6a07a3 Fix default head tags config function. 2022-10-28 11:29:07 +05:30
Dillon Kearns
c024545f08 Changes docs site theme color. 2022-10-28 10:59:51 +05:30
Dillon Kearns
0f8cd29c14 Allow for user-customized head tags template that is processed by Vite. 2022-10-28 10:58:36 +05:30
Dillon Kearns
934571ebc1 Bump package lock files. 2022-10-24 15:44:10 -07:00
Dillon Kearns
3ec709b723 Upgrade to latest Vite package. 2022-10-24 15:35:37 -07:00
Dillon Kearns
f45ea2921a Remove hanging text in docs. 2022-10-24 09:47:25 -07:00
Dillon Kearns
4b002adcdd Fix dependencies in example. 2022-10-19 15:22:04 -07:00
Dillon Kearns
40201e7b17 Fix dependencies in example. 2022-10-19 15:17:52 -07:00
Dillon Kearns
38151bc193 Fix dependencies. 2022-10-19 11:32:55 -07:00
Dillon Kearns
d0ca727ac6 Update dependencies. 2022-10-19 09:05:08 -07:00
Dillon Kearns
5be89eaa22 Add fetcher cypress test. 2022-10-18 15:35:06 -07:00
Dillon Kearns
23202cc650 Expose Generate.single helper. 2022-10-18 13:50:00 -07:00
Dillon Kearns
f726d128fa Add a way to scaffold pre-rendered pages in Generate API. 2022-10-18 11:02:39 -07:00
Dillon Kearns
fb00f6df18 Bump NPM package. 2022-10-14 12:46:53 -07:00
Dillon Kearns
3a6d3cba3b Make diff in test more reslient to version changes. 2022-10-14 12:46:34 -07:00
Dillon Kearns
81a1fc98e3 Update dependency in sample projects. 2022-10-14 09:55:40 -07:00
Dillon Kearns
3986e296dd Add dark mode session example. 2022-10-07 09:59:48 -07:00
Dillon Kearns
8d8029b668 Add codegen setup for end-to-end example. 2022-10-06 11:12:36 -07:00
Dillon Kearns
eb398c30e3 Move nested Maybe wrapped in Result to flat Err variant in Session API, and remove obsolete expectSession helper. 2022-10-06 09:50:44 -07:00
Dillon Kearns
b4a603fca8 Change argument order. 2022-10-06 09:35:42 -07:00
Dillon Kearns
fd2742cb1a Extract function. 2022-10-06 08:32:01 -07:00
Dillon Kearns
96ad324e4b Make HttpOnly cookies the default (opt in to JS visibile cookies instead of opting out). 2022-10-06 07:56:14 -07:00
Dillon Kearns
722e03337a Fix example. 2022-10-05 15:41:35 -07:00
Dillon Kearns
fbfcd49721 Separate out SetCookie records from Options so the Options can be passed as standalone value. 2022-10-05 15:30:29 -07:00
Dillon Kearns
3b92127277 3.0.0-beta.2 2022-10-05 14:24:44 -07:00
Dillon Kearns
ca3ffe0427 Update todos example. 2022-10-05 14:07:36 -07:00
Dillon Kearns
0303636813 Update examples to use List Html for body. 2022-10-05 12:47:48 -07:00
Dillon Kearns
8ff1f21754 Change document's body to List of Html instead of a single element. 2022-10-05 12:40:06 -07:00
Dillon Kearns
ab1ad3b23a Use DateOrDateTime in example. 2022-10-05 12:39:46 -07:00
Dillon Kearns
0fe6c62933 Update docs.json. 2022-10-05 12:22:22 -07:00
Dillon Kearns
8e30daff12 Add dependency. 2022-10-05 12:20:01 -07:00
Dillon Kearns
a98ddc6a4e Use new Head.Seo.Date value in example. 2022-10-05 08:53:04 -07:00
Dillon Kearns
f6cb6ca7fd Add missing dependency in examples. 2022-10-04 17:15:48 -07:00
Dillon Kearns
0c1654e445 Update package-lock. 2022-10-04 16:10:32 -07:00
Dillon Kearns
3d0b7cece0 Update package-lock. 2022-10-04 14:55:47 -07:00
Dillon Kearns
3b158a32f6 3.0.0-beta.1 2022-10-04 14:38:51 -07:00
Dillon Kearns
01042726d5 3.0.0-beta.0 2022-10-04 13:38:21 -07:00
Dillon Kearns
f6bd17f616 Merge branch 'serverless-latest' 2022-09-28 13:40:07 -07:00
Dillon Kearns
1d69e91b3b
Fix typo. 2022-09-18 20:09:00 -07:00
Dillon Kearns
810eb62aac Add withType helper for temporary incorrect type in codegen. 2022-09-15 07:56:59 -07:00
Dillon Kearns
48dec4bbd0 Add missing dependency. 2022-09-15 07:56:31 -07:00
Dillon Kearns
e48f640019 Install missing dependencies. 2022-09-14 14:47:49 -07:00
Dillon Kearns
0b8e7f9e8b Install missing dependencies. 2022-09-14 14:36:57 -07:00
Dillon Kearns
b93f6c6918 Add missing dependency. 2022-09-14 14:28:12 -07:00
Dillon Kearns
59a7165fa3 Add missing dependencies. 2022-09-13 10:54:49 -07:00
Dillon Kearns
c85463933f Add missing dependency to example project. 2022-09-13 08:50:31 -07:00
Dillon Kearns
fdefee7036 Update send-grid repo branch. 2022-09-12 12:17:32 -07:00
Dillon Kearns
80fb8a1466 Simplify elm-codegen setup in todos app. 2022-09-11 07:50:12 -07:00
Dillon Kearns
928830ead7 Update package-lock. 2022-09-10 12:22:01 -07:00
Dillon Kearns
f4d524bc9e Fix build. 2022-09-10 12:20:28 -07:00
Dillon Kearns
be28313594 Fix module name patterns. 2022-09-10 10:53:46 -07:00
Dillon Kearns
cddaab7264 Add function for generator with buildNoState. 2022-09-10 10:18:39 -07:00
Dillon Kearns
2a1cd5cb8d Use builder pattern for Pages.Generate. 2022-09-09 17:18:23 -07:00
Dillon Kearns
6f1af9a288 Update name in docs.json. 2022-09-09 16:21:34 -07:00
Dillon Kearns
d6597b43ce Generate docs.json file as part of scaffold command. 2022-09-09 15:19:08 -07:00
Dillon Kearns
459f6df9de Remove module contract requirement for View.placeholder since it is obsolete now with new scaffolding. 2022-09-09 13:09:02 -07:00
Dillon Kearns
8e8ab404db Extract out hardcoded names for framework types into helper. 2022-09-09 11:09:25 -07:00
Dillon Kearns
8711b7185a Add basic setup for a scaffold command using elm-codegen. 2022-09-09 10:56:54 -07:00
Dillon Kearns
67af0e53d0 Include View and Effect modules in elm-application.json, and include @docs comments to make them valid. 2022-09-09 10:53:19 -07:00
Dillon Kearns
23cc852ecb Remove obsolete example. 2022-09-06 16:50:07 -07:00
Dillon Kearns
07075b35ee Force rebuild. 2022-09-06 15:04:05 -07:00
Dillon Kearns
880b32563d Force build. 2022-09-06 10:14:41 -07:00
Dillon Kearns
2a0c775462 Handle decoding events for form submissions with no buttons (no submitter). 2022-09-06 09:47:37 -07:00
Dillon Kearns
e264ce3d07 Include completed fetcher items with their parsed ActionData in fetchers list. 2022-09-06 09:24:07 -07:00
Dillon Kearns
2b34ae971b Add another end-to-end test case for nested lazy nodes within keyed nodes. 2022-08-25 12:11:45 -07:00
Dillon Kearns
abc91541e2 Add another HTML printing test case and handle lazy HTML nodes nested under keyed nodes. 2022-08-25 12:07:23 -07:00
Dillon Kearns
18a5d20ccf Review fixes. 2022-08-25 11:57:33 -07:00
Dillon Kearns
9772828563 Migrate code in smoothies app. 2022-08-25 11:04:57 -07:00
Dillon Kearns
5415fd83d7 Pass in fetchers with their formId's, and implement isTransitioning status for fetchers. 2022-08-25 10:59:39 -07:00
Dillon Kearns
fa1686cd4c Fix some errors in smoothies app. 2022-08-25 10:59:02 -07:00
Dillon Kearns
c7d8c07939 Rename value. 2022-08-25 10:21:39 -07:00
Dillon Kearns
7f61f2bf93 Rename function. 2022-08-25 09:51:37 -07:00
Dillon Kearns
82b2f358fa Rename type. 2022-08-24 20:12:26 -07:00
Dillon Kearns
41e4428bf4 Fix compiler errors. 2022-08-24 20:12:06 -07:00
Dillon Kearns
dc9f2f3014 Force build. 2022-08-24 12:45:54 -07:00
Dillon Kearns
17e57beac6 Force build. 2022-08-24 12:12:35 -07:00
Dillon Kearns
0218c8d2a4 Force build. 2022-08-24 11:57:20 -07:00
Dillon Kearns
5f8a777c54 Turn real email sending back on. 2022-08-24 09:59:51 -07:00
Dillon Kearns
f4a61769b6 elm-pages TodoMVC example. 2022-08-24 09:19:54 -07:00
Dillon Kearns
f73fa4866a Commit for git diff with TodoMVC example. 2022-08-24 09:19:36 -07:00
Dillon Kearns
5a2c283e32 Reorganize example. 2022-08-24 09:18:26 -07:00
Dillon Kearns
20632f90b2 Reorganize example. 2022-08-24 09:14:23 -07:00
Dillon Kearns
9b51b26c72 Move function to minimize diff with example. 2022-08-24 09:08:15 -07:00
Dillon Kearns
e463fe4cb0 Rename for smaller diff. 2022-08-24 09:06:18 -07:00
Dillon Kearns
643df60af1 Remove unused. 2022-08-24 09:01:30 -07:00
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