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)
Feb 12 2024, 10:23 PM
Unknown Object (File)
Feb 9 2024, 5:48 AM
Unknown Object (File)
Feb 3 2024, 11:04 PM
Unknown Object (File)
Jan 25 2024, 11:28 AM
Unknown Object (File)
Jan 25 2024, 10:09 AM
Unknown Object (File)
Jan 11 2024, 8:42 AM
Unknown Object (File)
Jan 11 2024, 5:53 AM
Unknown Object (File)
Nov 30 2023, 5:45 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.