From 7beae445e9eefca724f9f5278ff33151a0747945 Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 8 May 2015 12:20:16 -0700 Subject: [PATCH] Clear project notifications when viewing workboard or project detail Summary: Fixes T8112. Test Plan: - Sent notifications. - Notied them un-cleared by clicking them (profile or workboard). - Made changes. - Verified profile and workboard both clear them. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T8112 Differential Revision: https://secure.phabricator.com/D12771 --- .../project/controller/PhabricatorProjectBoardViewController.php | 1 + .../project/controller/PhabricatorProjectProfileController.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/applications/project/controller/PhabricatorProjectBoardViewController.php b/src/applications/project/controller/PhabricatorProjectBoardViewController.php index 031427d058..b9c366fecc 100644 --- a/src/applications/project/controller/PhabricatorProjectBoardViewController.php +++ b/src/applications/project/controller/PhabricatorProjectBoardViewController.php @@ -383,6 +383,7 @@ final class PhabricatorProjectBoardViewController array( 'title' => pht('%s Board', $project->getName()), 'showFooter' => false, + 'pageObjects' => array($project->getPHID()), )); } diff --git a/src/applications/project/controller/PhabricatorProjectProfileController.php b/src/applications/project/controller/PhabricatorProjectProfileController.php index 9679ddab5c..cb8fe9e87f 100644 --- a/src/applications/project/controller/PhabricatorProjectProfileController.php +++ b/src/applications/project/controller/PhabricatorProjectProfileController.php @@ -67,6 +67,7 @@ final class PhabricatorProjectProfileController $nav, array( 'title' => $project->getName(), + 'pageObjects' => array($project->getPHID()), )); }