@smartkomm/plexus-cli 0.1.80 → 0.1.82

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
- ce2de206277140c6f8822e31eff2be7aee6a4c42da9893b3f395debf3f24143f
1
+ d56f1546c252505e48222a829482d03744b6d38479fd9bb2d9c69eb833507f4e
@@ -220,7 +220,6 @@ whole is the operator's (ask them; do not try).
220
220
  | [offer/staff-input-if-node.md](references/offer/staff-input-if-node.md) | Mandant | A staff input plus an if node that branches on it. |
221
221
  | [offer/task-appointment-result.md](references/offer/task-appointment-result.md) | Mandant | A task that ends with an appointment (mail with .ics to the family). |
222
222
  | [offer/task-family-request.md](references/offer/task-family-request.md) | Mandant | A task asks the family for data and closes itself on the answer. |
223
- | [offer/task-result-files.md](references/offer/task-result-files.md) | Mandant | A task result with up to 20 files. |
224
223
  | [offer/template-document-node.md](references/offer/template-document-node.md) | Mandant | Produce a letter from a Word template with a template node. |
225
224
  | [offer/upgrade-bundle.md](references/offer/upgrade-bundle.md) | Mandant | Upgrade a bundle exported in an older format, answering what it will not guess. |
226
225
  | [offer/wire-contract-generator.md](references/offer/wire-contract-generator.md) | Mandant + Plattform | Pin a contract generator or package, cockpit fields, export form fields, re-stamp formExports, test the new version. |
@@ -2439,7 +2439,6 @@ Add one composed task to a workflow node (result, blocks, condition, description
2439
2439
  | `--item <value>` | pricedItem only: the article it prices — its catalog key (billing_item_definitions.configKey, e.g. tuition) |
2440
2440
  | `--result-label <value>` | choice/pricedItem/reduction: the name of the result's value (German; without --result-label-en it stands in for English too) |
2441
2441
  | `--result-label-en <value>` | English name of the result's value |
2442
- | `--files` | freetext/recommendation/choice without --writes: the person may attach files to the result — text and files become one chat message (--no-files removes it) |
2443
2442
  | `--optional <value>` | OPTIONAL task: nothing waits for it; its holder may close it without a result with this button (German, e.g. „Keine Einschätzung abgeben“; without --optional-en it stands in for English too) |
2444
2443
  | `--optional-en <value>` | English words of the skip button |
2445
2444
  | `--clear-optional` | The task is owed again (removes optional) |
@@ -2508,7 +2507,6 @@ Change the given fields of one composed task; validate before write
2508
2507
  | `--item <value>` | pricedItem only: the article it prices — its catalog key (billing_item_definitions.configKey, e.g. tuition) |
2509
2508
  | `--result-label <value>` | choice/pricedItem/reduction: the name of the result's value (German; without --result-label-en it stands in for English too) |
2510
2509
  | `--result-label-en <value>` | English name of the result's value |
2511
- | `--files` | freetext/recommendation/choice without --writes: the person may attach files to the result — text and files become one chat message (--no-files removes it) |
2512
2510
  | `--optional <value>` | OPTIONAL task: nothing waits for it; its holder may close it without a result with this button (German, e.g. „Keine Einschätzung abgeben“; without --optional-en it stands in for English too) |
2513
2511
  | `--optional-en <value>` | English words of the skip button |
2514
2512
  | `--clear-optional` | The task is owed again (removes optional) |
@@ -12,7 +12,7 @@ The **Terminaufgabe** is an ordinary task of the same node with
12
12
  and waits („Wartet auf: <booking task>") until the booking binds it: its holder is the
13
13
  appointment's **host** (a person of the task's team, or that team's owner on the
14
14
  application), its due day the appointment's end + N. It closes with its result — the
15
- feedback, a recommendation / choice / free text with `files: true` — and holds whatever
15
+ feedback, a recommendation / choice / free text (with files, like every result) — and holds whatever
16
16
  it `blocks` until then.
17
17
 
18
18
  ## Prerequisites
@@ -31,11 +31,11 @@ it `blocks` until then.
31
31
  ```bash
32
32
  # 1. The booking task no longer blocks the follow-up — the hold is derived.
33
33
  plexus-cli offer workflow node task set --dir $WORK/$S --node decision --key tasterDayTermin --clear-blocks
34
- # 2. The Terminaufgabe: team, link, due rule, feedback with files.
34
+ # 2. The Terminaufgabe: team, link, due rule, feedback.
35
35
  plexus-cli offer workflow node task add --dir $WORK/$S --node decision --key tasterDayDurchfuehren \
36
36
  --title 'Taster Day durchführen' --title-en 'Hold the taster day' --team teachers \
37
37
  --appointment-of tasterDayTermin --due-days-after-end 2 \
38
- --result recommendation --chat all --files
38
+ --result recommendation --chat all
39
39
  # 3. If the booking task is part of an optional action, the Terminaufgabe joins it —
40
40
  # and the action is repeatable: a cancelled appointment ends the round.
41
41
  plexus-cli offer workflow node optional-action set --dir $WORK/$S --node decision --key tasterDay \
@@ -76,4 +76,3 @@ until every row is `same`.
76
76
  ## Related
77
77
 
78
78
  - [Make a task close with an appointment](./task-appointment-result.md)
79
- - [Files on a task result](./task-result-files.md)
@@ -15,11 +15,10 @@ assessment from the „Weiteres" menu — without a letter to the family.
15
15
  The result must be prose: free text, a recommendation, or a choice without `writes`
16
16
  (`[workItems/optionalNeedsProseResult]`). A task of an action listed in `requiresOneOf`
17
17
  is never optional (`[workItems/optionalInRequiresOneOf]`).
18
- - **Files** (`result.files: true`): the person attaches up to 20 files next to the text.
18
+ - **Files**: every result takes up to 20 files next to its text (no switch).
19
19
  Text and files go into the result's chat as one message. Find them later in the cockpit
20
20
  under Verlauf/Aktivitäten (tab of the chat the result names), shown only to people who
21
- read that chat — never under „Dokumente"
22
- ([task-result-files.md](./task-result-files.md)).
21
+ read that chat — never under „Dokumente".
23
22
  - **„Einschätzung einholen"** is a `spawnTasks` optional action that references an optional
24
23
  task assigned to a role (`--team geschaeftsfuehrung`). Pressing the action spawns that
25
24
  task. A triggered optional task does not hold the decision. An internal task never
@@ -35,13 +34,10 @@ Use a scratch dir for a real tenant
35
34
  plexus-cli offer workflow node task set --dir <dir> --node aufnahme --key oeaEinschaetzung \
36
35
  --clear-blocks --optional "Keine Einschätzung abgeben" --optional-en "No assessment"
37
36
 
38
- # 2. The Schulleitung's assessment takes files (it may stay owed — keep its blocks)
39
- plexus-cli offer workflow node task set --dir <dir> --node aufnahme --key schulleitungPruefung --files
40
-
41
- # 3. The task the action spawns, then the action
37
+ # 2. The task the action spawns, then the action
42
38
  plexus-cli offer workflow node task add --dir <dir> --node aufnahme --key gfEinschaetzung \
43
39
  --title "Einschätzung Geschäftsführung" --title-en "Management assessment" \
44
- --team geschaeftsfuehrung --due-in-days 3 --result freetext --chat all --files \
40
+ --team geschaeftsfuehrung --due-in-days 3 --result freetext --chat all \
45
41
  --optional "Keine Einschätzung abgeben" --optional-en "No assessment"
46
42
  plexus-cli offer workflow node optional-action set --dir <dir> --node aufnahme --key einschaetzung \
47
43
  --label "Einschätzung einholen" --label-en "Request an assessment" \
@@ -16,8 +16,8 @@ without a write.
16
16
 
17
17
  | | |
18
18
  |---|---|
19
- | **Moves in one transaction** | `tenants.slug` + `tenants.name`; `storage_uploads.tenantSlug` (every ticket of the slug); `stripe_payments.returnPath`; each member's and operator's dashboard notepad (prosemirror-sync id embeds the slug — snapshot and later steps are copied, the old document deleted) |
20
- | **Refuses, naming the reason** | mail of the tenant still `queued`/`sending` (its params carry the old slug — let the queue drain); a Stripe checkout still `requires_session`, `open` or `processing` (its success URL at Stripe names the old slug); any contract generator revision (`implementationKey` begins with the slug and is sealed into contract snapshots); upload tickets or a member's notepad already under the new slug (left by onboarding or a deleted tenant); more rows than one transaction holds (4 000 upload tickets, 2 000 payments, 1 000 accesses, 2 000 notepad steps past their last snapshot) |
19
+ | **Moves in one transaction** | `tenants.slug` + `tenants.name`; `stripe_payments.returnPath`; each member's and operator's dashboard notepad (prosemirror-sync id embeds the slug — snapshot and later steps are copied, the old document deleted) |
20
+ | **Refuses, naming the reason** | mail of the tenant still `queued`/`sending` (its params carry the old slug — let the queue drain); a Stripe checkout still `requires_session`, `open` or `processing` (its success URL at Stripe names the old slug); any contract generator revision (`implementationKey` begins with the slug and is sealed into contract snapshots); upload tickets or a member's notepad already under the new slug (left by onboarding or a deleted tenant); upload tickets of the tenant that carry no tenant id yet (run `migrations:backfillUploadTenantIds` first); more rows than one transaction holds (2 000 payments, 1 000 accesses, 2 000 notepad steps past their last snapshot) |
21
21
  | **Stays as written** | links in mail already sent; bookmarks; rendered mail previews; feedback page paths; GlitchTip tags; settled deliveries; `setup_exports.tenantSlug` (the slug at export time); config exports and setup files taken before the rename; the display name of user accounts; the notepad of someone who no longer has access (the component cannot list documents by prefix) |
22
22
 
23
23
  **There is no redirect from the old slug.** `/<old-slug>/…` answers like any