Ignore WIP changes in "CCed on" dashboard section

Even though the WorkInProgress design proposal only mentions that WIP
changes are subtracted from "Incoming reviews" section:

"
The query driving the existing *Incoming reviews* section subtracts WIP
changes from the result. This has the effect of hiding WIP changes from
their reviewers' dashboards.
"

consistently also subtract the WIP changes from the "CCed on" dashboard
section.

Bug: Issue 12850
Change-Id: Ibab954bb6b3b8a66d4da842bc1ac3f53e8e18a68
This commit is contained in:
David Ostrovsky
2020-06-02 22:22:56 +02:00
committed by David Ostrovsky
parent a2d91d36bb
commit 2bc804da5d

View File

@@ -140,10 +140,10 @@ limitations under the License.
'(reviewer:${user} OR assignee:${user})',
},
{
// Open changes the viewed user is CCed on. Changes ignored by the viewing
// user are filtered out.
// Non-WIP open changes the viewed user is CCed on. Changes ignored by the
// viewing user are filtered out.
name: 'CCed on',
query: 'is:open -is:ignored cc:${user}',
query: 'is:open -is:wip -is:ignored cc:${user}',
},
{
name: 'Recently closed',