@smartkomm/plexus-cli 0.1.127 → 0.1.129

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
- d96a32682671e6a8f70a38029a4d9aa6ef08447ef43eb61f348c6c4acd594126
1
+ 655cbe614f0e81f3e0f0b5ab0775dc136a3516986df216ebc13a44839b190855
@@ -2486,6 +2486,8 @@ Add one composed task to a workflow node (result, blocks, condition, description
2486
2486
  | `--clear-form-view` | Remove the form view |
2487
2487
  | `--locks-evidence` | Once decided, lock the evidence (reads + the fields behind --when) against corrections until the team reopens the task |
2488
2488
  | `--clear-locks-evidence` | Remove locksEvidence |
2489
+ | `--feedback` | A feedback task: free text, answered on a blank page by the mail's link or in the editing view |
2490
+ | `--clear-feedback` | Remove the feedback property |
2489
2491
  | `--description <value>` | Plain text under the title (German; without --description-en it stands in for English too) — never a checklist |
2490
2492
  | `--description-en <value>` | English description |
2491
2493
  | `--clear-description` | Remove the description |
@@ -2556,6 +2558,8 @@ Change the given fields of one composed task; validate before write
2556
2558
  | `--clear-form-view` | Remove the form view |
2557
2559
  | `--locks-evidence` | Once decided, lock the evidence (reads + the fields behind --when) against corrections until the team reopens the task |
2558
2560
  | `--clear-locks-evidence` | Remove locksEvidence |
2561
+ | `--feedback` | A feedback task: free text, answered on a blank page by the mail's link or in the editing view |
2562
+ | `--clear-feedback` | Remove the feedback property |
2559
2563
  | `--description <value>` | Plain text under the title (German; without --description-en it stands in for English too) — never a checklist |
2560
2564
  | `--description-en <value>` | English description |
2561
2565
  | `--clear-description` | Remove the description |
@@ -14,8 +14,11 @@ even greyed out.
14
14
  - **It is read afresh on every load.** A stage change shows or hides the entry on the next load.
15
15
  - **It rules the offer, never the round.** Tasks a press already spawned stay when the
16
16
  condition turns false, and they keep holding the decision until they are closed.
17
- - **Not in `requiresOneOf`.** A decision cannot wait for an action that may never be offered
18
- (`[decision/requiresOneOfConditional]`).
17
+ - **In `requiresOneOf` it counts only while offered.** With `--requires-one-of interview,taster`
18
+ and `taster` conditional: where the condition is true the decision waits for one of the two,
19
+ where it is false only for `interview`. If no listed action is offered, the decision is free.
20
+ A finished `taster` stops counting when the condition turns false; a running one keeps holding
21
+ the decision until its tasks are closed.
19
22
 
20
23
  ## CLI
21
24
 
@@ -43,7 +46,6 @@ In the workflow IDE: node → „Optionale Aktionen" → „Nur anbieten, wenn".
43
46
  | `[optionalAction/when]` with `condition/*` | The checker refuses it: unreadable, not yes/no, an unknown leaf, a form address, a literal on an unstable leaf such as `run.key` |
44
47
  | `[optionalAction/when]` with `env/unknownStageKey` | No stage of the offer's program has this key |
45
48
  | `[optionalAction/when]`, „names no key of this school" | A `$env.unit.key` or `$env.offer.key` literal no row has |
46
- | `[decision/requiresOneOfConditional]` | The decision rule names this action |
47
49
 
48
50
  A press that arrives anyway while the condition is false is refused with
49
51
  `[optionalAction/conditionFalse]`.
@@ -54,4 +56,5 @@ A press that arrives anyway while the condition is false is refused with
54
56
  2. Cockpit, on the decision node: „Weiteres" lists the entry only on the first one.
55
57
  3. Press it there: its tasks appear. Change the stage: the entry goes, the task stays.
56
58
 
57
- Test tenant: Grundschule, „Einschulung klären" on the Freigabe (offered only for Klassenstufe 1).
59
+ Test tenant: Grundschule, „Einschulung klären" on the Freigabe (offered only for Klassenstufe 1,
60
+ listed in its decision rule: the buttons in front name it only there).
@@ -160,3 +160,20 @@ older release than your CLI — that needs a platform operator, not a bundle edi
160
160
  ## Related
161
161
  - [Name what a node reads](./addresses.md) · [Edit a workflow node](./edit-workflow-node.md) · [Author default chat channels](./workflow-default-channels.md)
162
162
  - `plexus-cli offer workflow node task add --help` (every result kind and flag)
163
+
164
+ ## A feedback task
165
+
166
+ `task add|set --feedback` makes it a **feedback task**: the mail's button opens a blank page with the
167
+ school's header, the task and one text box; in the system the task's dialog offers the same page as its
168
+ „Bearbeitungsansicht". It takes `--result freetext` only, and no `completableIf`, `--locks-evidence`,
169
+ `--appointment-of` or family request (`[workItems/feedback*]`). The result lands in the chat like any
170
+ free text. `--clear-feedback` removes it.
171
+
172
+ ```bash
173
+ plexus-cli offer workflow node task add --dir "$DIR" --node <node> --key feedbackLehrkraft \
174
+ --title "Feedback der Lehrkraft" --title-en "Teacher feedback" --team lehrer \
175
+ --result freetext --chat all --due-in-days 14 --feedback
176
+ ```
177
+
178
+ The mail goes when the task becomes workable: put it behind an optional action pressed after the event
179
+ it asks about, not on a node entered before it.