mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
Clear mock notifications when viewing mocks
Summary: - When viewing a mock, clear unread flag on notifications about it. - Show the "lcick to reload" version of the popup when you get a notification about the current mock. Test Plan: Clicked a notification to clear it. Reviewers: chad Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D5055
This commit is contained in:
parent
60f3780127
commit
c73a42a511
1 changed files with 5 additions and 0 deletions
|
@ -90,11 +90,16 @@ final class PholioMockViewController extends PholioController {
|
|||
$add_comment,
|
||||
);
|
||||
|
||||
PhabricatorFeedStoryNotification::updateObjectNotificationViews(
|
||||
$user,
|
||||
$mock->getPHID());
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
$content,
|
||||
array(
|
||||
'title' => $title,
|
||||
'device' => true,
|
||||
'pageObjects' => array($mock->getPHID()),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue