Page MenuHomePhabricator

Don't raise the "Subscribers Won't Be Notified" draft warning if you aren't adding any non-you subscribers
ClosedPublic

Authored by epriestley on Jul 9 2020, 9:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 1 2025, 3:15 AM
Unknown Object (File)
Apr 25 2025, 10:00 AM
Unknown Object (File)
Mar 28 2025, 10:23 PM
Unknown Object (File)
Mar 22 2025, 4:20 PM
Unknown Object (File)
Mar 19 2025, 6:56 AM
Unknown Object (File)
Mar 8 2025, 4:31 AM
Unknown Object (File)
Mar 7 2025, 2:35 PM
Unknown Object (File)
Mar 7 2025, 10:37 AM
Subscribers
None

Details

Summary

Currently, adding subscribers to a draft revision raises a warning that they won't get an email/notification.

This warning has some false positives:

  • it triggers on any subscriber change, including removing subscribers; and
  • it triggers if you're only adding yourself as a subscriber.

Narrow the scope of the warning so it is raised only if you're adding a subscriber other than yourself.

Test Plan
  • Added a non-self subscriber, got the warning as before.
  • Added self as a subscriber, no warning (previously: warning).
  • Removed a subscriber, no warning (previously: warning).

Diff Detail

Repository
rP Phabricator
Branch
request2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24761
Build 34149: Run Core Tests
Build 34148: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jul 9 2020, 9:20 PM
This revision was automatically updated to reflect the committed changes.