diff options
author | Jukka Jokiniva <jukka.jokiniva@qt.io> | 2021-07-08 09:48:25 +0300 |
---|---|---|
committer | Jukka Jokiniva <jukka.jokiniva@qt.io> | 2023-12-21 12:57:49 +0000 |
commit | db5c6a601e91e39265a5de8eb724e3198c994d2a (patch) | |
tree | 3212206a24692890157ff234386aa8b063f1c6e9 | |
parent | 95911c2c0483271c109a83bc647cc8a234836c70 (diff) |
Add integrating section to change dashboard
Change-Id: I482a9fe69c6ca39ee35f005d3443913657e28cc5
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
-rw-r--r-- | polygerrit-ui/app/utils/dashboard-util.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/polygerrit-ui/app/utils/dashboard-util.ts b/polygerrit-ui/app/utils/dashboard-util.ts index caff6039d0..940218ea87 100644 --- a/polygerrit-ui/app/utils/dashboard-util.ts +++ b/polygerrit-ui/app/utils/dashboard-util.ts @@ -78,13 +78,22 @@ const CCED: DashboardSection = { suffixForDashboard: 'limit:10', }; +const INTEGRATING: DashboardSection = { + name: 'Integrating', + query: + '(is:staged OR is:integrating) (-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 or reviewer. // WIP changes not owned by the viewing user (the one instance of // 'owner:self' is intentional and implements this logic) are filtered out. query: - 'is:closed (-is:wip OR owner:self) ' + + '(is:merged OR is:abandoned OR is:deferred) (-is:wip OR owner:self) ' + '(owner:${user} OR reviewer:${user} OR cc:${user})', suffixForDashboard: '-age:4w limit:10', }; @@ -96,6 +105,7 @@ const DEFAULT_SECTIONS: DashboardSection[] = [ OUTGOING, INCOMING, CCED, + INTEGRATING, CLOSED, ]; |