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
F18220075: D20702.id49371.diff
Tue, Aug 19, 1:48 PM
F18201593: D20702.id.diff
Mon, Aug 18, 8:07 AM
Unknown Object (File)
May 20 2025, 9:16 PM
Unknown Object (File)
Apr 23 2025, 5:44 PM
Unknown Object (File)
Apr 18 2025, 2:10 PM
Unknown Object (File)
Apr 16 2025, 4:13 PM
Unknown Object (File)
Apr 15 2025, 3:05 PM
Unknown Object (File)
Apr 15 2025, 2:07 AM
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.