stable
Clone or download
Read-only
Always display a "Download" item in the dropdown whenever the document is a File. That way people easily know how to download a file, even if the initial link on the title is captured by another plugin like OnlyOffice. Only the dropdown in the tree view is concerned by this contribution, quicklook dropdown has a dedicated download button. We will see later how to deal with download and open in OnlyOffice combination. Part of story #27555: display Office documents stored in the Document plugin Change-Id: I6e7c1193c4bd215e9dfdbe24878d5c47a0f9817e
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/document/scripts/document/components/Folder/DropDown/DownloadFile.test.ts | +68 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/DownloadFile.vue | +48 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.vue | +1 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DropDownMenuTreeView.test.ts | +35 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/DropDown/DropDownMenuTreeView.vue | +13 | −1 | Go to diff View file |