Page MenuHomePhabricator

Make subproject/milestone watch rules work better
ClosedPublic

Authored by epriestley on Feb 16 2016, 6:33 PM.
Tags
None
Referenced Files
F13235888: D15280.diff
Tue, May 21, 7:00 AM
F13222847: D15280.diff
Sun, May 19, 4:02 AM
F13177264: D15280.diff
Wed, May 8, 7:35 PM
Unknown Object (File)
Tue, May 7, 12:44 PM
Unknown Object (File)
Sat, May 4, 5:33 PM
Unknown Object (File)
Mon, Apr 29, 2:13 PM
Unknown Object (File)
Wed, Apr 24, 10:16 PM
Unknown Object (File)
Apr 19 2024, 2:25 AM
Subscribers
None

Details

Reviewers
chad
Maniphest Tasks
T10349: Projects v3 Errata
Commits
Restricted Diffusion Commit
rP376c85a828c8: Make subproject/milestone watch rules work better
Summary

Ref T10349. These got sort of half-weirded-up before I separated subscriptions and watching fully. New rules are:

  • You can watch whatever you want.
  • Watching a parent watches everything inside it.
  • If you're watching "Stonework" and go to "Stonework > Masonry", you'll see a "Watching Ancestor" hint to let you know you're already watching a parent or ancestor.
Test Plan
  • Watched and unwatched "Stonework".
  • Watched and unwatched "Stonework > Iteration IV".
  • While watching "Stonework", visited "Iteration IV" and saw "Watching Ancestor" hint.
  • Created a task tagged "Stonework > Iteration IV". Got notified about it because I watch "Stonework".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Make subproject/milestone watch rules work better.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
src/applications/subscriptions/controller/PhabricatorSubscriptionsEditController.php
31

This was leftover from when Projects could be subscribed to.

chad edited edge metadata.

Ancestor seems a bit technical... but I can't think of anything better. Maybe put the project name in the dialog?

This revision is now accepted and ready to land.Feb 16 2016, 6:36 PM
epriestley edited edge metadata.

Show which ancestor is watched.

Screen Shot 2016-02-16 at 10.40.06 AM.png (189×572 px, 20 KB)

This revision was automatically updated to reflect the committed changes.