stable
Clone or download
part of story #13589 Update hardcoded metadata Why? Due to lack of technical knowledge at the beginning of epic, we overuse props instead of using slot Instead of having props defining the modal behaviour we should rely on following pattern: +------------------+ +-----------------+ +--------------+ +-------------------------+ | Current Folder | | Tree view | | QuickLook | | Embedded file display | +--------------+---+ +----------------++ +--------+-----+ +------------+------------+ | | | | | | | | | | | | +----------------------+-----+-----+--------------------+ | | +----------+----------+ | Drop down menu | +---------------------+ Each block calls drop down menu and use named slot to only render what concern him. At the end of the patch, the drop down should have: +--------------------------+ +--------------------------+ |New doc (primary action) | | Details (primary action) | +--------------------------+ | (legacy page) | |New folder | +--------------------------+ +--------------------------+ |FOLDER NAME | |FOLDER NAME | | | | | |Notifications | |Update properties | |History | |Notifications | |Approval table | |History | +--------------------------+ |Permissions | |Copy | |Approval table | +--------------------------+ +--------------------------+ |Cut/Copy | Current folder Reader |Paste | | item copied name | +--------------------------+ |Delete | +--------------------------+ Current folder Writer +--------------------------+ +--------------------------+ | QuickLook | | QuickLook | +--------------------------+ +--------------------------+ |New item | |ITEM NAME | |New folder | | | +-------- OR --------------+ |Details (primary action) | | Create new version | |(legacy page) | | Lock/Unlock item | |Notifications | +--------------------------+ |History | |ITEM NAME | |Approval table | | | +--------------------------+ |Update properties | |Copy | |Notifications | +--------------------------+ |History | |Permissions | Tree view reader |Approval table | +--------------------------+ |Cut/Copy | |Paste | | item copied name | +--------------------------+ |Delete | +--------------------------+ Tree view writer +--------------------------+ +--------------------------+ |New document|folder | | ... | +--------------------------+ | | |Lock/Unlock | +--------------------------+ | | | | +--------------------------+ | | | | |Notifications | |Update properties | |History | |Notifications | |Approval table | |History | +--------------------------+ |Permissions | |Cut/Copy | |Approval table | +--------------------------+ +--------------------------+ |Cut/Copy | Quick look reader |Paste | | item copied name | +--------------------------+ Quick look writer +--------------------------+ +--------------------------+ |New version | | ... | +--------------------------+ | | |Lock/Unlock | +--------------------------+ | | | | +--------------------------+ | | | | |Notifications | |Update properties | |History | |Notifications | |Approval table | |History | +--------------------------+ |Permissions | |Cut/Copy | |Approval table | +--------------------------+ +--------------------------+ | Cut/Copy | Embedded view Reader | | +--------------------------+ |Delete | +--------------------------+ Embedded view writer Change-Id: Ie74c433764e077ff189128127faaef185d13efc3
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/www/scripts/docman.js | +3 | −3 | Go to diff View file |
M | plugins/document/scripts/document/app.spec.js | +15 | −10 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ActionsButton/NewItemVersionButton.spec.js | +8 | −8 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ActionsButton/NewItemVersionButton.vue | +2 | −2 | Go to diff View file |
D | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenu.spec.js | +0 | −297 | Go to diff View file |
D | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenuCurrentFolder.spec.js | +0 | −66 | Go to diff View file |
D | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenuForItemQuickLook.vue | +0 | −83 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDeleteButton.vue | +4 | −17 | Go to diff View file |
D | plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDocumentActionButton.spec.js | +0 | −69 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/CopyItem.spec.js | Go to diff View file | ||
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/CopyItem.vue | Go to diff View file | ||
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/CutItem.spec.js | Go to diff View file | ||
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/CutItem.vue | Go to diff View file | ||
A | plugins/document/scripts/document/components/Folder/DropDown/DeleteItem.spec.js | +70 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/DeleteItem.vue | +49 | −0 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownButton.spec.js | Go to diff View file | ||
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownButton.vue | Go to diff View file | ||
A | plugins/document/scripts/document/components/Folder/DropDown/DropDownCurrentFolder.spec.js | +103 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/DropDownCurrentFolder.vue | +69 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/DropDownDisplayedEmbedded.spec.js | +84 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/DropDownDisplayedEmbedded.vue | +74 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/DropDownItemTitle.vue | +31 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/DropDownMenu.spec.js | +103 | −0 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenu.vue | Go to diff View file | ||
A | plugins/document/scripts/document/components/Folder/DropDown/DropDownMenuTreeView.spec.js | +157 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/DropDownMenuTreeView.vue | +86 | −0 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenuForItemQuickLook.spec.js | Go to diff View file | ||
R | plugins/document/scripts/document/components/Folder/ActionsQuickLookButton/QuickLookDocumentActionButton.vue | Go to diff View file | ||
A | plugins/document/scripts/document/components/Folder/DropDown/DropDownSeparator.vue | +33 | −0 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/LockItem.spec.js | Go to diff View file | ||
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/LockItem.vue | Go to diff View file | ||
A | plugins/document/scripts/document/components/Folder/DropDown/NewDocument.vue | +50 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/NewFolderSecondaryAction.spec.js | +75 | −0 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenuCurrentFolder.vue | Go to diff View file | ||
A | plugins/document/scripts/document/components/Folder/DropDown/NewIDocument.spec.js | +82 | −0 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/PasteItem.spec.js | Go to diff View file | ||
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/PasteItem.vue | Go to diff View file | ||
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/UnlockItem.spec.js | Go to diff View file | ||
R | plugins/document/scripts/document/components/Folder/ActionsDropDown/UnlockItem.vue | Go to diff View file | ||
A | plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties.spec.js | +57 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties.vue | +48 | −0 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/EmptyState/EmptyFolderForWriters.vue | +7 | −7 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/FolderContentRow.vue | +11 | −12 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/FolderHeaderAction.spec.js | +4 | −4 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/FolderHeaderAction.vue | +9 | −8 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ItemDisplay/ActionsHeader.vue | +7 | −7 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/QuickLook/QuickLookEmptyOrEmbedded.vue | +3 | −3 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/QuickLook/QuickLookFile.vue | +3 | −3 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/QuickLook/QuickLookFolder.vue | +6 | −6 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/QuickLook/QuickLookLink.vue | +5 | −4 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/QuickLook/QuickLookWiki.vue | +5 | −4 | Go to diff View file |