VDT Changes
The information on this page is sourced from here: Start Here / Changelog - Page ⋅ Storybook (vidispine.github.io)
23.2.0
@vidispine/vdt-js
New
FIELD_DEFINITION_TYPES
const for all field definition types in vidicoreparseFieldDefinitionList
Parser for field definitions, i.e. MetadataField typesparseFacetList
Parser for returned facet list in searches
Updates
createFacetType
RenamedcreateSearchFacetList
and added boolean option exclude for fields to exclude themselves in facet.parseFileType
Add storageId and folderPath to parsed output
@vidispine/vdt-mui
New
SearchFilterForm
Search filter form componentAdd fieldList as options for search filter
(Optionally) Add a facetList response to populate options and counts to inputs
Returns a VidiCore SearchFilterType with onChange/onSubmit that can be used in VidiCore search requests
Form
New general form component (based on react-hook-form)Wraps react-hook-form with onClear, onReset, onChange, onSubmit and onError callbacks
Uses vdt inputs by default, but can be changed to custom/overridden
Has validation/rules support
Also includes buttons to clear, reset and submit form
Updates
ItemTableRow
add TableCellCheckbox as inner componentItemTable
fix so checked items persist if paginatingItemList
/CollectionList
support mimeType and mediaType for AvatarItemCard
/CollectionCard
support mimeType and mediaType for AvatarItemCard
/CollectionCard
styling improvements, elevation and better handling of overflowed widthTablePagination
add initial on change callback if page is beyond possible max pageTablePagination
fix pagination hidden if without heightSliderInput
minor bugs fixes when using range valueSliderInput
add optionclearable
to clear slider valuesSliderInput
replaceshowTooltip
withvalueLabelDisplay
to support on and autoDateTimeInput
Switch to local component state (mimicking) uncontrolledDateTimeInput
Switch root component fromLocalizationProvider
toTextField
BooleanInput
fix margin when usinglabelPlacement
SelectInput
fix selected for menu itemSelectInput
add placeholder propTagInput
add placeholder propTextInput
add placeholder propItemCard
add support for showing poster from item typeItemList
/CollectionList
remove default padding in list rootItemPoster
addbackgroundSize
andshowBlurredBackground
optionsMediaIcon
supporting more media typesdocument
,data
,pdf
,none
ItemTable
/ItemTableRow
has new propsavatarVariant
andshowAvatar
for showing avatar in table rowsDateRangeInput
Fix bug with controlled value validationCalendarPicker
Add prop for clear button textCalendarPicker
Add submit button functionalityAdd prop
submitOnChange
Calls onSubmit/onChange simultaneously when true (default)
Shows submit button when false (delaying onSubmit to when user clicks it)
Add
onSubmit
callback for when user submits valueAdd submit button to trigger onSubmit callback (only visible when
submitOnChange: false
)
DateRangeInput
Add support for submitsChange
closeOnSelect
tocloseOnSubmit
(close picker when submitting a value)And same additions as CalendarPicker: i.e.
submitOnChange
andonSubmit
@vidispine/vdt-player
New Package
Please get in contact with us if you have questions or want access, it isn't publicly available on npm with this release.
Feature Overview VDT Player
Frame accurate playback
By the use of the VidiSpine Streaming Server the player supports frame accurate playback and scrubbing (Trickplay)
Support of Streaming and Progressive Download
Multiple Formats are supported with MPEG-Dash (including growing file support), HLS (including live HLS) and Progressive Download.
Audio Peak Meter
Display the audio level with a Peak Meter with support of Progressive Download, MPEG-Dash and HLS
Audio Track Selection / Audio Mixdown
Select from multiple Audio Track pairs. With VidiSpine Streaming Server also with selection and mix of individual and multiple audio tracks
Timeline
The VDT Player timeline comes with responsive ticks, visual segmentation and In&Out selection.
Subtitle Support
Improved functions with custom style.
Keyboard navigation
Hotkeys with utilization of mousetrap
Typescript
Use Typescript for convenient integration into custom VDT applications
Styling
Customizable features and styling of playerFeature Overview VDT Player
@vidispine/types
New
Earlier missed during creation
ThumbnailMultiDocument
ThumbnailMultiType
SecretDocument
SecretType
SecretListDocument
SecretListType
Updates
FacetRangeType
include missingvalue
MetadataGroupSearchType
item criterion addedSeveral union types upgraded to enums instead
@vidispine/vdt-react
Updates
AuthContext
fixes bug that caused recursive selfcheck test.useUploadFiles
changed to ChunkedTransferManager
@vidispine/vdt-materialui
Breaking change
ItemPlayer
the internalItemDocumentPlayer
removed,Contact us if you're still in need of it and we'll send a copy of it.
Updates
SavedSearch
: Add disabledSliderField
while the search is loadingItemCompoundMetadataTable
refactoreduseCompoundMetadata
refactoredStorageListTree
Add expanded option to have initial expanded tree
dependencies
pdfjs-dist
removedreact-pdf
removedreact-sizeme
removed
@vidispine/vdt-api
No changes.
@vidispine/vdt-react-timeline
No changes.
@vidispine/vdt-videojs
No changes.
@vidispine/vdt-videojs-react
No changes.
@vidispine/eslint-config-base
Include
@vidispine/eslint-config-typescript
as dep since if missing it doesn't silently ignore it using yarn
dependencies
@vidispine/eslint-config-typescript
(added)
@vidispine/eslint-config-react
Add setting
import/resolver > node
to allow "*.jsx"Add plugin
react-refresh
(check that exports support react fast-refresh)Enabled with rule
'react-refresh/only-export-components': 'warn'
@vidispine/eslint-config-typescript
Add
eslint-import-resolver-typescript
with'import/no-unresolved': 'error'
to improve import lint with typescript
dependencies
eslint-plugin-react-refresh
: 0.3.4 (added)
@vidispine/cra-template-vdt
Add craco to adjust webpack config: allowing not fully specified mjs files
Issue arise from using packages with
"type": "module"
example-vdt-materialui-app
ItemFolderTab
New item view tab to display other content in same folder as itemReduced default chunkSize to 20mb in chunkedUploadProps
Added axiosRetry for upload retry functionality if the network connection is lost
dependencies
axios-retry
3.4.0 (added)
core
Improve performance of linting/formatting, running prettier separate from eslint
Improve performance of build, switching rollup to vite
Replacing CJS with UMD bundles - still exporting ESM bundles
No separate babel rollup plugin used - using babel config from esbuild/vite (target es2020)
Add husky pre-push hook running tests for modified files/tests.
Update storybook to V7 and switched to vite builder
Docs changed place to sidebar nodes instead of tab inside preview
Limitation: Anchor links aren't as well supported with (new) MDX2 in storybook: So identical headers will link to first occurrence.
Hiding inline story canvas in docs view as they are not performant or accurate.
Fix storybook button for anchor links in docs disappearing when window is minimized.