Skip to content

Commit 9e2028c

Browse files
authored
MMT-4038: Allow Aggregation->Concatenate in services to be accessible as fields in the service record edit page in MMT (#1420)
* MMT-4083: Increased length of pref label and alt label to 1024 * MMT-4038: Added missing Aggregation field into UI schema. * MMT-4038: Updated to latest edsc preview.
1 parent e5f1f44 commit 9e2028c

File tree

3 files changed

+39
-5
lines changed

3 files changed

+39
-5
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"dependencies": {
2323
"@apollo/client": "^3.8.5",
24-
"@edsc/metadata-preview": "^1.5.1",
24+
"@edsc/metadata-preview": "^1.5.2",
2525
"@node-saml/node-saml": "^5.1.0",
2626
"@rjsf/core": "^5.15.0",
2727
"@rjsf/utils": "^5.15.0",

static/src/js/schemas/uiSchemas/services/serviceOptions.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ const serviceOptionsUiSchema = {
2121
children: ['Subset']
2222
}
2323
},
24+
{
25+
'ui:col': {
26+
className: 'grid-layout__field-left-border',
27+
md: 12,
28+
children: ['Aggregation']
29+
}
30+
},
2431
{
2532
'ui:col': {
2633
md: 12,
@@ -165,6 +172,33 @@ const serviceOptionsUiSchema = {
165172
}
166173
}
167174
},
175+
Aggregation: {
176+
'ui:fieldReplacesAnyOrOneOf': true,
177+
'ui:heading-level': 'h4',
178+
'ui:field': 'layout',
179+
'ui:layout_grid': {
180+
'ui:row': [
181+
{
182+
'ui:group': 'Aggregation',
183+
'ui:group-description': true,
184+
'ui:col': {
185+
md: 12,
186+
children: [
187+
{
188+
'ui:row': [
189+
{
190+
'ui:col': {
191+
md: 12,
192+
children: ['Concatenate']
193+
}
194+
}
195+
]
196+
}
197+
]
198+
}
199+
}]
200+
}
201+
},
168202
SupportedOutputProjections: {
169203
'ui:heading-level': 'h4',
170204
items: {

0 commit comments

Comments
 (0)