Commit Graph

378 Commits

Author SHA1 Message Date
Martin Sosic
43c80f8d9c Removed /about from todo example. 2020-02-06 14:02:11 +01:00
Martin Sosic
0a71604733 Updated TODO example. 2020-02-06 12:31:11 +01:00
Martin Sosic
ebfeb33330 Made TODO app narrower. 2020-02-06 12:30:08 +01:00
Martin Sosic
0b9c72eec0 Updated TODO example with new code. 2020-02-06 12:23:02 +01:00
Martin Šošić
31fbe79ea8 Update examples/todoApp/ext/Todo.js
Co-Authored-By: Matija Sosic <matija.sosic@gmail.com>
2020-02-06 11:55:14 +01:00
Martin Sosic
1672131cf6 Improved CSS and CSS classes, also improved 'about' link design. 2020-02-06 11:55:14 +01:00
Martin Sosic
a2c7f7252d Simplified updating of entity. 2020-02-06 11:55:14 +01:00
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
Martin Sosic
f77f19a6bb Emphasized code example in README. 2020-02-03 17:57:18 +01:00
Martin Sosic
3272a8847e Added coloring of .wasp files on Github. 2020-02-03 17:06:04 +01:00
Martin Sosic
985372e1de First version of informative README. 2020-02-03 16:36:10 +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
c246a54e0b Added todoApp example together with deployment of examples. 2020-01-30 20:31:01 +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
Martin Šošić
a0fe6b90a3
Initial commit 2020-01-30 14:48:55 +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