Commit Graph

1155 Commits

Author SHA1 Message Date
Dillon Kearns
d5e97e7673 Fix error in test. 2022-08-08 10:58:34 -07:00
Dillon Kearns
b8909834b0 Wire through hardcoded flag to turn HTTP caching on or off for DataSources. 2022-07-12 01:45:45 -07:00
Dillon Kearns
ba1823cd82 Delete log noise. 2022-07-09 08:57:24 -07:00
Dillon Kearns
a8bb62a40e Rename variable in route module template. 2022-07-08 14:46:55 -07:00
Dillon Kearns
da29205702 Fix arguments for dev server CLI compilation. 2022-07-08 09:56:58 -07:00
Dillon Kearns
b2a97219f5 Re-order arguments for consistency. 2022-07-08 09:38:14 -07:00
Dillon Kearns
4c9986702b Include Html.Lazy thunk evaluation in server-side rendering in dev server. 2022-07-08 09:37:08 -07:00
Dillon Kearns
6f35f55021 Update path in build script calling adapter code. 2022-07-05 11:08:57 -07:00
Dillon Kearns
343b30bc3a Try using esbuild bundle option. 2022-07-05 10:58:00 -07:00
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