Skip to content

Improve group achievements list

What does this MR do and why?

Manage achievements for groups/projects (#390407)

Improve the group achievements list from a basic table listing id, name and description to "cards" listing:

Avatar, name, description and recipients.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

If you have a "more recent" GDK installation your database should be seeded with achievements.

Enabled the achievements feature flag.

Navigate to a group achievements page (there is no nav item yet, so you'll need to manipulate the URL): http://gdk.test:3000/groups/flightjs/-/achievements.
You can use the rails console to find a group with achievements: Achievements::Achievement.last.namespace.
Alternatively, simply create a few achievements (from the group achievements page), then award a few (via the rails console FactoryBot.create(:user_achievement, achievement: Achievements::Achievement.find(x), user: User.find(y))

Edited by Lee Tickett

Merge request reports