app/buglists/blockers.mjs (35 lines of code) (raw):
import * as BugList from "buglist";
/* eslint-disable camelcase */
export function init($container) {
BugList.append({
id: "blockers",
$container: $container,
title: "Blocker (S1) Defects",
description:
"Blocker (S1) defects. " +
"Bugs with the stalled keyword are ignored.\n" +
"Bugs are order by last updated, oldest first.\n" +
"Timestamp shows last modified.",
query: {
resolution: "---",
f1: "bug_severity",
o1: "anyexact",
v1: "s1,blocker",
f2: "cf_status_firefox_nightly",
o2: "nowords",
v2: "fixed,verified,wontfix,disabled,unaffected",
f3: "keywords",
o3: "notsubstring",
v3: "stalled",
f4: "bug_type",
o4: "equals",
v4: "defect",
},
usesComponents: true,
augment: (bug) => {
bug.timestamp_ago = bug.updated_ago;
bug.timestamp = bug.updated;
},
order: (a, b) => a.updated_epoch - b.updated_epoch,
});
}