Add "Work in progress" section to self dashboard

WIP changes that formerly were included in the "Outgoing reviews"
section are now partitioned into their own section.

The "Incoming reviews" section is also modified to exclude WIP changes.

Feature: Issue 6710
Change-Id: Ifc0ba39d90fb5236006a2aabfa549c6b19ba3e29
This commit is contained in:
Logan Hanks
2017-08-08 09:01:40 -07:00
parent 19cff86d73
commit d6fc3cf440

View File

@@ -15,14 +15,18 @@
'use strict';
const DEFAULT_SECTIONS = [
{
name: 'Work in progress',
query: 'is:open owner:self is:wip',
},
{
name: 'Outgoing reviews',
query: 'is:open owner:self',
query: 'is:open owner:self -is:wip',
},
{
name: 'Incoming reviews',
query: 'is:open ((reviewer:self -owner:self -is:ignored) OR ' +
'assignee:self)',
'assignee:self) -is:wip',
},
{
name: 'Recently closed',