Skip to content

Commit f2f56d4

Browse files
authored
Merge pull request #2 from SciCatProject/master
Catching up to home base
2 parents bd907ae + 80507df commit f2f56d4

38 files changed

+2523
-1837
lines changed

docs/frontend-config-guide/dynamic-dataset-detail-component.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Below you can find the example configuration, but for more advanced customizatio
8888
| | **order** | Controls the display order of the Regular section in the UI | - `order`: Integer, determines position in the UI | `"order": 0` |
8989
| | **fields** | List of fields to display within the section. It should contain an array of objects, each with `element`, `source`, and `order` fields. | | `{"fields": [{"element": "text", "source": "datasetName", "order": 0}]}` |
9090
| | - **element** | Defines the type of data to display in the row (e.g., text, copy, tag, linky, date, internalLink). | - `element`: Field type (e.g., `text`, `copy`, `tag`, `linky`, `date`, `internalLink`) | `"element": "text" ` |
91-
| | - **source** | Specifies the dataset property to display, and it must match a field in the `OutputDatasetDto` . | - `source`: Dataset property name | `"source": "datasetName"` |
91+
| | - **source** | Specifies the dataset property to display, and it must match a field in the `OutputDatasetDto`, or to be _instrumentName_ . | - `source`: Dataset property name | `"source": "datasetName"` |
9292
| | - **order** | Controls the display order of the field in the fields. | - `order`: Integer, defines the sequence of fields in the UI. Lower values appear first. | `"order": 1` |
9393
| **attachments** | **label** | Custom label for the section that can be configured. | - `label`: Custom title for the attachments section (e.g., "Gallery") | `"label": "Scientific Metadata"` |
9494
| | **order** | Controls the display order of the attachments section in the UI. | - `order`: Integer, determines sequence within the template. | `"order": 1` |
@@ -98,6 +98,7 @@ Below you can find the example configuration, but for more advanced customizatio
9898
| **scientificMetadata** | **label** | Customizable label for the scientific metadata section. | - `label`: Custom section title (e.g., "Scientific Metadata") | `"label": "Scientific Metadata"` |
9999
| | **viewMode** | Defines how the scientific metadata is rendered (as a table, JSON, or tree view). | - `viewMode`: `table`, `json`, or `tree` | `"viewMode": "table"` |
100100
| | **order** | Controls the display order of the scientific metadata section. | - `order`: Integer, determines position in the UI | `"order": 2` |
101+
| | **source** | **Optional** field to specify a path to nested scientificMetadata sub-objects. When provided, displays only the specified nested object instead of the entire scientificMetadata. | - `source`: Path to nested metadata (e.g., "scientificMetadata.instrumentProperties.value") | `"source": "scientificMetadata.instrumentProperties.value"` |
101102
| **datasetJsonView** | **label** | Label for the JSON view section. | - `label`: Custom section title (e.g., "Metadata JSON view") | `"label": "Metadata JSON view"` |
102103
| | **order** | Controls the display order of the dataset JSON view. | - `order`: Integer, determines position in the UI | `"order": 3` |
103104

jobConfig.example.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ jobs:
126126
actions:
127127
- # Use 'switch' for conditional actions
128128
actionType: switch
129-
scope: request
130-
property: statusCode
129+
phase: perform
130+
property: request.statusCode
131131
cases:
132132
- # Literal match
133133
match: finishedSuccessful

0 commit comments

Comments
 (0)