stable

Clone or download

Read-only

feat: Display OO alternatives in create new item dropdown

For now they are doing nothing, but you should see new options in the dropdown as soon as ONLYOFFICE integration is setup and project is allowed to use it. Future contributions will complete this. Part of story #28273: create OnlyOffice documents Change-Id: I3d733fff1e3e1c4e2d97b27feb5bc0a987163af0

Modified Files

Name
A plugins/document/include/Tree/Create/NewItemAlternative.php +33 −0 Go to diff View file
A plugins/document/include/Tree/Create/NewItemAlternativeCollector.php +55 −0 Go to diff View file
A plugins/document/include/Tree/Create/NewItemAlternativeSection.php +36 −0 Go to diff View file
M plugins/document/include/Tree/DocumentTreeController.php +3 −1 Go to diff View file
M plugins/document/include/Tree/DocumentTreePresenter.php +8 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemMenuOptions.test.ts +19 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewDocument/NewItemMenuOptions.vue +31 −0 Go to diff View file
M plugins/document/scripts/document/index.js +4 −0 Go to diff View file
M plugins/document/scripts/document/type.ts +12 −0 Go to diff View file
M plugins/document/templates/document-tree.mustache +1 −0 Go to diff View file
M plugins/onlyoffice/include/onlyofficePlugin.php +38 −3 Go to diff View file
M plugins/onlyoffice/site-content/fr_FR/LC_MESSAGES/tuleap-onlyoffice.po +12 −0 Go to diff View file
M plugins/onlyoffice/site-content/pr_BR/LC_MESSAGES/tuleap-onlyoffice.po +12 −0 Go to diff View file