Page MenuHomePhabricator

When all actions in a submenu are disabled, disable the submenu header
ClosedPublic

Authored by epriestley on Jun 30 2016, 5:24 PM.
Tags
None
Referenced Files
F19509283: D16201.id38969.diff
Sat, Jan 10, 5:13 PM
F18945261: D16201.id38967.diff
Nov 11 2025, 5:59 PM
F18944764: D16201.id38969.diff
Nov 11 2025, 4:52 PM
F18944217: D16201.diff
Nov 11 2025, 3:34 PM
F18789693: D16201.id.diff
Oct 15 2025, 10:41 AM
F18786710: D16201.diff
Oct 14 2025, 8:05 PM
F18763831: D16201.id.diff
Oct 7 2025, 2:31 AM
F18763257: D16201.id38967.diff
Oct 6 2025, 11:29 PM
Subscribers
None

Details

Summary

Fixes T11240. Also simplify things a little and share a bit more code.

Test Plan
  • Viewed revisions and tasks, opened submenu.
  • Viewed as a user without edit permission, saw the menus greyed out.

Diff Detail

Repository
rP Phabricator
Branch
attach4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12844
Build 16367: Run Core Tests
Build 16366: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to When all actions in a submenu are disabled, disable the submenu header.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
src/applications/search/controller/PhabricatorSearchBaseController.php
5–10

Not exactly related, but nothing uses these anymore.

chad edited edge metadata.
This revision is now accepted and ready to land.Jun 30 2016, 5:35 PM
This revision was automatically updated to reflect the committed changes.