@lotics/cli 0.311.1 → 0.311.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 +101 -27
- package/docs/design.md +11 -0
- package/package.json +1 -1
package/docs/design.md
CHANGED
|
@@ -207,6 +207,7 @@ its exception as a formula's yes/no in a `metric`'s `where` (what is late, what
|
|
|
207
207
|
status chips already count — then at most the mix (`breakdown`) and the movement (`trend`), varied by job.
|
|
208
208
|
A `pivot` reads on a dashboard. A dashboard app (`dashboard`) answers one owner's question across jobs, each
|
|
209
209
|
reading windowed by the period the reader picks, and a `list` reading hands over the rows to act on. A
|
|
210
|
+
dashboard of many readings states `tabs` (2 to 5) and each reading the `tab` it stands under, so one sheet draws at a time. A
|
|
210
211
|
record's `metric`, `breakdown` and `trend` blocks read its own child rows. Worked: `examples/approval`, `examples/dashboard`.
|
|
211
212
|
|
|
212
213
|
#### Funnel
|
|
@@ -219,6 +220,16 @@ other, so the second's bars are read over its own first step: they draw on one g
|
|
|
219
220
|
edge and every value ending at another, each under its own label. A step no row holds a number in reads as not measured, so leave a count empty
|
|
220
221
|
rather than typing a zero nobody measured.
|
|
221
222
|
|
|
223
|
+
#### Priced lines
|
|
224
|
+
|
|
225
|
+
A quote's items, an estimate's works, a repair sheet's damages are lines priced off a book: an entity whose
|
|
226
|
+
`records` names each item, puts the code people type on its line and its price as its `figure`. The line links to
|
|
227
|
+
it, asks the link and its quantities in its block's `create`, and copies the price (`default_from`), so the quote
|
|
228
|
+
keeps what was quoted when the book moves. A line's amount is a formula, the record's total a rollup over the rows
|
|
229
|
+
the block shows — what is not paid for is a second rollup, never a filter on the first, so each group subtotals.
|
|
230
|
+
Group the lines by the parts the record is quoted in (a container, a room, a leg), a field the line asks. The book
|
|
231
|
+
is its keeper's desk, an app of its own.
|
|
232
|
+
|
|
222
233
|
### The record
|
|
223
234
|
|
|
224
235
|
#### Sections
|