stable

Clone or download

Read-only

Loading error should offer a link to document root folder

Part of story #12443 Table: Minimal folder display How to test: - Hack DocmanItemsResource to throw REST errors - When there is a LoadingError (!= 403) on any folder, there will be a button to go to the Document root. - When there is a LoadingError on the Document root folder, there won't be a button (People can just reload the page). - Errors should be reset before navigations to let users retry. Change-Id: I398cd3e7ec694e98b9d6ba6cd506dffc028bb680

Modified Files

Name
M plugins/document/scripts/document/app.spec.js +1 −0 Go to diff View file
M plugins/document/scripts/document/components/App.vue +3 −4 Go to diff View file
M plugins/document/scripts/document/components/ChildFolder.vue +5 −1 Go to diff View file
M plugins/document/scripts/document/components/Folder/empty-states/LoadingError.vue +5 −6 Go to diff View file
M plugins/document/scripts/document/components/RootFolder.vue +5 −1 Go to diff View file
M plugins/document/scripts/document/router/index.js +9 −1 Go to diff View file
M plugins/document/scripts/document/store/actions.js +4 −4 Go to diff View file
M plugins/document/scripts/document/store/actions.spec.js +8 −8 Go to diff View file
M plugins/document/scripts/document/store/index.js +1 −1 Go to diff View file
M plugins/document/scripts/document/store/mutations.js +47 −28 Go to diff View file
A plugins/document/scripts/document/store/mutations.spec.js +62 −0 Go to diff View file