stable
Clone or download
part of story #13589 Update hardcoded metadata How to test: - update a folder: => you should be able to choose the recursivity options for its children I'm sorry about this patch size, but I had to split the status data binding management Previous one file handle data-binding for item/folder and for create/update As they each have their own data structure and validation, it's easiest to understand if the data-binding is done for each particular case. This patch does not deal with css, it will be done later. This patch does not correct the fact that default are not applied in create modals It's broken since a while, and it's not the aim of this particular commit to fix it The update of current folder will also be done in a dedicated commit. Change-Id: I76119d8237145c2a88712bc606f5c1569921cc67
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document/scripts/document/api/rest-querier.js | +17 | −1 | Go to diff View file |
M | plugins/document/scripts/document/app.spec.js | +8 | −2 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ActionsDropDown/DropdownMenuCurrentFolder.vue | +1 | −1 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/DocumentGlobalMetadataForCreate.vue | +53 | −0 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/DocumentGlobalMetadata.vue | Go to diff View file | ||
A | plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/StatusMetadataWithCustomBindingForDocumentCreate.spec.js | +102 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/StatusMetadataWithCustomBindingForDocumentCreate.vue | +50 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/DocumentMetadata/StatusMetadataWithCustomBindingForDocumentUpdate.spec.js | +122 | −0 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/Metadata/StatusMetadataWithCustomBinding.vue | Go to diff View file | ||
M | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/FolderDefaultPropertiesForCreate.vue | +3 | −3 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/FolderDefaultPropertiesForUpdate.spec.js | +77 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/FolderDefaultPropertiesForUpdate.vue | +61 | −0 | Go to diff View file |
R | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/FolderGlobalMetadata.vue | Go to diff View file | ||
A | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/FolderGlobalMetadataForUpdate.vue | +54 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/RecursionOptions.vue | +45 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/StatusMetadataWithCustomBindingForFolderCreate.spec.js | +103 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/StatusMetadataWithCustomBindingForFolderCreate.vue | +50 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/StatusMetadataWithCustomBindingForFolderUpdate.spec.js | +131 | −0 | Go to diff View file |
A | plugins/document/scripts/document/components/Folder/Metadata/FolderMetadata/StatusMetadataWithCustomBindingForFolderUpdate.vue | +63 | −0 | Go to diff View file |
D | plugins/document/scripts/document/components/Folder/Metadata/StatusMetadataWithCustomBinding.spec.js | +0 | −99 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ModalNewItem/NewFolderModal.vue | +3 | −3 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ModalNewItem/NewItemModal.vue | +10 | −13 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateFolderMetadataModal.vue | +20 | −8 | Go to diff View file |
M | plugins/document/scripts/document/components/Folder/ModalUpdateMetadata/UpdateMetadataModal.vue | +4 | −4 | Go to diff View file |
A | plugins/document/scripts/document/helpers/metadata-helpers/update-data-transformatter-helper.js | +32 | −0 | Go to diff View file |
A | plugins/document/scripts/document/helpers/metadata-helpers/update-data-transformatter-helper.spec.js | +49 | −0 | Go to diff View file |
M | plugins/document/scripts/document/po/fr.po | +12 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.js | +15 | −1 | Go to diff View file |
M | plugins/document/scripts/document/store/actions.spec.js | +54 | −0 | Go to diff View file |
M | plugins/document/themes/BurningParrot/document/_update-document.scss | +12 | −0 | Go to diff View file |