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_TYPESconst for all field definition types in vidicoreparseFieldDefinitionListParser for field definitions, i.e. MetadataField typesparseFacetListParser for returned facet list in searches
Updates
createFacetTypeRenamedcreateSearchFacetListand added boolean option exclude for fields to exclude themselves in facet.parseFileTypeAdd storageId and folderPath to parsed output
@vidispine/vdt-mui
New
SearchFilterFormSearch 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
FormNew 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
ItemTableRowadd TableCellCheckbox as inner componentItemTablefix so checked items persist if paginatingItemList/CollectionListsupport mimeType and mediaType for AvatarItemCard/CollectionCardsupport mimeType and mediaType for AvatarItemCard/CollectionCardstyling improvements, elevation and better handling of overflowed widthTablePaginationadd initial on change callback if page is beyond possible max pageTablePaginationfix pagination hidden if without heightSliderInputminor bugs fixes when using range valueSliderInputadd optionclearableto clear slider valuesSliderInputreplaceshowTooltipwithvalueLabelDisplayto support on and autoDateTimeInputSwitch to local component state (mimicking) uncontrolledDateTimeInputSwitch root component fromLocalizationProvidertoTextFieldBooleanInputfix margin when usinglabelPlacementSelectInputfix selected for menu itemSelectInputadd placeholder propTagInputadd placeholder propTextInputadd placeholder propItemCardadd support for showing poster from item typeItemList/CollectionListremove default padding in list rootItemPosteraddbackgroundSizeandshowBlurredBackgroundoptionsMediaIconsupporting more media typesdocument,data,pdf,noneItemTable/ItemTableRowhas new propsavatarVariantandshowAvatarfor showing avatar in table rowsDateRangeInputFix bug with controlled value validationCalendarPickerAdd prop for clear button textCalendarPickerAdd submit button functionalityAdd prop
submitOnChangeCalls onSubmit/onChange simultaneously when true (default)
Shows submit button when false (delaying onSubmit to when user clicks it)
Add
onSubmitcallback for when user submits valueAdd submit button to trigger onSubmit callback (only visible when
submitOnChange: false)
DateRangeInputAdd support for submitsChange
closeOnSelecttocloseOnSubmit(close picker when submitting a value)And same additions as CalendarPicker: i.e.
submitOnChangeandonSubmit
@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
ThumbnailMultiDocumentThumbnailMultiTypeSecretDocumentSecretTypeSecretListDocumentSecretListType
Updates
FacetRangeTypeinclude missingvalueMetadataGroupSearchTypeitem criterion addedSeveral union types upgraded to enums instead
@vidispine/vdt-react
Updates
AuthContextfixes bug that caused recursive selfcheck test.useUploadFileschanged to ChunkedTransferManager
@vidispine/vdt-materialui
Breaking change
ItemPlayerthe internalItemDocumentPlayerremoved,Contact us if you're still in need of it and we'll send a copy of it.
Updates
SavedSearch: Add disabledSliderFieldwhile the search is loadingItemCompoundMetadataTablerefactoreduseCompoundMetadatarefactoredStorageListTreeAdd expanded option to have initial expanded tree
dependencies
pdfjs-distremovedreact-pdfremovedreact-sizemeremoved
@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-typescriptas 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 > nodeto 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-typescriptwith'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
ItemFolderTabNew 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-retry3.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.