File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,14 @@ export class App extends LitElement {
106
106
}
107
107
}
108
108
109
+ /**
110
+ * Get the number of unique bugs that are associated with the exceptions list
111
+ * @returns The number of unique bugs.
112
+ */
113
+ get uniqueBugCount ( ) : number {
114
+ return new Set ( this . records . flatMap ( ( record ) => record . bugIds || [ ] ) ) . size ;
115
+ }
116
+
109
117
/**
110
118
* Renders the main content of the app which is dependent on the fetched records.
111
119
* @returns The main content.
@@ -127,6 +135,10 @@ export class App extends LitElement {
127
135
exceptions and ${ this . records . filter ( ( e ) => e . category === "convenience" ) . length }
128
136
convenience exceptions.
129
137
</ p >
138
+ < p >
139
+ Overall the exceptions resolve ${ this . uniqueBugCount } known bugs. Note that global
140
+ exceptions resolve a lot of untracked site breakage, i.e. breakage we don't have a bug for.
141
+ </ p >
130
142
131
143
< h2 > Global Exceptions</ h2 >
132
144
You can’t perform that action at this time.
0 commit comments