Commit Graph

1758 Commits

Author SHA1 Message Date
Dillon Kearns
755d57e817 Remove obsolete function calls. 2023-03-30 15:57:50 -07:00
Dillon Kearns
afb4c3fad1 Update compatability key. 2023-03-29 10:19:19 -07:00
Dillon Kearns
1a135ed389 Handle ECONNREFUSED http error code. 2023-03-29 09:45:35 -07:00
Dillon Kearns
d0880cf5c7 Update type annotations. 2023-03-24 12:17:10 -07:00
Dillon Kearns
20e0e73537 Fix type annotations. 2023-03-24 12:15:17 -07:00
Dillon Kearns
e1ae5e317b Render ErrorPage for production server-rendered routes. 2023-03-15 10:58:03 -07:00
Dillon Kearns
3f5c7b1785 Change Session API to give empty session by default, and expose more low-level withSessionResult in case Result needs to be accessed. 2023-03-14 17:31:25 -07:00
Dillon Kearns
d879644f91 Change default SetCookie path to be "/", and add a withoutPath to options builder. 2023-03-14 17:30:21 -07:00
Dillon Kearns
c548e9b85b Include lamdera/codecs dependency in elm.json rewriting helpers. 2023-03-11 14:10:57 -08:00
Dillon Kearns
15edcd502e Add helpers for JSON Encoder for fields in Scaffold module. 2023-03-09 11:07:22 -08:00
Dillon Kearns
1e66901d93 Move elm-codegen type information to package instead of user-code. 2023-03-09 11:03:54 -08:00
Dillon Kearns
edae49d96a Use pipeline for required fields in scaffold. 2023-03-08 11:13:32 -08:00
Dillon Kearns
30de168196 Use pipeline for RouteBuilder definition. 2023-03-08 11:10:02 -08:00
Henrique Buss
a95b5d20a4
Convert all fields to use pipes 2023-03-08 01:22:03 -03:00
Henrique Buss
370ce772e7
Use Elm.Op.pipe to generate friendlier pipelines in Scaffold.Form 2023-03-08 01:08:58 -03:00
Dillon Kearns
bda07df399 Don't use unexposed function in generated Main.elm module. 2023-03-05 11:07:29 -08:00
Dillon Kearns
eae0dc80ff Bump NPM version. 2023-03-05 10:46:30 -08:00
Dillon Kearns
bc6c5b6143 Fix docs. 2023-03-05 09:40:49 -08:00
Dillon Kearns
ef7bb724bf Delete commented code. 2023-03-05 09:37:35 -08:00
Dillon Kearns
e5ca534fc0 Extract common function. 2023-03-05 09:34:29 -08:00
Dillon Kearns
3266c997a4 Ignore unused destructure. 2023-03-05 09:31:05 -08:00
Dillon Kearns
2c3665c70f Fix argument order and type for route scaffold helper. 2023-03-04 07:29:51 -08:00
Dillon Kearns
f4cf8a7069 Make transition strategy the default and move formId argument to rendering. 2023-03-03 18:45:25 -08:00
Dillon Kearns
a8b8e7421d Move formId argument to Form render functions. 2023-03-03 16:55:18 -08:00
Dillon Kearns
cd3cae8393 Remove comment. 2023-03-03 16:09:26 -08:00
Dillon Kearns
2a30fb7e74 Delete comment. 2023-03-03 15:31:47 -08:00
Dillon Kearns
3045c108a5 Remove obsolete extra type FinalForm. 2023-03-03 14:54:41 -08:00
Dillon Kearns
57b147f046 Add options as part of Form type in preparation for removing extra FinalForm. 2023-03-03 13:22:53 -08:00
Dillon Kearns
74249406f9 Use a plain List String for Path instead of Custom Type. 2023-03-03 10:13:51 -08:00
Dillon Kearns
ecf2dc897c Remove QueryParams parser in favor of a plain Dict String (List String). 2023-03-03 10:02:51 -08:00
Dillon Kearns
d48485e541 Rename argument sharedModel -> shared. 2023-03-02 11:43:22 -08:00
Dillon Kearns
e19b547808 Remove PageUrl argument and rename RouteBuilder.StaticPayload -> RouteBuilder.App. 2023-03-02 11:36:34 -08:00
Dillon Kearns
122f3d19af Fix imports in Scaffold helper. 2023-02-28 17:02:17 -08:00
Dillon Kearns
2dbcc99e86 Bump compatability key. 2023-02-28 16:16:57 -08:00
Dillon Kearns
4ae64cb5bd Wire in onSubmit for TransitionStrategy. 2023-02-28 16:01:55 -08:00
Dillon Kearns
c53c09aa31 Move Pages.Msg -> PagesMsg and Pages.Msg.Msg -> PagesMsg.PagesMsg. 2023-02-28 15:45:59 -08:00
Dillon Kearns
c418b536c0 Move Pages.Msg.Msg variants to internals, expose more high-level public API. 2023-02-28 15:33:48 -08:00
Dillon Kearns
8d7a6d873e Add Pages.Msg.NoOp. 2023-02-27 13:07:03 -08:00
Dillon Kearns
d23277b679 Bump compatability key. 2023-02-20 16:02:06 -08:00
Dillon Kearns
613bcc182f Fix isTransitioning state for completed fetchers. 2023-02-19 21:00:21 -08:00
Dillon Kearns
1460084b8a Allow valueButton to be rendered for any field kind. 2023-02-18 14:32:57 -08:00
Dillon Kearns
269ea057fc Bump compatability key. 2023-02-18 12:34:45 -08:00
Dillon Kearns
32fa30818e Review fixes. 2023-02-18 12:33:35 -08:00
Dillon Kearns
ba875d789f Add FieldView.valueButton helpers, and rerun loaders when query params are changed to ensure that GET form submissions reload data. 2023-02-18 12:31:32 -08:00
Dillon Kearns
6bc426e2a6 Add kind field to form template. 2023-02-13 20:34:46 -08:00
Dillon Kearns
5cc346f93f Use inner text to control form value for textarea (instead of value attribute, which is not valid). 2023-02-13 19:13:44 -08:00
Dillon Kearns
a444c5af2c Reduce oneOf decoder error noise for error case in BackendTask.Custom failures. 2023-02-13 19:00:56 -08:00
Dillon Kearns
8297473221 Update compatability keys and NPM version. 2023-02-09 12:05:02 -08:00
Dillon Kearns
e1af771fc7 Handle dev server reloads from 404 pages. 2023-02-09 12:01:16 -08:00
Dillon Kearns
6b445ae436 Improve an error message. 2023-02-09 12:01:02 -08:00