Skip to content

Commit

Permalink
feat: Add Contributions Review Application - MEED-7362 - Meeds-io/mee…
Browse files Browse the repository at this point in the history
…ds#2427

This change will place the 'Review' Tab in first place in Achievements Review application and add a link in AppCenter to access the application.
  • Loading branch information
boubaker committed Sep 25, 2024
1 parent 531776e commit 74fdcbd
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
selected: tabName,
hide: false,
buttons: [{
value: 'YOURS',
text: $t('gamification.achievement.yours'),
icon: 'fa-user',
}, {
value: 'OWNED',
text: $t('gamification.achievement.owned'),
icon: 'fa-users-cog',
}, {
value: 'YOURS',
text: $t('gamification.achievement.yours'),
icon: 'fa-user',
}]
}"
:right-filter-button="{
Expand Down Expand Up @@ -202,7 +202,7 @@ export default {
filterActivated: false,
selected: 'Date',
programsUrl: `${eXo.env.portal.context}/${eXo.env.portal.engagementSiteName}/contributions/programs`,
tabName: window.location.hash === '#hosted' ? 'OWNED' : 'YOURS',
tabName: window.location.hash === '#yours' ? 'YOURS' : 'OWNED',
extensionApp: 'engagementCenterAchievements',
extensionType: 'achievements-extensions',
extensions: [],
Expand Down
20 changes: 20 additions & 0 deletions services/src/main/resources/applications.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,26 @@
"*:/platform/externals"
]
}
},
{
"name": "ContributionsReview",
"imagePath": "war:/../skin/images/contributionsReview.webp",
"overrideMode": "merge",
"override": false,
"enabled": true,
"application": {
"title": "Contributions Review",
"description": "Contributions Review application",
"url": "./contributions/achievements",
"system": false,
"active": true,
"isMandatory": false,
"isMobile": true,
"permissions": [
"*:/platform/users",
"*:/platform/externals"
]
}
}
]
}

0 comments on commit 74fdcbd

Please sign in to comment.