Commit Graph

116 Commits

Author SHA1 Message Date
Martin Sosic
35fd055fdb Did some basic polishing. 2020-02-06 11:55:14 +01:00
Matija Sosic
1beb49f2b2
Added "label" property for entity-form field. (#93) 2020-02-05 19:04:09 +01:00
Martin Sosic
138ea983cb Moved css from todoApp.wasp to Main.css, added About page to todoApp example. 2020-02-05 14:31:18 +01:00
Martin Sosic
7b415caf6f External code paths now have to be prefixed with @ext/. 2020-02-05 14:23:00 +01:00
Martin Sosic
e9d0ea9781 Replaced redux-starter-kit with @reduxjs/toolkit. 2020-02-05 14:06:48 +01:00
Martin Sosic
61e7789423 Updated web app packages (all except redux-starter-kit). 2020-02-05 14:06:48 +01:00
Martin Sosic
ec6b2d7675 Did small polishing of entity create form and list components. 2020-02-05 14:06:48 +01:00
Martin Sosic
5da42ad3bb Removed blank line at start of _Entity.js. 2020-02-05 14:06:48 +01:00
Martin Sosic
60d1e9f2d2 Renamed Todo.jsx into Todo.js, in examples. 2020-02-05 14:06:48 +01:00
Martin Sosic
c2ac122272 Fixed redundant ./ in page imports. 2020-02-05 14:06:48 +01:00
Matija Sosic
fa05eed363
Added showHeader option to entity list. (#91) 2020-02-05 13:46:48 +01:00
Matija Sosic
a8915a12c9
Made todo example app more similar to todoMVC. (#90) 2020-02-05 11:47:58 +01:00
Matija Sosic
0429e7b7ed
Added "placeholder" option to entity-form text field. (#87) 2020-02-05 10:52:54 +01:00
Martin Sosic
d6001a0006 Implemented generation of .waspinfo. 2020-02-04 18:42:17 +01:00
Matija Sosic
1f42fd9c88
Set default width for list fields - fix for changing width upon entering edit-mode. (#85) 2020-02-03 20:10:46 +01:00
Matija Sosic
f955fa6a8d
Implemented parsing and generation of entity-list field render function. (#84) 2020-02-03 16:16:45 +01:00
Martin Sosic
c695f30704 Renamed examples/TodoMVC into examples/TodoApp. 2020-01-30 17:13:00 +01:00
Martin Šošić
4ccc03baae
Renamed stic to waspc. (#82) 2020-01-30 17:06:19 +01:00
Matija Sosic
6ff026f318
Implemented switching between "view" and "edit" mode for the list string field. (#81) 2020-01-30 15:48:02 +01:00
Matija Sosic
8d89ee5bfc bug fix, used wrong comment sign in mustache. 2020-01-30 14:31:07 +01:00
Matija Sosic
53f59c37a4
Added filter prop to the generated entity list. Used in TODO example. (#80)
* Added filter prop to the generated entity list. Used in TODO example.

* pr fixes.
2020-01-30 11:23:04 +01:00
Martin Sosic
1a49057dae Expanded style with filepath, added ghcid-test to ./run, Wasp.JsImport now uses Path.RelFile. 2020-01-29 19:38:08 +01:00
Matija Sosic
e57fa6c021
Entity lists are supported in .wasp now, no options supported yet. (#78) 2020-01-29 12:53:22 +01:00
Matija Sosic
e2a885bd90
Implemented "show" and "defaultValue" options for a field of an entity form. (#76) 2020-01-28 11:37:36 +01:00
Martin Sosic
a717a06387 Added more features to example todoMVC app (and needed support in Wasp).
Added 'toggle completion' button.
Made updateTask() action work for todo demo.
Added 'Clear completed' button.
Added remove() action, also added id to entities and now that is used instead of idx.
2020-01-28 11:22:10 +01:00
Matija Sosic
02e560e348 Bugfix for a problem with a regex on OS X. 2020-01-26 19:22:47 +01:00
Matija Sosic
662c1ff85f
Implemented parsing of fields config of entity-form. (#75) 2020-01-26 17:59:23 +01:00
Martin Sosic
17a82848df Implemented basic importing of wasp code from external code. 2020-01-23 14:38:34 +01:00
Matija Sosic
c8c7e0a1e4 Bug fix, entityClassName instead of entityLowerName. 2020-01-22 17:53:04 +01:00
Martin Šošić
4c870b34e5
Finished migrating codebase to use Path instead of FilePath. (#72) 2020-01-21 14:55:49 +01:00
Matija Sosic
717c08c621
Submit button of a form can be hidden. (#71) 2020-01-21 14:03:14 +01:00
Martin Šošić
e2c200bc6c
Introduced Path (Rel, Abs) package into part of our code. (#70) 2020-01-20 11:51:13 +01:00
Matija Sosic
b94405a499
Refactored Entity generator - broke things down into multiple files. (#69) 2020-01-16 19:05:10 +01:00
Martin Šošić
2e409b2854
Ext code files are now nicely represented and copied correctly and lazily. (#68)
Ext code files are now nicely represented and copied correctly and lazily.
2020-01-16 18:32:47 +01:00
Matija Sosic
a1213677d0
Form fields are reset upon form submission. Hardcoded for now. (#67) 2020-01-16 15:18:43 +01:00
Martin Sosic
bc09d894df Refactored copying of external code to use file-by-file approach instead of whole dir. 2020-01-16 12:29:47 +01:00
Martin Sosic
b408d73cd0 Renamed WriteableToFile into Writeable, and FileDraftIO into WriteableMonad. 2020-01-16 11:16:10 +01:00
Matija Sosic
cf8ad33d0c
Extracted JSON manipulation into Util. (#65) 2020-01-15 12:45:50 +01:00
Matija Sosic
ab70bbccc3
Entity forms are generated, properties not supported yet. (#63) 2020-01-14 12:59:56 +01:00
Martin Sosic
74b0517178 Refactored Wasp.hs into smaller modules (App, Page, Entity, ...). 2020-01-09 12:11:14 +01:00
Matija Sosic
0a5a746a83
Generation of entity form - set foundations. (#61) 2020-01-09 10:58:07 +01:00
Martin Sosic
068c4ac60e Implemented importing of external js code. 2020-01-07 18:27:38 +01:00
Matija Sosic
6dfc2e740f
Implemented parsing of entity-form with some initial properties. (#58) 2020-01-04 21:37:57 +01:00
Martin Sosic
62931141cb Tiny build fixes. 2019-12-17 15:56:51 +01:00
Martin Sosic
66b76a8a04 Language design: deployment (frontend, github). 2019-11-14 10:48:53 +01:00
Matija Sosic
e764e26f25
Lang design: 'Clear completed' and 'Toggle all' buttons in TODO app. (#55) 2019-11-08 16:41:47 +01:00
Matija Sosic
db37cd0449 Cleaned up .gitignore file. 2019-11-07 10:40:19 +01:00
Matija Sosic
466a3a7739
Added proposal for implementing strikethrough feature for TODO app. (#50) 2019-11-06 16:40:45 +01:00
Martin Sosic
5bc505429f In lang-design proposal for TODO app, added filters to footer. 2019-11-06 16:23:26 +01:00
Martin Sosic
623181211e Added task count to TODO app. 2019-11-05 17:16:54 +01:00