summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJukka Jokiniva <jukka.jokiniva@qt.io>2021-07-08 09:48:25 +0300
committerJukka Jokiniva <jukka.jokiniva@qt.io>2023-04-14 11:52:19 +0000
commitb38fb38a229991dcdcacebf622dd6a2241b7d80d (patch)
tree388ac5f97c1b3a1fc166798c4af692430fbab934
parent281f1d7264658654f220932f57af70ada0d7ef79 (diff)
Add integrating section to change dashboard
Change-Id: I482a9fe69c6ca39ee35f005d3443913657e28cc5 Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
-rw-r--r--polygerrit-ui/app/utils/dashboard-util.ts12
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,
];