@lotics/cli 0.316.1 → 0.316.3
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 +2 -1
- 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` |
|
|
@@ -176,7 +177,7 @@ stage is signed once per person, read off who moved the row.
|
|
|
176
177
|
|
|
177
178
|
#### Readings
|
|
178
179
|
|
|
179
|
-
A List's Readings stand above the rows and read the rows
|
|
180
|
+
A List's Readings stand above the rows and read the rows under the open tab, never narrowed by the controls below them. Lead with the job's headline number —
|
|
180
181
|
its exception as a formula's yes/no in a Reading's `where` (what is short), never a stage the
|
|
181
182
|
status chips already count, nor the overdue rows the register's summary line counts from `records.due` — then at most the mix (`by` a field) and the movement (`by` a date), varied by job. A movement over a date is stated, never defaulted, and so is a sum: a status register with no single select to split by gets no default band.
|
|
182
183
|
A grid (`by` and `across`) reads on a dashboard. A dashboard — an App of Readings and no register — answers one owner's question across jobs, each
|
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.** Shape the apps to the requirement: an app is scoped to a role's work, what that role manages, from the list they open to everything about each row. Where one person runs HR, their app holds the people and, on each person, their contracts, payslips, papers and leave, whatever rhythm each runs at; a business whose payroll, hiring and leave are different people's work may want an app for each. Part of one row (a vehicle's papers)? A Section or child List on that row's page. A value from related rows on the list itself (the newest contract's end date)? A lookup field as a column. Work over many rows at once (a month's payroll)? An Act on the list's rows. Used only while doing another job (the rates a quote is priced from)? A picker on that job's lines, price copied by `default_from`. A role that works several lists holds them in its app; a different role, or work another team does on its own, is another app. 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
|
|