Page MenuHomePhabricator

Drop test for awardable badges on "Badges" tab of user profiles to avoid overheating
ClosedPublic

Authored by epriestley on Aug 8 2019, 5:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 5:29 AM
Unknown Object (File)
Thu, Dec 5, 10:37 PM
Unknown Object (File)
Thu, Dec 5, 4:48 PM
Unknown Object (File)
Thu, Dec 5, 12:36 AM
Unknown Object (File)
Wed, Dec 4, 1:27 PM
Unknown Object (File)
Wed, Nov 27, 3:03 AM
Unknown Object (File)
Nov 19 2024, 12:53 AM
Unknown Object (File)
Nov 14 2024, 6:03 PM
Subscribers
None

Details

Summary

Fixes T13370. We currently show an "Award Badge" button conditionally, based on whether the viewer can award any badges or not.

The query to test this may overheat and this pattern isn't consistent with other UI anyway. Stop doing this test.

Test Plan
  • Created 12 badges.
  • As a user who could not edit any of the badges, viewed the "Badges" section of a user profile.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

src/applications/people/controller/PhabricatorPeopleProfileBadgesController.php
67

Also: stop building this twice. Once is plenty.

This revision was not accepted when it landed; it landed in state Needs Review.Aug 8 2019, 5:17 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.