@notis_ai/cli 0.2.0-beta.1792640036691.1 → 0.2.0-beta.1792662829286.1

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.
@@ -1 +1 @@
1
- {"schema":1,"stamp":1792619780,"commit":"987687a56c9a37f11cf6534a5f8d260b50e0a86b"}
1
+ {"schema":1,"stamp":1792661200,"commit":"ff2a9f14ff6a63cb7fdd2fb65572946d33f72d0b"}
@@ -104,7 +104,8 @@ actually displays, resolve its current link and render the deployed view.
104
104
 
105
105
  Behaviour is held by the pieces, not by instructions. Start from the piece that
106
106
  matches the view: a list beside a reader is one `ListReader` of about 20 lines
107
- ([the sample](references/views.md#write-the-view)), and keys, selection, panels,
107
+ ([the sample](references/views.md#write-the-view)), items by stage are one
108
+ `BoardView` (a column per stage, `onMove` to move tiles), and keys, selection, panels,
108
109
  looks and words come with it. Change only what the Space needs, as shallow as
109
110
  possible:
110
111
 
@@ -14,6 +14,7 @@ Space's data, and change only what the Space needs (the four rungs in
14
14
  | A gallery where each item has a picture or a mark (competitors, integrations, skills to discover) | `ListReader` with `layout: 'tiles'` and `renderTile`; every other list stays rows |
15
15
  | Items on dates | `CalendarView` (month, week, agenda) |
16
16
  | Items over time, by lane | `TimelineView` |
17
+ | Items by stage, moved from one stage to the next (a sales funnel, a production pipeline) | `BoardView`: one column per stage, `onMove` to move tiles |
17
18
  | Numbers over a period | `Section kind="bar"` with `PeriodPicker`, `StatRow`, `Section kind="chart"` with `Chart`, `Section kind="data"` with `ChartTable`, top to bottom, full width |
18
19
  | One record as the page | `DocumentPage` (see [SDK](sdk.md#first-party-record-components)). Pick its `width` for the page: `standard` (the default) is a centred 900 px reading column for a page read as text, `wide` (1200 px) or `full` for a record that is a working surface such as a wide table or board |
19
20
  | A form or settings page | `Section kind="form"`, `Button`, `NativeSelect`, `SegmentedControl`, `Notice`, `EmptyState` |
@@ -91,6 +91,16 @@ rather than from a copy.
91
91
  thumbnails, a rail), `useReorder({ items, getId, onReorder, orientation })`
92
92
  gives the ordered `items`, `getItemProps(id)` for each element and an
93
93
  `announcer` to render once.
94
+ - **Boards**: `BoardView` is a Kanban board (a funnel, a pipeline): one
95
+ column per stage (`columns`, each `{ id, label, tone? }`, with `getColumn`
96
+ saying where an item sits) and a tile per item (`renderTile`, the same
97
+ `TileParts` as tiles). It is `ListReader` underneath, so `reader`, the open
98
+ modes, `actions`, selection and `search` work the same; a tile opens on
99
+ Enter or a click and nothing opens on its own. `onMove(ids, toColumnId,
100
+ index?)` moves tiles by drag and drop, Shift+Left/Right and M (Move to):
101
+ update the items in the page (optimistically if you like) and return an
102
+ undo function for Undo in the toast. Leave `onMove` out for a board that
103
+ only reads. Use it rather than columns of your own.
94
104
  - **Time and numbers**: `PeriodPicker` with `usePeriod`, `DayPicker`,
95
105
  `CalendarView`, `TimelineView`, `Chart`, `StatRow`, `ChartTable`,
96
106
  `RenderChartData`. `Chart` stacks bars or areas (`stacked`) and runs bars