stable

Clone or download

Read-only

Display labeled items

This is part of story #10499: Have a labels widget on project dashboards How to test: - Configure widgets with labels to show - Upon loading the dashboard page, the widgets should get all pull requests that have all the configured labels Limitations that will be addressed in following commits: - i18n of the error message - fetching more than 50 pull requests Change-Id: I8b4d149d54eb2dd5631c68f84156a848df10dc28

Modified Files

Name
A plugins/label/build-manifest.json +28 −0 Go to diff View file
M plugins/label/include/Label/Widget/Dao.php +3 −3 Go to diff View file
M plugins/label/include/Label/Widget/ProjectLabeledItems.php +33 −6 Go to diff View file
M plugins/label/include/Label/Widget/ProjectLabeledItemsPresenter.php +7 −3 Go to diff View file
M plugins/label/include/constants.php +1 −0 Go to diff View file
M plugins/label/include/labelPlugin.class.php +20 −0 Go to diff View file
M plugins/label/templates/widgets/project-labeled-items.mustache +5 −4 Go to diff View file
A plugins/label/www/scripts/.babelrc +10 −0 Go to diff View file
A plugins/label/www/scripts/package-lock.json +3483 −0 Go to diff View file
A plugins/label/www/scripts/package.json +25 −0 Go to diff View file
A plugins/label/www/scripts/project-labeled-items/src/LabeledItem.vue +23 −0 Go to diff View file
A plugins/label/www/scripts/project-labeled-items/src/LabeledItemsList.vue +63 −0 Go to diff View file
A plugins/label/www/scripts/project-labeled-items/src/index.js +30 −0 Go to diff View file
A plugins/label/www/scripts/project-labeled-items/src/rest-querier.js +36 −0 Go to diff View file
A plugins/label/www/scripts/webpack.config.js +60 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/_label.scss +44 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-blue-condensed.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-blue.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-green-condensed.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-green.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-grey-condensed.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-grey.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-orange-condensed.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-orange.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-purple-condensed.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-purple.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-red-condensed.scss +24 −0 Go to diff View file
A plugins/label/www/themes/BurningParrot/css/style-red.scss +24 −0 Go to diff View file
M src/common/dao/include/DataAccessObject.class.php +15 −15 Go to diff View file