stable

Clone or download

Read-only

Add Filename preview field in new file version modal

part of request #18402 Convert document plugin into typescript Note: The DnD new file version modal part will be done in a dedicated commit How to test: - Create a new version of a file => In the filename preview field you should see: - The title of the document - The ID of the document - The status of the document - Update the title version => the preview is updated at the same time This field should be seen only in the file new version modal Change-Id: I65b129224075c524d0977df80451112e02d9af1a

Modified Files

Name
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionFileModal.test.js +14 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/CreateNewVersionFileModal.vue +32 −6 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/NewVersion/PreviewFilenameNewVersion.test.ts +98 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/DropDown/NewVersion/PreviewFilenameNewVersion.vue +69 −0 Go to diff View file
M plugins/document/scripts/document/helpers/properties-helpers/value-transformer/status-property-helper.test.ts +37 −26 Go to diff View file
M plugins/document/scripts/document/helpers/properties-helpers/value-transformer/status-property-helper.ts +5 −1 Go to diff View file
M plugins/document/scripts/document/type.ts +10 −0 Go to diff View file