Shows badges on profile if you have them. Check if app is installed, show badges.
Details
Details
- Reviewers
epriestley btrahan lpriestley - Commits
- Restricted Diffusion Commit
rPded654b8e2d5: Badges ... on your profile
Gave myself a liberal selection of badge. Gave notchad one badge. Gave chadtwo absolutely nothing.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- people-badges
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 7366 Build 7772: [Placeholder Plan] Wait for 30 Seconds Build 7771: arc lint + arc unit
Event Timeline
src/applications/people/controller/PhabricatorPeopleProfileController.php | ||
---|---|---|
209 | This seems strange, I can make badges to all users and on public pages they are empty. What's correct here? |
Comment Actions
Ah, right. Yeah, I think just always giving them getMostOpenPolicy() is probably correct. I don't think we should have secret badges or whatever.
src/applications/people/controller/PhabricatorPeopleProfileController.php | ||
---|---|---|
207–210 | You can just omit this, CAN_VIEW is the default. | |
226–228 | These should go left one indent level I think? |