Show achievements on user profile
What does this MR do and why?
This MR surfaces user achievements on the user profile page.
If an achievement does not have an avatar, the GitLab logo is displayed in place.
Screenshots or screen recordings
Screen_Recording_2023-03-09_at_21.37.01
How to set up and validate locally
- Run the achievements seed script:
bundle exec rake db:seed_fu FILTER=36_achievements
- Enable the feature flag in the rails console:
Feature.enable(:achievements)
- Visit http://gdk.test:3000/root
If you have any problems, try deleting all achievements from the rails console: Achievements::Achievement.delete_all
then re-running the seed script (not from the rails console): bundle exec rake db:seed_fu FILTER=36_achievements
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #385383 (closed)