@lotics/cli 0.316.2 → 0.316.4
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 +5 -5
- package/docs/design.md +1 -0
- package/docs/first_build.md +1 -1
- package/package.json +1 -1
package/docs/design.md
CHANGED
|
@@ -30,6 +30,7 @@ author: state the ones the job needs. A note refuses nothing.
|
|
|
30
30
|
| A log of what happened | a child List with `layout: "timeline"` | `model/layouts` |
|
|
31
31
|
| Opened to be worked on | the Record's Sections, in the order the work reaches them — `at` where it moves in steps; fields only one kind of row holds (a delay's cause, a safety issue's hours lost) in a Section whose `when` names that kind | `model/section-node` |
|
|
32
32
|
| Rows that each belong to another row | a child List on that row's Record, with `create` and `remove`; a List with `same` or `app` where read-only, for rows another app works | `model/list-node` |
|
|
33
|
+
| A related row's value on the list (the newest contract's end date) | a `lookup` field of the table, ordered, as a column | `model/lookup` |
|
|
33
34
|
| Moving through a status | an Act per move, `status.dates` for the moment of each stage, and the register's Readings | `model/act-node`, `model/status`, `model/reading-node` |
|
|
34
35
|
| Counted over a period | the register's Tabs over one `period`; a Tab's `totals` for a child's sums before, during and through it; an open Tab's `where` reads only what was true at the period's end, never a status the row moves on from | `model/tab-node` |
|
|
35
36
|
| Papers a case gathers | a List with `expect`; the papers made, an Act's `templates` | `model/list-node`, `model/act-node` |
|
package/docs/first_build.md
CHANGED
|
@@ -80,7 +80,7 @@ Every paper the owner sends is made, one template each. A slot is named after a
|
|
|
80
80
|
|
|
81
81
|
## 3. The app and its acts: `set_app`
|
|
82
82
|
|
|
83
|
-
**Which apps.**
|
|
83
|
+
**Which apps.** One per role's work, shaped to the requirement: the list that role opens, and everything about each row on its page whatever its rhythm. One HR person's app holds the people and, on each, their contracts, payslips and leave; a business where payroll and hiring are different people's work may want an app each. A related row's value on the list (the newest contract's end)? A lookup column. Work over many rows (a month's payroll)? An Act on the list's rows. Used only inside another job (the rates a quote is priced from)? A picker on its lines, price copied by `default_from`. Never an app per table.
|
|
84
84
|
|
|
85
85
|
**The view per kind of row**, chosen before writing the List (a plain register needs none):
|
|
86
86
|
|