Page MenuHomePhabricator

Notifications - add a "Clear All Notifications" link to dropdown
ClosedPublic

Authored by btrahan on Apr 29 2014, 4:56 PM.
Tags
None
Referenced Files
F13235374: D8894.id21111.diff
Tue, May 21, 4:51 AM
F13225952: D8894.id21116.diff
Sun, May 19, 6:27 PM
F13225652: D8894.id.diff
Sun, May 19, 4:30 PM
F13221488: D8894.diff
Sun, May 19, 2:48 AM
F13209642: D8894.diff
Fri, May 17, 1:21 AM
F13203108: D8894.diff
Tue, May 14, 11:29 PM
F13189024: D8894.diff
Sat, May 11, 5:40 AM
Unknown Object (File)
Tue, May 7, 8:34 AM
Subscribers

Details

Reviewers
epriestley
chad
Maniphest Tasks
Restricted Maniphest Task
Commits
Restricted Diffusion Commit
rPbcdef099c243: Notifications - add a "Clear All Notifications" link to dropdown
Summary

Fixes T2576. Also hyperlinks "Notifications" and "Messages" for easier quick navigation to those areas. Maybe we could get rid of the "See All X" UI at the bottom and use these links?

Test Plan

cleared all notifications from new UI - it worked! observed new linked "Notifications" and "Messages" headers

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added a task: Restricted Maniphest Task.
btrahan retitled this revision from to Notifications - add a "Clear All Notifications" link to dropdown.
btrahan updated this object.
btrahan edited the test plan for this revision. (Show Details)
btrahan added reviewers: chad, epriestley.

Clearing the cache should be:

  1. Update arcanist/
  2. Remove libphutil/src/.phutil_module_src
epriestley edited edge metadata.
This revision is now accepted and ready to land.Apr 29 2014, 5:09 PM

Clear all should be up floated right next to "Notifications". It's pretty cumbersome to scroll down constantly just to clear them, keep the action near the mouse.

epriestley edited edge metadata.
This revision now requires changes to proceed.Apr 29 2014, 5:13 PM
btrahan edited edge metadata.

put it in the header

what other style fixes should happen there?

also, any thoughts on whether linking the header is 1) a good idea and 2) if good, worth deprecating the "View All X" in the footer?

My guess is you (like me) are getting tired of looking at notifications for Harbormaster builds. I also tire of CC notifications on tasks I'm not. It's not a huge deal and this likely solves 80% of my concerns. The two scenarios are:

  • I just want to see what's new and one-click clear them.
  • I want to scroll and read everything.

So optimizing the clear at the top and read all at the bottom seems to make sense to me. Only other thing I'd maybe do is increase the hit-area of the Clear All action.

I liked the clickable header because for me I often have N notifications where after I read the first few all N are now off screen. Its nice to quick click for me to see all. Not attached to it.

I'm cool with clickable, maybe just override the color?

epriestley edited edge metadata.

(I'm mildly meh about clickable.)

This revision is now accepted and ready to land.Apr 29 2014, 5:37 PM
btrahan edited edge metadata.

style changes

btrahan updated this revision to Diff 21116.

Closed by commit rPbcdef099c243 (authored by @btrahan).