@creator-notes/cnotes 0.107.4 → 0.107.5
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/package.json
CHANGED
|
@@ -168,6 +168,34 @@ Edges live at the top level alongside `root`. Each endpoint is resolved in this
|
|
|
168
168
|
|
|
169
169
|
## Examples
|
|
170
170
|
|
|
171
|
+
**Bands** (a story read top to bottom). When the user asks for "bands", or the canvas makes one argument in order (the ask, the problem, the root cause, the reframe, what we're solving, the grounding), give each step its own band: a heading naming the step's role, with that step's cards in one row under it. CANVAS-99 is the reference board. Gaps 100 / 20 / 140 reproduce its spacing (bands about 310px apart, cards on a 480px pitch).
|
|
172
|
+
```json
|
|
173
|
+
{
|
|
174
|
+
"root": {
|
|
175
|
+
"kind": "stack", "axis": "vertical", "gap": 100, "align": "start",
|
|
176
|
+
"items": [
|
|
177
|
+
{ "kind": "stack", "axis": "vertical", "gap": 20, "align": "start", "items": [
|
|
178
|
+
{ "kind": "item", "type": "richtext", "content": "# The Problem" },
|
|
179
|
+
{ "kind": "stack", "axis": "horizontal", "gap": 140, "align": "start", "items": [
|
|
180
|
+
{ "kind": "item", "type": "note", "noteId": "PROBLEM-25" }
|
|
181
|
+
] }
|
|
182
|
+
] },
|
|
183
|
+
{ "kind": "stack", "axis": "vertical", "gap": 20, "align": "start", "items": [
|
|
184
|
+
{ "kind": "item", "type": "richtext", "content": "# The Reframe" },
|
|
185
|
+
{ "kind": "stack", "axis": "horizontal", "gap": 140, "align": "start", "items": [
|
|
186
|
+
{ "kind": "item", "type": "note", "noteId": "INSIGHT-125" },
|
|
187
|
+
{ "kind": "item", "type": "note", "noteId": "INSIGHT-126" },
|
|
188
|
+
{ "kind": "item", "type": "note", "noteId": "INSIGHT-127" }
|
|
189
|
+
] }
|
|
190
|
+
] }
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
```
|
|
195
|
+
- One band per step, and one row per band. If a row would go past five cards, the step is really two steps, so split it into two bands.
|
|
196
|
+
- Bands are freeform on purpose. Do not wrap them in a section container: a section re-arranges itself, and a bands board is placed once and then edited by hand.
|
|
197
|
+
- To add a band to an existing bands board, `place` one band with the default placement; it lands below what is there. To reflow the cards already on the board into bands, send the same document to `canvas arrange --spec` with `"type": "existing"` leaves (older heading cards are `"nodeType": "text"`), an `origin` at the board's top-left and `"placement": "exact"`. Run it with `--dry-run` first and check that the `bbox` bottom stays above anything below the bands, such as a section.
|
|
198
|
+
|
|
171
199
|
**Fan-out under an orientation banner** (the failure case the agent kept getting wrong):
|
|
172
200
|
```json
|
|
173
201
|
{
|