Desktop Notifications: Adding Desktop Notification Chat Image
← Older revision
Revision as of 09:45, October 10, 2016
Line 141:
Line 141:
{{clr}}
{{clr}}
===Desktop Notifications===
===Desktop Notifications===
−
You can choose to receive desktop notifications for your party’s chat. If you do so, you’ll be alerted to new chats via desktop notifications as long as you have Habitica open in your browser. If you don't allow desktop notifications, you'll instead get chat alerts in a format similar to gold and experience notifications.
+
[[File:DesktopNotification_Chat.png|thumb|Party Chat Desktop Notification|300px|left]]
You can choose to receive desktop notifications for your party’s chat. If you do so, you’ll be alerted to new chats via desktop notifications as long as you have Habitica open in your browser. If you don't allow desktop notifications, you'll instead get chat alerts in a format similar to gold and experience notifications.
+
[[File:Desktop_Notifications_Pop-Up_Dialog.png|thumb|Desktop notifications pop-up and browser dialog|250px]]Access your party page to enable or block desktop notifications. As shown in the screenshot on the right, you should see both a larger pop-up on the page titled “Enable Desktop Notifications” and a smaller dialog from your browser. Choose an option from the smaller browser dialog to indicate whether you’d like to allow/receive or deny/block notifications. The browser dialog may look different from the one in the screenshot depending on which browser you use. Selecting an option from the browser dialog will make the page pop-up disappear; otherwise, the pop-up will appear every time you go to your party page. If you are using a browser that does not support desktop notifications, then neither the pop-up nor the browser dialog will appear.
[[File:Desktop_Notifications_Pop-Up_Dialog.png|thumb|Desktop notifications pop-up and browser dialog|250px]]Access your party page to enable or block desktop notifications. As shown in the screenshot on the right, you should see both a larger pop-up on the page titled “Enable Desktop Notifications” and a smaller dialog from your browser. Choose an option from the smaller browser dialog to indicate whether you’d like to allow/receive or deny/block notifications. The browser dialog may look different from the one in the screenshot depending on which browser you use. Selecting an option from the browser dialog will make the page pop-up disappear; otherwise, the pop-up will appear every time you go to your party page. If you are using a browser that does not support desktop notifications, then neither the pop-up nor the browser dialog will appear.
Line 148:
Line 148:
{{InfoForDevs Start}}
{{InfoForDevs Start}}
+
=== Email Notifications ===
=== Email Notifications ===
{{Relevant Code
{{Relevant Code