stable

Clone or download

Read-only

feat: Preview filename when DnD with a filename pattern

Given filename pattern is enforced, when we drop a file in the current folder to create a new file, Then a modal is displayed, And we have a preview of the future filename. Part of story #24192: preview file name at upload Change-Id: I8bbf616d38733af2796d5cca18094d5f6049213c

Modified Files

Name
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/FileCreationModal.test.ts +34 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/FileCreationModal.vue +21 −7 Go to diff View file
A plugins/document/scripts/document/components/Folder/ModalCommon/PreviewFilename.test.ts +87 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/ModalCommon/PreviewFilename.vue +65 −0 Go to diff View file
A plugins/document/scripts/document/helpers/add-original-filename-extension.test.ts +37 −0 Go to diff View file
A plugins/document/scripts/document/helpers/add-original-filename-extension.ts +38 −0 Go to diff View file
M plugins/document/scripts/document/po/fr_FR.po +3 −0 Go to diff View file