Page MenuHomePhabricator

When a user has been awarded badges but all their badges are archived, their profile shows an empty panel
Closed, ResolvedPublic

Description

We show a user's badges on their profile page. If they have some badges, the element looks like this:

Screen Shot 2016-03-25 at 10.33.39 AM.png (301×327 px, 10 KB)

If they have no badges, the element looks like this:

Screen Shot 2016-03-25 at 10.34.01 AM.png (153×331 px, 9 KB)

If they have some badges, but all the badges are disabled, the element looks like this:

Screen Shot 2016-03-25 at 10.28.55 AM.png (98×327 px, 5 KB)

For now, it should probably just show the "no badges" state. In the future, we might want to add some kind of "some disabled badges" state, and add a link to see all of a user's badges (which would also help if the user has many badges). This eventually runs into T9006, but fixing the bad state would be nice ahead of that.