@citolab/tspci-tao 2.14.0 → 2.15.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.15.0](https://github.com/Citolab/tspci/compare/v2.14.0...v2.15.0) (2026-10-17)
7
+
8
+ **Note:** Version bump only for package @citolab/tspci-tao
9
+
10
+
11
+
12
+
13
+
6
14
  # [2.14.0](https://github.com/Citolab/tspci/compare/v2.13.0...v2.14.0) (2026-10-14)
7
15
 
8
16
  **Note:** Version bump only for package @citolab/tspci-tao
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citolab/tspci-tao",
3
- "version": "2.14.0",
3
+ "version": "2.15.0",
4
4
  "description": "create a zip file that can be imported into TAO",
5
5
  "author": "patrick <patrick.deklein@cito.nl>, Marcel Hoekstra <marcel.hoekstra@cito.nl>",
6
6
  "repository": {
@@ -20,5 +20,5 @@
20
20
  "access": "public",
21
21
  "registry": "https://registry.npmjs.org/"
22
22
  },
23
- "gitHead": "d72febca7cea937f77be4cef910a7f2d72fd524f"
23
+ "gitHead": "6b866b63174a1900c13b607a8a8701d0e2215aff"
24
24
  }
Binary file
Binary file
Binary file
Binary file
package/readme.md CHANGED
@@ -31,6 +31,10 @@ tooltip, and a control for its `editor`:
31
31
  | `pci` | a text field below the "Configure…" button (see below) | what the PCI's editor writes |
32
32
  | another | a text field | the text |
33
33
 
34
+ <p align="center">
35
+ <img src="https://raw.githubusercontent.com/Citolab/tspci/main/lib/tspci-tao/readme-images/properties.png" alt="the settings of a PCI in TAO's properties form" width="700">
36
+ </p>
37
+
34
38
  A setting given as a plain default (`"width": "200"`) keeps the field it always had: its name as the label, and a
35
39
  number field for a whole number, else a text field. Every change is written to the interaction and passed to the
36
40
  PCI's `trigger`, as text, the way a `data-` attribute gives it.
@@ -53,6 +57,10 @@ most 70% of the window height). The PCI gets all current settings of the interac
53
57
  like a change in the form, and the dialog closes.
54
58
  - **Cancel**, the close button or Escape close it without changes.
55
59
 
60
+ <p align="center">
61
+ <img src="https://raw.githubusercontent.com/Citolab/tspci/main/lib/tspci-tao/readme-images/configure.png" alt="the authoring mode of a PCI in TAO's modal" width="700">
62
+ </p>
63
+
56
64
  The text field of a `pci` setting stays below the button: it is the way to clear the value (back to the PCI's
57
65
  default), to copy it from another item, and the only way to change it when the module has no authoring mode. In
58
66
  that case the dialog says so instead of showing the editor.
@@ -74,7 +82,7 @@ To add TAO support to an existing tspci PCI you can run:
74
82
  This command and all the TAO specific changes that are needed to build importable TAO zip file. This will work for a new project created by ``` tspci init ```. For PCI's that are modified, it will do best effort to fully implement TAO specific changes. Please read the rest of this file in case ``` tspci init ``` fails on your PCI.
75
83
 
76
84
  <p align="center">
77
- <img src="https://github.com/Citolab/tspci/blob/main/lib/tspci-tao/readme-images/tspci-tao-console.png" alt="cli in console">
85
+ <img src="https://raw.githubusercontent.com/Citolab/tspci/main/lib/tspci-tao/readme-images/tspci-tao-console.png" alt="cli in console">
78
86
  </p>
79
87
 
80
88
  The cli will ask a few things before the script is executed:
@@ -171,13 +179,15 @@ Other config properties should be placed under: config -> tspci:
171
179
  - CUSTOM: "CUSTOM" allows to add custom response processing in TAO. This is needed if a string comparison is not possible. The item author cannot interact with the PCI to provided the correct answer. The correct answer should in the response processing template.
172
180
  - NONE: if the PCI is used as a tool and/or scoring is not needed the scoring method should be set to NONE.
173
181
 
174
- ![provide scoring for the PCI in TAO](https://github.com/Citolab/tspci/blob/main/lib/tspci-tao/readme-images/score.png)
182
+ With MATCH_CORRECT the item author switches the interaction to **Response** and answers the PCI; that response becomes the correct response.
183
+
184
+ ![provide scoring for the PCI in TAO](https://raw.githubusercontent.com/Citolab/tspci/main/lib/tspci-tao/readme-images/score.png)
175
185
 
176
186
  ## icon
177
187
 
178
188
  Add a svg file with the name {typeIdentifier}.svg in the root of the PCI directory to have a custom icon for the PCI in TAO.
179
189
 
180
- ![custom icon](https://github.com/Citolab/tspci/blob/main/lib/tspci-tao/readme-images/icon.png)
190
+ ![custom icon](https://raw.githubusercontent.com/Citolab/tspci/main/lib/tspci-tao/readme-images/icon.png)
181
191
 
182
192
  ## sbom
183
193