stable

Clone or download

Read-only

Rework document action for empty folder

part of request #13266 Rework document action button for items How to test: - go on an empty folder with a docman writer => default action should be "New document" for each button - go on an empty folder with a docman reader => empty state is not updated => action button in header is displayed => default action is "Details" - go on a folder with some files inside with a docman writer => default action should be "New document" for header button - go on an empty folder with a docman reader => default action should be "Details" for header button In order to ease review, I only deal with empty folder, folder with content and all other types, will be done in a dedicated patch Change-Id: I4ab22d2b71f10cc6588f85096f5cf6b925b4fa0d

Modified Files

Name
M plugins/document/scripts/document/app.spec.js +2 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenuCurrentFolder.spec.js +66 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenuCurrentFolder.vue +6 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderHeader.vue +4 −11 Go to diff View file
A plugins/document/scripts/document/components/Folder/FolderHeaderAction.spec.js +72 −0 Go to diff View file
A plugins/document/scripts/document/components/Folder/FolderHeaderAction.vue +49 −0 Go to diff View file