stable

Clone or download

Read-only

See repository list ordered by path

Part of story #10408 have a burning parrot git repository list How to test: - Click on the buttons in the Action bar to change the current display mode. - Repositories and folders should be ordered alphabetically according to their path. Notes: - Filtering in "Tree view" mode will be added in a following commit. It does not work for now. - Expand/collapse of folders will be added in a following commit. - Storing of a user preference (to keep tabs on the usage of this feature) will be done in a following commit. - Vuex best practices discourage sorting the state in mutations. It should be treated like a DB. We should instead use getters to sort. No functional changes expected in "Last update date" display mode. Change-Id: I9474f004485791ee6342d28712038b3eba19ffc9

Modified Files

Name
M plugins/git/www/scripts/repositories/po/fr.po +6 −0 Go to diff View file
M plugins/git/www/scripts/repositories/po/template.pot +6 −0 Go to diff View file
M plugins/git/www/scripts/repositories/src/components/ActionBar.vue +4 −1 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/ActionBar/DisplayModeSwitcher.vue +87 −0 Go to diff View file
M plugins/git/www/scripts/repositories/src/components/ActionBar/ListFilter.vue +2 −1 Go to diff View file
M plugins/git/www/scripts/repositories/src/components/App.vue +9 −2 Go to diff View file
M plugins/git/www/scripts/repositories/src/components/FilterEmptyState.vue +2 −2 Go to diff View file
M plugins/git/www/scripts/repositories/src/components/GitRepository.vue +22 −17 Go to diff View file
M plugins/git/www/scripts/repositories/src/components/RepositoryList.vue +2 −2 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/folders/CollapsibleFolder.vue +55 −0 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/folders/FolderRepositoryList.vue +36 −0 Go to diff View file
M plugins/git/www/scripts/repositories/src/constants.js +3 −0 Go to diff View file
M plugins/git/www/scripts/repositories/src/store/actions.js +0 −1 Go to diff View file
M plugins/git/www/scripts/repositories/src/store/getters.js +80 −11 Go to diff View file
M plugins/git/www/scripts/repositories/src/store/index.js +7 −2 Go to diff View file
M plugins/git/www/scripts/repositories/src/store/mutations.js +15 −5 Go to diff View file
M plugins/git/www/themes/BurningParrot/css/repositories/_repositories.scss +9 −77 Go to diff View file
A plugins/git/www/themes/BurningParrot/css/repositories/_repository-card.scss +108 −0 Go to diff View file