@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use JX.DOM everywhere in behavior-dropdown

Summary: see title

Test Plan: Tested locally. Noticed same number replacement and bold/unbold text as before.

Reviewers: epriestley

Reviewed By: epriestley

CC: allenjohnashton, keebuhm, aran, Korvin, David

Differential Revision: https://secure.phabricator.com/D2720

authored by

David Fisher and committed by
epriestley
8b15d192 655bec9e

+9 -3
+4
webroot/rsrc/css/application/base/standard-page-view.css
··· 258 258 background-color: #0089d9; 259 259 } 260 260 261 + .phabricator-notification-indicator-unread { 262 + font-weight: bold; 263 + } 264 + 261 265 #phabricator-notification-dropdown { 262 266 263 267 word-wrap: break-word;
+5 -3
webroot/rsrc/js/application/aphlict/behavior-aphlict-dropdown.js
··· 19 19 } 20 20 21 21 request = new JX.Request('/notification/panel/', function(response) { 22 - indicator.textContent = '' + response.number; 22 + JX.DOM.setContent(indicator, response.number); 23 23 if (response.number == 0) { 24 - indicator.style.fontWeight = ""; 24 + JX.DOM.alterClass(indicator, 25 + "phabricator-notification-indicator-unread", false); 25 26 } else { 26 - indicator.style.fontWeight = "bold"; 27 + JX.DOM.alterClass(indicator, 28 + "phabricator-notification-indicator-unread", true); 27 29 } 28 30 JX.DOM.setContent(dropdown, JX.$H(response.content)); 29 31 request = null;