@protobase/cli 0.72.1 → 0.72.2

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,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.72.1";
2
+ var version = "0.72.2";
3
3
  //#endregion
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/cli",
3
- "version": "0.72.1",
3
+ "version": "0.72.2",
4
4
  "description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,13 +43,13 @@
43
43
  "dependencies": {
44
44
  "@better-auth/core": "^1.7.12",
45
45
  "@hono/node-server": "^2.1.3",
46
- "@protobase/config": "0.72.1",
47
- "@protobase/layout": "0.72.1",
48
- "@protobase/query": "0.72.1",
49
- "@protobase/schema": "0.72.1",
50
- "@protobase/server": "0.72.1",
51
- "@protobase/ui": "0.72.1",
52
- "@protobase/workflows": "0.72.1",
46
+ "@protobase/config": "0.72.2",
47
+ "@protobase/layout": "0.72.2",
48
+ "@protobase/query": "0.72.2",
49
+ "@protobase/schema": "0.72.2",
50
+ "@protobase/server": "0.72.2",
51
+ "@protobase/ui": "0.72.2",
52
+ "@protobase/workflows": "0.72.2",
53
53
  "@react-email/render": "^2.1.0",
54
54
  "@scalar/hono-api-reference": "^0.12.10",
55
55
  "@sentry/vite-plugin": "^11.10.0",
@@ -682,7 +682,7 @@ view<typeof objectives>('objectives').recordWidth('full')
682
682
 
683
683
  ### Page-wide sections
684
684
 
685
- `l.section(title, fields, { width: 'page' })` spans the page above the main column and the sidebar cards, for a field that needs the room, such as a workflow's graph; Save then stays in a bar at the foot of the window, on a wide screen as on a phone. It applies to a section outside tabs and groups. On the create form it is a section like the others.
685
+ `l.section(title, fields, { width: 'page' })` spans the page above the main column and the sidebar cards, for a field that needs the room, such as a workflow's graph; Save then stays in a bar at the foot of the window, on a wide screen as on a phone. It applies to a section outside tabs and groups: `l.tab` and `l.group` throw on one. On the create form it is a section like the others.
686
686
 
687
687
  ```ts
688
688
  view<typeof workflows>('workflows')
@@ -210,6 +210,10 @@ A workflow's record page in the admin app, `/workflows/<id>`, and its create for
210
210
 
211
211
  ### The workflow's page
212
212
 
213
+ :::caution[Beta]
214
+ An older version can be looked at, not restored or compared with another, the version selector lists only the latest 100, and the graph has no undo.
215
+ :::
216
+
213
217
  A workflow's page is full width, and so is its create form. The graph spans the page, with a side panel beside it on a wide screen and under it on a narrow one; the workflow's name, description and enabled version, its trigger and its runs follow below, and Save stays at the foot of the window. Choosing a step shows its form in the side panel, in view beside the graph.
214
218
 
215
219
  - **Versions.** *Version*, above the graph, chooses which saved version the graph shows, each named with when it was saved, and the latest and the enabled one marked *(latest)* and *(enabled)*; it lists the latest 100. <gap>The version selector cannot offer a version older than the latest 100 because loading more of them into it is not implemented.</gap> Such a version still opens by its address. The latest version is the one you edit. An older one is read-only: no fields to fill in, no *Add a step*, no Save, and no editing on the graph. A bar above the graph, repeated at the top of the side panel, says in words which version is shown and which is the latest, with *Back to the latest*. The version is in the address, `/workflows/<id>?version=<number>`, so a link opens it.