1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 11:30:55 +01:00
phorge-phorge/src/applications/notification
epriestley 29f625ef68 Make "No Notifications" setting less broad, and fix a bug with default display behavior
Summary:
Fixes T12979. In D18457, we added a "No Notifications" setting to let users disable the blue and yellow pop-up notifications that alert you when an object has been updated, since some users found them distracting.

However, the change made "do nothing" the default, so all other `JX.Notification` callsites -- which never pass a preference -- were effectively turned off no matter what your setting was set to. This includes the "Read-Only" mode warning (grey), the "High Security" mode warning (purple), the "timezone" warning, and a few others.

Tweak things a little bit so the setting applies to ONLY blue and yellow ("object you're following was updated" / "this object was updated") notifications, not other types of popup notifications.

Test Plan:
  - With notifications on in settings, got blue notifications and "Read-only".
  - With notifications off in settings, got "Read-only" but no blue notifications.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T12979

Differential Revision: https://secure.phabricator.com/D18600
2017-09-13 15:32:46 -07:00
..
application Complete modernization of Aphlict configuration 2016-04-14 04:57:00 -07:00
builder Make "No Notifications" setting less broad, and fix a bug with default display behavior 2017-09-13 15:32:46 -07:00
client Deduplicate application-level notifications from Aphlict 2017-04-17 15:55:38 -07:00
config Convert cluster/projects config options to newer modular structure 2017-06-27 12:35:54 -07:00
controller Make "No Notifications" setting less broad, and fix a bug with default display behavior 2017-09-13 15:32:46 -07:00
engineextension Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
feed Desktop Notification support 2015-06-22 13:11:37 -07:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
query Fix design atrocity 2017-05-30 14:29:30 -07:00
setup Complete modernization of Aphlict configuration 2016-04-14 04:57:00 -07:00
storage Cache user notification and message counts 2016-06-05 08:52:43 -07:00
view Add an icon to aphlict connection status 2016-10-02 08:17:21 -07:00