Skip to content

Commit 592492e

Browse files
authored
Merge pull request #35 from vidispine/25.2.3
25.2.3
2 parents 7d740f0 + fda26e7 commit 592492e

File tree

5 files changed

+44
-40
lines changed

5 files changed

+44
-40
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vidispine/admin-tool",
3-
"version": "25.2.2",
3+
"version": "25.2.3",
44
"private": true,
55
"dependencies": {
66
"@devbookhq/splitter": "^1.3.2",

src/components/item/ItemExportForm.jsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,21 @@ const queryParams = () => (
7272
arrayHeader
7373
dense
7474
/>
75+
<FormControlLabel
76+
control={<Field name="holdJob" component={BoolCheckbox} />}
77+
label="Hold Job"
78+
/>
7579
<FormControlLabel
7680
control={<Field name="useOriginalFilename" component={BoolCheckbox} />}
7781
label="Use Original Filename"
7882
/>
83+
<Field
84+
name="resourceTag"
85+
label="Resource Tag"
86+
helperText="Criteria used to select transcoders for the job"
87+
component={TextField}
88+
fullWidth
89+
/>
7990
<FormControlLabel
8091
control={<Field name="useOriginalComponentFilename" component={BoolCheckbox} />}
8192
label="Use Original Component Filename"
@@ -99,6 +110,10 @@ const queryParams = () => (
99110
/>
100111
<Field name="track" component={TextField} fullWidth />
101112
<Field name="version" component={TextField} fullWidth />
113+
<FormControlLabel
114+
control={<Field name="exportDashMpd" component={BoolCheckbox} />}
115+
label="Export Dash MPD"
116+
/>
102117
</>
103118
);
104119

src/components/library/LibraryTitle.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ function LibraryTitle({
4747
<MenuItem onClick={() => onOpen({ modalName: itemMetadataModal })}>
4848
<Typography>Update Item Metadata</Typography>
4949
</MenuItem>
50-
<MenuItem onClick={() => onOpen({ modalName: itemMetadataModal })}>
51-
<Typography>Update Item Metadata</Typography>
52-
</MenuItem>
5350
<MenuItem onClick={() => onOpen({ modalName: exportModal })}>
5451
<Typography>Export</Typography>
5552
</MenuItem>

src/components/ui/UrlField.jsx

Lines changed: 26 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ function SftpForm({ value = {}, onChange }) {
399399
);
400400
}
401401

402-
function HttpForm({ value = {}, onChange, showHttpCreds = false }) {
402+
function HttpForm({ value = {}, onChange }) {
403403
return (
404404
<>
405405
<TextField label="Host" value={value.host || ''} onChange={onChange('host')} fullWidth />
@@ -411,27 +411,23 @@ function HttpForm({ value = {}, onChange, showHttpCreds = false }) {
411411
onBlur={onPathBlur('path', onChange('path'))}
412412
fullWidth
413413
/>
414-
{showHttpCreds && (
415-
<>
416-
<URIComponentTextField
417-
label="URL Username"
418-
value={value.username || ''}
419-
onChange={onChange('username')}
420-
fullWidth
421-
/>
422-
<URIComponentTextField
423-
label="URL Password"
424-
value={value.password || ''}
425-
onChange={onChange('password')}
426-
fullWidth
427-
/>
428-
</>
429-
)}
414+
<URIComponentTextField
415+
label="URL Username"
416+
value={value.username || ''}
417+
onChange={onChange('username')}
418+
fullWidth
419+
/>
420+
<URIComponentTextField
421+
label="URL Password"
422+
value={value.password || ''}
423+
onChange={onChange('password')}
424+
fullWidth
425+
/>
430426
</>
431427
);
432428
}
433429

434-
function HttpsForm({ value = {}, onChange, showHttpCreds = false }) {
430+
function HttpsForm({ value = {}, onChange }) {
435431
return (
436432
<>
437433
<TextField label="Host" value={value.host || ''} onChange={onChange('host')} fullWidth />
@@ -443,22 +439,18 @@ function HttpsForm({ value = {}, onChange, showHttpCreds = false }) {
443439
onChange={onChange('path')}
444440
fullWidth
445441
/>
446-
{showHttpCreds && (
447-
<>
448-
<URIComponentTextField
449-
label="URL Username"
450-
value={value.username || ''}
451-
onChange={onChange('username')}
452-
fullWidth
453-
/>
454-
<URIComponentTextField
455-
label="URL Password"
456-
value={value.password || ''}
457-
onChange={onChange('password')}
458-
fullWidth
459-
/>
460-
</>
461-
)}
442+
<URIComponentTextField
443+
label="URL Username"
444+
value={value.username || ''}
445+
onChange={onChange('username')}
446+
fullWidth
447+
/>
448+
<URIComponentTextField
449+
label="URL Password"
450+
value={value.password || ''}
451+
onChange={onChange('password')}
452+
fullWidth
453+
/>
462454
</>
463455
);
464456
}

src/containers/Main.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ function Main({ onOpen, unsetToken, unsetRunAs, unsetResponseInterceptor, userNa
206206
<Route exact path="/metadata-field/" component={MetadataFieldList} />
207207
<Route exact path="/field-group/" component={FieldGroupList} />
208208
<Route exact path="/field-group/:groupName" component={FieldGroup} />
209+
<Route exact path="/import/settings/" component={ImportSettingsList} />
210+
<Route exact path="/import/settings/:settingsId" component={ImportSettings} />
209211
<Route path="/import/" component={Import} />
210212
<Route exact path="/import-imp" component={ImportImp} />
211213
<Route exact path="/file/" component={FileList} />
@@ -236,8 +238,6 @@ function Main({ onOpen, unsetToken, unsetRunAs, unsetResponseInterceptor, userNa
236238
component={Notification}
237239
/>
238240
<Route exact path="/notification/:notificationId" component={NotificationPlaceholder} />
239-
<Route exact path="/import/settings/" component={ImportSettingsList} />
240-
<Route exact path="/import/settings/:settingsId" component={ImportSettings} />
241241
<Route exact path="/import/access/:userName" component={ImportAccess} />
242242
<Route exact path="/task-group/" component={TaskGroupList} />
243243
<Route exact path="/task-group/:groupName/" component={TaskGroup} />

0 commit comments

Comments
 (0)