Page MenuHomePhabricator

Notifications - hide header dropdown if app is uninstalled
ClosedPublic

Authored by btrahan on May 14 2014, 4:52 PM.
Tags
None
Referenced Files
F14347861: D9121.id21669.diff
Thu, Dec 19, 3:47 AM
F14334241: D9121.id21670.diff
Wed, Dec 18, 5:08 PM
Unknown Object (File)
Fri, Dec 13, 12:39 PM
Unknown Object (File)
Mon, Dec 9, 1:27 AM
Unknown Object (File)
Sat, Dec 7, 11:00 PM
Unknown Object (File)
Sat, Dec 7, 3:00 AM
Unknown Object (File)
Thu, Dec 5, 11:05 PM
Unknown Object (File)
Wed, Dec 4, 4:26 AM
Subscribers

Details

Summary

Fixes T5019.

Test Plan

uninstalled notifications and dropdown disappeared too

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan retitled this revision from to Notifications - hide header dropdown if app is uninstalled.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added a reviewer: epriestley.
epriestley edited edge metadata.

(If we have no bubbles at all, it does the right thing?)

src/view/page/menu/PhabricatorMainMenuView.php
372

This should probably be isClassInstalledForViewer().

This revision is now accepted and ready to land.May 14 2014, 4:56 PM
btrahan edited edge metadata.
  • s/isInstalled/isInstalledForViewer
  • if (array_filter($menu)) check before adding $menu to alerts

tested with neither conpherence or notifications installed, one or the other, and both

btrahan updated this revision to Diff 21670.

Closed by commit rP67a5dfa662a8 (authored by @btrahan).