stable

Clone or download

Read-only

Refactoring: Extract most of the logic to Vuex

Part of story #10408 have a burning parrot git repository list No functional changes expected. This is a squash of 10 commits that extract lots of small components and most of the logic out of GitRepositoriesList. It is now based on Vuex state, getters and actions. List of commits squashed together: https://gerrit.tuleap.net/#/c/tuleap/+/11950/ https://gerrit.tuleap.net/#/c/tuleap/+/11953/ https://gerrit.tuleap.net/#/c/tuleap/+/11954/ https://gerrit.tuleap.net/#/c/tuleap/+/11955/ https://gerrit.tuleap.net/#/c/tuleap/+/11956/ https://gerrit.tuleap.net/#/c/tuleap/+/11957/ https://gerrit.tuleap.net/#/c/tuleap/+/11958/ https://gerrit.tuleap.net/#/c/tuleap/+/11959/ https://gerrit.tuleap.net/#/c/tuleap/+/11960/ https://gerrit.tuleap.net/#/c/tuleap/+/11961/ Change-Id: I90cc16662b65fb2c0d7933bc917a4af91b300f94

Modified Files

Name
M plugins/git/www/scripts/package.json +1 −1 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/ActionBar.vue +64 −0 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/ActionBar/ListFilter.vue +50 −0 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/ActionBar/SelectOwner.vue +64 −0 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/App.vue +61 −0 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/ErrorMessage.vue +49 −0 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/FilterEmptyState.vue +46 −0 Go to diff View file
D plugins/git/www/scripts/repositories/src/components/GitRepositoriesList.vue +0 −286 Go to diff View file
M plugins/git/www/scripts/repositories/src/components/GitRepositoryCreate.vue +5 −0 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/NoRepositoryEmptyState.vue +80 −0 Go to diff View file
A plugins/git/www/scripts/repositories/src/components/RepositoriesList.vue +47 −0 Go to diff View file
A plugins/git/www/scripts/repositories/src/constants.js +24 −0 Go to diff View file
M plugins/git/www/scripts/repositories/src/index.js +2 −2 Go to diff View file
M plugins/git/www/scripts/repositories/src/repository-list-presenter.js +1 −1 Go to diff View file
A plugins/git/www/scripts/repositories/src/store/actions.js +99 −0 Go to diff View file
A plugins/git/www/scripts/repositories/src/store/getters.js +53 −0 Go to diff View file
M plugins/git/www/scripts/repositories/src/store/index.js +13 −2 Go to diff View file
M plugins/git/www/scripts/repositories/src/store/mutations.js +49 −6 Go to diff View file