Commit Graph

1146 Commits

Author SHA1 Message Date
Dillon Kearns
e47f1acf82 Remove obsolete watcher command. 2022-06-30 10:25:24 -07:00
Dillon Kearns
4d0f9a8708 Prevent duplicate leading file path by using resolve instead of prepending cwd. 2022-06-29 12:45:33 -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
d5b6c5bd47 Rename module. 2022-06-18 10:29:41 -07:00
Dillon Kearns
d133441cb7 Wire up prototype for client-side form state. 2022-06-02 11:32:35 -07:00
Dillon Kearns
30d0fe65fa Expose in-flight fetchers state. 2022-05-20 10:08:27 -07:00
Dillon Kearns
2315f1eaa0 Wire up initial prototype for transition state. 2022-05-19 09:32:19 -07:00
Dillon Kearns
c5ad2c5e40 Fix watcher pattern for dev server to re-run codegen. 2022-05-17 08:55:58 -07:00
Dillon Kearns
05f2702e97 Update elm-pages add codegen template. 2022-05-13 11:56:18 -07:00
Dillon Kearns
e01415407f Use wrapper Pages.Msg.Msg to enable wiring up Submit msg's for the framework to handle. 2022-05-13 09:03:09 -07:00
Dillon Kearns
de24b30549 Wire up onActionMsg for route modules. 2022-05-12 11:16:15 -07:00
Dillon Kearns
e07eb264f0 Generate fetchers for all the paths needed for build compilation. 2022-05-11 11:06:14 -07:00
Dillon Kearns
53d0acb1ec Extract Fetcher module and type. 2022-05-10 16:29:28 -07:00
Dillon Kearns
54b6891938 Remove obsolete Fetcher prototype functions and replace with new one. 2022-05-10 11:11:27 -07:00
Dillon Kearns
5b9fd32a7c Pass in fetcher for current Route as part of StaticPayload. 2022-05-10 10:16:09 -07:00
Dillon Kearns
d608b34e91 Add header to indicate when to include only action data. 2022-05-09 10:19:42 -07:00
Dillon Kearns
2192dd30af Add prototype of function to run Fetcher with a follow-up call to reload route data. 2022-05-06 11:19:24 -07:00
Dillon Kearns
62c6e62922 Wire up initial action data to init and view. 2022-05-04 09:59:18 -07:00
Dillon Kearns
c19fa6e40a Update doc comments for elm-pages docs. 2022-05-03 14:44:51 -07:00
Dillon Kearns
fa10ce7eaf Generate fetcher modules 2022-05-03 14:36:08 -07:00
Dillon Kearns
5a664782cd Initial prototype of ActionData. 2022-05-03 11:30:52 -07:00
Dillon Kearns
cc30fc028a Remove unused. 2022-04-28 11:59:08 -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
9a36ebb7ca Fix generated route pattern for optional route params in _redirects. 2022-04-11 10:29:41 -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
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
Dillon Kearns
52c8a73485 Add redirectTo helper. 2022-04-06 16:38:32 -07:00
Dillon Kearns
911270bb40 Pass in htmlTemplate to adapter to avoid having to read the file manually. 2022-04-06 08:54:23 -07:00
Dillon Kearns
10c927c414 Fingerprint elm.js browser bundle. 2022-04-05 15:50:57 -07:00
Dillon Kearns
830cc40bdd Restore form event adapter in build output. 2022-04-05 09:03:42 -07:00
Dillon Kearns
3acfe22bfb Fix template generators. 2022-04-05 08:36:34 -07:00
Dillon Kearns
8112e477e8 Extract functions into record. 2022-04-05 08:26:26 -07:00
Dillon Kearns
a4054b44ed Make sure error output is printed (may print extra when there are review errors though). 2022-04-04 16:23:45 -07:00
Dillon Kearns
d59c57ac01 Delete obsolete code (superceded by fetchRouteData). 2022-04-04 16:15:06 -07:00
Dillon Kearns
72acff1ea4 Update generator template. 2022-04-02 20:40:35 -07:00
Dillon Kearns
474432bda4 Add missing import. 2022-04-01 20:48:59 -07:00
Dillon Kearns
5c7833966d Try new 404 generator setup. 2022-03-31 16:30:57 -07:00
Dillon Kearns
fadd3adf58 Use absolute path for module preload directive. 2022-03-31 16:28:15 -07:00
Dillon Kearns
5eafcb8998 Use correct ErrorPage type in init, and update the pokedex error pages. 2022-03-31 11:01:47 -07:00
Dillon Kearns
175417a7cc Wire up hardcoded error page state. 2022-03-31 10:46:39 -07:00
Dillon Kearns
c8ff9e0ca1 Try optimized build. 2022-03-31 09:51:12 -07:00
Dillon Kearns
e53c897eb6 Try rendering static 404 pages in build. 2022-03-31 09:24:46 -07:00
Dillon Kearns
07fd572c46 Wire up head in ErrorPage. 2022-03-31 09:18:02 -07:00
Dillon Kearns
b4dc540cc2 Add a try catch for killApp in render. 2022-03-31 09:06:17 -07:00
Dillon Kearns
40ffea6ce9 Render error pages with Shared.view. 2022-03-31 09:04:11 -07:00
Dillon Kearns
f739f70706 Change argument order for Route.link helper. 2022-03-31 08:25:43 -07:00