diff options
author | Jukka Jokiniva <jukka.jokiniva@qt.io> | 2021-07-08 09:48:25 +0300 |
---|---|---|
committer | Jukka Jokiniva <jukka.jokiniva@qt.io> | 2022-05-30 10:32:13 +0000 |
commit | 5021470ceb84d522b896d01432c07213c3e58af2 (patch) | |
tree | e38c9157e6749d26395871467b09f23b875d753e | |
parent | e8535d761e882a10941bc8a3bbc79e0615b273f7 (diff) |
Add integrating section to change dashboard
Change-Id: I482a9fe69c6ca39ee35f005d3443913657e28cc5
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
-rw-r--r-- | polygerrit-ui/app/elements/core/gr-navigation/gr-navigation.ts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/polygerrit-ui/app/elements/core/gr-navigation/gr-navigation.ts b/polygerrit-ui/app/elements/core/gr-navigation/gr-navigation.ts index b8f2630c35..be030a8483 100644 --- a/polygerrit-ui/app/elements/core/gr-navigation/gr-navigation.ts +++ b/polygerrit-ui/app/elements/core/gr-navigation/gr-navigation.ts @@ -209,6 +209,14 @@ const CCED: DashboardSection = { query: 'is:open -is:ignored -is:wip cc:${user}', suffixForDashboard: 'limit:10', }; +export const INTEGRATING: DashboardSection = { + name: 'Integrating', + query: + '(is:staged OR is:integrating) -is:ignored (-is:wip OR owner:self) ' + + '(owner:${user} OR reviewer:${user} OR assignee:${user} ' + + 'OR cc:${user})', + suffixForDashboard: 'limit:20', +}; export const CLOSED: DashboardSection = { name: 'Recently closed', // Closed changes where viewed user is owner, reviewer, or assignee. @@ -216,7 +224,7 @@ export const CLOSED: DashboardSection = { // changes not owned by the viewing user (the one instance of // 'owner:self' is intentional and implements this logic). query: - 'is:closed -is:ignored (-is:wip OR owner:self) ' + + '(is:merged OR is:abandoned OR is:deferred) -is:ignored (-is:wip OR owner:self) ' + '(owner:${user} OR reviewer:${user} OR assignee:${user} ' + 'OR cc:${user})', suffixForDashboard: '-age:4w limit:10', @@ -229,6 +237,7 @@ const DEFAULT_SECTIONS: DashboardSection[] = [ OUTGOING, INCOMING, CCED, + INTEGRATING, CLOSED, ]; |