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)
Tue, Dec 17, 4:15 PM
Unknown Object (File)
Sun, Dec 15, 2:13 PM
Unknown Object (File)
Sat, Dec 14, 8:40 AM
Unknown Object (File)
Thu, Dec 12, 6:05 AM
Unknown Object (File)
Mon, Dec 9, 2:05 AM
Unknown Object (File)
Sun, Dec 8, 7:22 PM
Unknown Object (File)
Thu, Dec 5, 4:36 AM
Unknown Object (File)
Tue, Dec 3, 7:05 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.