Page MenuHomePhabricator

Move Setup Issues into it's own notification style menu
ClosedPublic

Authored by chad on Aug 26 2016, 7:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 12, 7:02 AM
Unknown Object (File)
Mon, Apr 8, 11:55 PM
Unknown Object (File)
Mon, Apr 8, 11:55 PM
Unknown Object (File)
Tue, Apr 2, 9:46 AM
Unknown Object (File)
Tue, Apr 2, 9:46 AM
Unknown Object (File)
Tue, Apr 2, 9:46 AM
Unknown Object (File)
Tue, Apr 2, 9:46 AM
Unknown Object (File)
Tue, Apr 2, 9:42 AM
Subscribers

Details

Summary

Ref T11132. This gets rid of the red bar for admins and instead shows a new menu item next to notifications/chat if there are unresolved configuration issues. Menu goes away if there are no issues. May move this later into the bell icon, but think think might be the right place to start especially for NUX and updates. Maybe limit the number of items?

Test Plan

Tested with some, lots, and no config issues.

pasted_file (686×828 px, 147 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Move Setup Issues into it's own notification style menu.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
chad edited the test plan for this revision. (Show Details)
src/view/page/menu/PhabricatorMainMenuView.php
600

derp.

That countType thing is the only thing I see (and maybe colorize this again? I don't really feel strongly, but a lot of these issues are important, and this feels much less visible / attention-grabbing to me without color than the red bar did).

I think countType populates the little (3) in the page title. Not sure if these make sense to include, you could give them countType of null and then do something like this in aphlict-dropdown maybe:

+ if (config.countType) {
    JX.Title.setCount(config.countType, config.countNumber);
+ }

I think there are a couple of calls to JX.Title.setCount you'd need to tweak if you go that route.

chad edited edge metadata.
  • fix count type

pasted_file (325×462 px, 58 KB)

More color. I still wonder if the word "Issue" might be needed here.

epriestley edited edge metadata.
This revision is now accepted and ready to land.Aug 29 2016, 5:20 PM
This revision was automatically updated to reflect the committed changes.