Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14357198
D12099.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D12099.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -352,7 +352,7 @@
'rsrc/js/application/aphlict/behavior-aphlict-status.js' => 'ea681761',
'rsrc/js/application/auth/behavior-persona-login.js' => '9414ff18',
'rsrc/js/application/config/behavior-reorder-fields.js' => '14a827de',
- 'rsrc/js/application/conpherence/ConpherenceThreadManager.js' => 'bbc850a4',
+ 'rsrc/js/application/conpherence/ConpherenceThreadManager.js' => '6a9169bb',
'rsrc/js/application/conpherence/behavior-durable-column.js' => 'e975bd12',
'rsrc/js/application/conpherence/behavior-menu.js' => 'c4151295',
'rsrc/js/application/conpherence/behavior-pontificate.js' => '21ba5861',
@@ -517,7 +517,7 @@
'conpherence-menu-css' => 'c6ac5299',
'conpherence-message-pane-css' => '2526107d',
'conpherence-notification-css' => '04a6e10a',
- 'conpherence-thread-manager' => 'bbc850a4',
+ 'conpherence-thread-manager' => '6a9169bb',
'conpherence-update-css' => '1099a660',
'conpherence-widget-pane-css' => '3d575438',
'differential-changeset-view-css' => '6a8b172a',
@@ -1270,6 +1270,16 @@
'69adf288' => array(
'javelin-install',
),
+ '6a9169bb' => array(
+ 'javelin-dom',
+ 'javelin-util',
+ 'javelin-stratcom',
+ 'javelin-install',
+ 'javelin-workflow',
+ 'javelin-router',
+ 'javelin-behavior-device',
+ 'javelin-vector',
+ ),
'6c2b09a2' => array(
'javelin-install',
'javelin-util',
@@ -1684,16 +1694,6 @@
'javelin-stratcom',
'javelin-dom',
),
- 'bbc850a4' => array(
- 'javelin-dom',
- 'javelin-util',
- 'javelin-stratcom',
- 'javelin-install',
- 'javelin-workflow',
- 'javelin-router',
- 'javelin-behavior-device',
- 'javelin-vector',
- ),
'bbdf75ca' => array(
'javelin-behavior',
'javelin-dom',
diff --git a/webroot/rsrc/js/application/conpherence/ConpherenceThreadManager.js b/webroot/rsrc/js/application/conpherence/ConpherenceThreadManager.js
--- a/webroot/rsrc/js/application/conpherence/ConpherenceThreadManager.js
+++ b/webroot/rsrc/js/application/conpherence/ConpherenceThreadManager.js
@@ -202,8 +202,10 @@
return;
}
}
- this._latestTransactionID = r.latest_transaction_id;
this._updating.knownID = r.latest_transaction_id;
+ this._latestTransactionID = r.latest_transaction_id;
+ JX.Stratcom.invoke('notification-panel-update', null, {});
+
this._didUpdateThreadCallback(r);
}));
@@ -234,6 +236,8 @@
.setHandler(JX.bind(this, function(r) {
if (this._shouldUpdateDOM(r)) {
this._latestTransactionID = r.latest_transaction_id;
+ JX.Stratcom.invoke('notification-panel-update', null, {});
+
this._didUpdateWorkflowCallback(r);
}
}));
@@ -259,6 +263,7 @@
this._loadedThreadID = r.threadID;
this._loadedThreadPHID = r.threadPHID;
this._latestTransactionID = r.latestTransactionID;
+ JX.Stratcom.invoke('notification-panel-update', null, {});
this._didLoadThreadCallback(r);
});
@@ -279,6 +284,8 @@
.setHandler(JX.bind(this, function(r) {
if (this._shouldUpdateDOM(r)) {
this._latestTransactionID = r.latest_transaction_id;
+ JX.Stratcom.invoke('notification-panel-update', null, {});
+
this._didSendMessageCallback(r);
}
}));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 3:16 AM (12 h, 28 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6912623
Default Alt Text
D12099.diff (3 KB)
Attached To
Mode
D12099: Conpherence - update the "unread" count in notifications panel aggressively
Attached
Detach File
Event Timeline
Log In to Comment