feat: dashboard weighs quality and splits work by a list field
The insights reading adds quality (open bugs per priority, bugs created and closed per week for 8 weeks, QA returns and passes per area over 90 days, bugs reported in the 14 days after each of the last three releases) and, for each list custom field, open tickets per option. The dashboard shows both; the field to split by can be picked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { IssuePriority } from './enums';
|
||||
import { UserRef } from './models';
|
||||
|
||||
/** A ticket the dashboard names, with the number that put it there. */
|
||||
@@ -102,6 +103,29 @@ export interface BacklogHealth {
|
||||
staleDays: number;
|
||||
}
|
||||
|
||||
/** Bugs (types drawn with the bug icon) and QA. */
|
||||
export interface Quality {
|
||||
openBugsByPriority: { priority: IssuePriority; count: number }[];
|
||||
/** The last 8 weeks (Monday), oldest first. */
|
||||
bugWeeks: { week: string; created: number; closed: number }[];
|
||||
/** QA's verdicts per area, the last 90 days (area null: none). */
|
||||
qaByArea: { area: string | null; returned: number; passed: number }[];
|
||||
/** Bugs reported in the 14 days after each of the last releases. */
|
||||
escaped: {
|
||||
releaseId: string;
|
||||
name: string;
|
||||
releasedAt: string;
|
||||
bugs: number;
|
||||
}[];
|
||||
}
|
||||
|
||||
/** Open tickets per option of a list custom field. */
|
||||
export interface FieldBreakdown {
|
||||
fieldId: string;
|
||||
counts: { value: string; count: number }[];
|
||||
none: number;
|
||||
}
|
||||
|
||||
/** The dashboard's reading of a project beyond the counts. */
|
||||
export interface ProjectInsights {
|
||||
generatedAt: string;
|
||||
@@ -114,4 +138,6 @@ export interface ProjectInsights {
|
||||
changes: ChangesSince | null;
|
||||
team: TeamLoad[];
|
||||
backlog: BacklogHealth;
|
||||
quality: Quality;
|
||||
fields: FieldBreakdown[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user