@lotics/cli 0.257.2 → 0.258.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/cli.js +260 -39
- package/docs/building_an_app.md +13 -0
- package/package.json +1 -1
package/docs/building_an_app.md
CHANGED
|
@@ -39,6 +39,19 @@ way per concept, and no key changes it. `lotics scaffold check` prints each app
|
|
|
39
39
|
see it, with every value a default supplied marked `(default)` — review the app there, before
|
|
40
40
|
anything exists.
|
|
41
41
|
|
|
42
|
+
**Work people are assigned is a task list, stated like any other.** Give the child entity a stored
|
|
43
|
+
status select with `closed` options, a member field, and a deadline under `due`, and state
|
|
44
|
+
`"task": true` in its `records`. Every table of its rows — a rows block of the record it belongs to,
|
|
45
|
+
its own register, the rows filed under one of them (its steps) — then draws each row as a task: its
|
|
46
|
+
ring ticks it done by the act of that entity setting a closed option — stamping and recording what
|
|
47
|
+
that act does — else by its own save, unticks it by the act moving it back, and its status moves in
|
|
48
|
+
place. State a second act `of` the child with `on: "rows"` to complete several at once.
|
|
49
|
+
`starts: { "<member>": "me" }` fills the assignee from whoever adds the row. `opens: { "<member>":
|
|
50
|
+
"me" }` opens a register on the reader's own rows, and a reading's `where` takes `"me"` the same
|
|
51
|
+
way — both narrowed on the server. A register over that child — "My tasks" — rings its rows by
|
|
52
|
+
its own acts the same way. `scaffold check` prints each ring's write — a ring no write reaches is
|
|
53
|
+
drawn disabled, and the check notes it.
|
|
54
|
+
|
|
42
55
|
**Look at it before anything exists.** `lotics app preview <model.json>#<app>` compiles the app
|
|
43
56
|
against the model's own ids, answers every read from the model's `rows` (a few synthesized for an
|
|
44
57
|
entity that states none), renders the register, the record in its door and the add dialog at 1280
|