stable
Clone or download
Part of story #11347 have a UI to access Move artifact No functional changes expected. This first commit only deals with "stylistic" refactorings: - all "computed properties" and state "getters" should use the snake_case style. They are essentially variables, even though we confusingly declare them as a get() function. Nonetheless, when we use them, we never add parentheses and always treat them as regular properties. Thus, Tuleap variables' style. - Whenever there is no computation whatsoever, just use the "array-style" for mapState instead of defining arrow-functions ourselves. - I also took the libery of "hardcoding" "1" in singular translations. No need to repeat a complicated variable name just to annoy translators. Change-Id: I329813639b8920aeb5c1101f32dc2570e9c5af0f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/www/scripts/artifact-action-buttons/po/fr.po | +28 | −29 | Go to diff View file |
M | plugins/tracker/www/scripts/artifact-action-buttons/po/template.pot | +13 | −13 | Go to diff View file |
M | plugins/tracker/www/scripts/artifact-action-buttons/src/components/DryRunFullyMigratedFieldState.vue | +7 | −7 | Go to diff View file |
M | plugins/tracker/www/scripts/artifact-action-buttons/src/components/DryRunNotMigratedFieldState.vue | +7 | −7 | Go to diff View file |
M | plugins/tracker/www/scripts/artifact-action-buttons/src/components/DryRunPartiallyMigratedFieldState.vue | +7 | −7 | Go to diff View file |
M | plugins/tracker/www/scripts/artifact-action-buttons/src/components/MoveModal.vue | +24 | −19 | Go to diff View file |
M | plugins/tracker/www/scripts/artifact-action-buttons/src/components/MoveModalSelectors.vue | +5 | −9 | Go to diff View file |
M | plugins/tracker/www/scripts/artifact-action-buttons/src/components/ProjectSelector.vue | +4 | −4 | Go to diff View file |
M | plugins/tracker/www/scripts/artifact-action-buttons/src/store/getters.js | +6 | −9 | Go to diff View file |