@arbidocs/blocks 0.5.167 → 0.5.169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedCallDock-PFMK5OGR.cjs → ConnectedCallDock-2LQZTKQD.cjs} +21 -21
- package/dist/{ConnectedCallDock-PFMK5OGR.cjs.map → ConnectedCallDock-2LQZTKQD.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-VHU2XWLY.cjs → ConnectedCallRoom-YZWAB7E5.cjs} +14 -14
- package/dist/{ConnectedCallRoom-VHU2XWLY.cjs.map → ConnectedCallRoom-YZWAB7E5.cjs.map} +1 -1
- package/dist/{ConnectedMailInviteCard-S2X4XN3X.cjs → ConnectedMailInviteCard-DDGB4LLC.cjs} +5 -5
- package/dist/{ConnectedMailInviteCard-S2X4XN3X.cjs.map → ConnectedMailInviteCard-DDGB4LLC.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-AOVH47RY.cjs → ConnectedNativeDocxComparison-G3WMVARG.cjs} +18 -18
- package/dist/{ConnectedNativeDocxComparison-AOVH47RY.cjs.map → ConnectedNativeDocxComparison-G3WMVARG.cjs.map} +1 -1
- package/dist/{ConnectedPresentation-PYTZBAOR.cjs → ConnectedPresentation-FOYVUVM3.cjs} +18 -18
- package/dist/{ConnectedPresentation-PYTZBAOR.cjs.map → ConnectedPresentation-FOYVUVM3.cjs.map} +1 -1
- package/dist/{ConnectedProductionSetDialog-6ZGBUMOT.cjs → ConnectedProductionSetDialog-CTJLD6RF.cjs} +7 -7
- package/dist/{ConnectedProductionSetDialog-6ZGBUMOT.cjs.map → ConnectedProductionSetDialog-CTJLD6RF.cjs.map} +1 -1
- package/dist/{ConnectedSlidesTab-GT5TQPWW.cjs → ConnectedSlidesTab-LEA5OW75.cjs} +15 -15
- package/dist/{ConnectedSlidesTab-GT5TQPWW.cjs.map → ConnectedSlidesTab-LEA5OW75.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-2WBJZI2K.cjs → ConnectedStreamedWordArtifact-WLUA6H4R.cjs} +18 -18
- package/dist/{ConnectedStreamedWordArtifact-2WBJZI2K.cjs.map → ConnectedStreamedWordArtifact-WLUA6H4R.cjs.map} +1 -1
- package/dist/{DocumentReviewCard-3E44O3F6.cjs → DocumentReviewCard-3FUZZ67O.cjs} +18 -18
- package/dist/{DocumentReviewCard-3E44O3F6.cjs.map → DocumentReviewCard-3FUZZ67O.cjs.map} +1 -1
- package/dist/{FilesViewerDialog-JCW2SMBU.cjs → FilesViewerDialog-HQFZEDSO.cjs} +54 -54
- package/dist/{FilesViewerDialog-JCW2SMBU.cjs.map → FilesViewerDialog-HQFZEDSO.cjs.map} +1 -1
- package/dist/{WorkspaceTableView-ZKLEEPCF.cjs → WorkspaceTableView-HRUN3JSX.cjs} +11 -11
- package/dist/{WorkspaceTableView-ZKLEEPCF.cjs.map → WorkspaceTableView-HRUN3JSX.cjs.map} +1 -1
- package/dist/agents/index.cjs +354 -354
- package/dist/{ai-VXPILCGE.cjs → ai-U2UMKQZO.cjs} +25 -25
- package/dist/ai-U2UMKQZO.cjs.map +1 -0
- package/dist/auth/index.cjs +12 -12
- package/dist/automation/AutomationBoard.d.ts +7 -0
- package/dist/automation/AutomationBoard.js +23 -0
- package/dist/automation/AutomationBoard.js.map +7 -0
- package/dist/automation/assets.d.ts +2 -0
- package/dist/automation/assets.js +407 -0
- package/dist/automation/assets.js.map +7 -0
- package/dist/automation/index.cjs +1983 -0
- package/dist/automation/index.cjs.map +1 -0
- package/dist/automation/index.d.ts +2 -0
- package/dist/automation/index.js +6 -0
- package/dist/automation/index.js.map +7 -0
- package/dist/automation/md.js +137 -0
- package/dist/automation/md.js.map +7 -0
- package/dist/automation/mount.js +610 -0
- package/dist/automation/mount.js.map +7 -0
- package/dist/automation/settings.js +164 -0
- package/dist/automation/settings.js.map +7 -0
- package/dist/automation/types.d.ts +173 -0
- package/dist/automation/views.js +692 -0
- package/dist/automation/views.js.map +7 -0
- package/dist/calendar/index.cjs +106 -106
- package/dist/calls/index.cjs +132 -132
- package/dist/chat/index.cjs +1 -1
- package/dist/{chunk-KTYJNF7R.cjs → chunk-25ZZOEKD.cjs} +4 -4
- package/dist/{chunk-KTYJNF7R.cjs.map → chunk-25ZZOEKD.cjs.map} +1 -1
- package/dist/{chunk-VNUBBRJM.cjs → chunk-2K5DLB7B.cjs} +3 -3
- package/dist/{chunk-VNUBBRJM.cjs.map → chunk-2K5DLB7B.cjs.map} +1 -1
- package/dist/{chunk-Y4OTUJGD.cjs → chunk-2O772C6Y.cjs} +10 -10
- package/dist/{chunk-Y4OTUJGD.cjs.map → chunk-2O772C6Y.cjs.map} +1 -1
- package/dist/{chunk-SKQ5OMMF.cjs → chunk-2ZNADJ7G.cjs} +6 -6
- package/dist/{chunk-SKQ5OMMF.cjs.map → chunk-2ZNADJ7G.cjs.map} +1 -1
- package/dist/{chunk-BJRQHR7R.cjs → chunk-3EIO4ZH5.cjs} +6 -6
- package/dist/{chunk-BJRQHR7R.cjs.map → chunk-3EIO4ZH5.cjs.map} +1 -1
- package/dist/{chunk-7NVDGD63.cjs → chunk-3UCRJRNI.cjs} +3 -3
- package/dist/{chunk-7NVDGD63.cjs.map → chunk-3UCRJRNI.cjs.map} +1 -1
- package/dist/{chunk-AKNZZGJ3.cjs → chunk-4LCLVVYD.cjs} +36 -36
- package/dist/{chunk-AKNZZGJ3.cjs.map → chunk-4LCLVVYD.cjs.map} +1 -1
- package/dist/{chunk-B5AOYT4U.cjs → chunk-5FSULBPE.cjs} +3 -3
- package/dist/{chunk-B5AOYT4U.cjs.map → chunk-5FSULBPE.cjs.map} +1 -1
- package/dist/{chunk-DOBSQC2P.cjs → chunk-5GUJ27XK.cjs} +4 -4
- package/dist/{chunk-DOBSQC2P.cjs.map → chunk-5GUJ27XK.cjs.map} +1 -1
- package/dist/{chunk-EADZEEKI.cjs → chunk-6OVP3BUA.cjs} +65 -65
- package/dist/{chunk-EADZEEKI.cjs.map → chunk-6OVP3BUA.cjs.map} +1 -1
- package/dist/{chunk-M3HYFFCK.cjs → chunk-7GVKG3G4.cjs} +13 -13
- package/dist/{chunk-M3HYFFCK.cjs.map → chunk-7GVKG3G4.cjs.map} +1 -1
- package/dist/{chunk-6CNK2C34.cjs → chunk-7QSZSGUQ.cjs} +6 -6
- package/dist/{chunk-6CNK2C34.cjs.map → chunk-7QSZSGUQ.cjs.map} +1 -1
- package/dist/{chunk-XKOIHIVQ.cjs → chunk-7TX2JCTZ.cjs} +4 -4
- package/dist/{chunk-XKOIHIVQ.cjs.map → chunk-7TX2JCTZ.cjs.map} +1 -1
- package/dist/{chunk-QGCNYDHZ.cjs → chunk-AYOJZPA2.cjs} +12 -12
- package/dist/{chunk-QGCNYDHZ.cjs.map → chunk-AYOJZPA2.cjs.map} +1 -1
- package/dist/{chunk-WQ2KG4LS.cjs → chunk-BCU65RJM.cjs} +3 -3
- package/dist/{chunk-WQ2KG4LS.cjs.map → chunk-BCU65RJM.cjs.map} +1 -1
- package/dist/{chunk-LJTHFTQQ.cjs → chunk-ER2MRSLT.cjs} +3 -3
- package/dist/{chunk-LJTHFTQQ.cjs.map → chunk-ER2MRSLT.cjs.map} +1 -1
- package/dist/{chunk-FC6VMY2L.cjs → chunk-F3QHSUUO.cjs} +2 -2
- package/dist/{chunk-FC6VMY2L.cjs.map → chunk-F3QHSUUO.cjs.map} +1 -1
- package/dist/{chunk-VHXGBVT6.cjs → chunk-F6SXNJU3.cjs} +4 -4
- package/dist/{chunk-VHXGBVT6.cjs.map → chunk-F6SXNJU3.cjs.map} +1 -1
- package/dist/{chunk-WQQ6C2ML.cjs → chunk-FUKN3PI5.cjs} +3 -3
- package/dist/{chunk-WQQ6C2ML.cjs.map → chunk-FUKN3PI5.cjs.map} +1 -1
- package/dist/{chunk-ZSZI576U.cjs → chunk-HH5MKRBL.cjs} +7 -7
- package/dist/{chunk-ZSZI576U.cjs.map → chunk-HH5MKRBL.cjs.map} +1 -1
- package/dist/{chunk-U33XOC7T.cjs → chunk-HHZDURXN.cjs} +6 -6
- package/dist/{chunk-U33XOC7T.cjs.map → chunk-HHZDURXN.cjs.map} +1 -1
- package/dist/{chunk-3K7V4LOF.cjs → chunk-I6SINJQ2.cjs} +11 -11
- package/dist/{chunk-3K7V4LOF.cjs.map → chunk-I6SINJQ2.cjs.map} +1 -1
- package/dist/{chunk-EXUCQ6KA.cjs → chunk-K6C7L73R.cjs} +28 -28
- package/dist/{chunk-EXUCQ6KA.cjs.map → chunk-K6C7L73R.cjs.map} +1 -1
- package/dist/{chunk-6INJQAGS.cjs → chunk-KEV2R7WX.cjs} +21 -21
- package/dist/{chunk-6INJQAGS.cjs.map → chunk-KEV2R7WX.cjs.map} +1 -1
- package/dist/{chunk-EG3DPKXM.cjs → chunk-L3MYUPSH.cjs} +5 -5
- package/dist/{chunk-EG3DPKXM.cjs.map → chunk-L3MYUPSH.cjs.map} +1 -1
- package/dist/{chunk-AHUEBRLX.cjs → chunk-LYDSETR7.cjs} +4 -4
- package/dist/{chunk-AHUEBRLX.cjs.map → chunk-LYDSETR7.cjs.map} +1 -1
- package/dist/{chunk-H3VVUNEX.cjs → chunk-O2D4VIWD.cjs} +3 -3
- package/dist/{chunk-H3VVUNEX.cjs.map → chunk-O2D4VIWD.cjs.map} +1 -1
- package/dist/{chunk-IPSR2PUU.cjs → chunk-OHWYQI3B.cjs} +12 -12
- package/dist/{chunk-IPSR2PUU.cjs.map → chunk-OHWYQI3B.cjs.map} +1 -1
- package/dist/{chunk-TU46WKTN.cjs → chunk-OIYKKUAN.cjs} +3 -3
- package/dist/{chunk-TU46WKTN.cjs.map → chunk-OIYKKUAN.cjs.map} +1 -1
- package/dist/{chunk-W6PTT27N.cjs → chunk-P726C7NL.cjs} +18 -18
- package/dist/{chunk-W6PTT27N.cjs.map → chunk-P726C7NL.cjs.map} +1 -1
- package/dist/{chunk-GXIXNSBV.cjs → chunk-QNNNANQS.cjs} +70 -70
- package/dist/{chunk-GXIXNSBV.cjs.map → chunk-QNNNANQS.cjs.map} +1 -1
- package/dist/{chunk-NFVYHS3X.cjs → chunk-RBNMRU4V.cjs} +48 -48
- package/dist/{chunk-NFVYHS3X.cjs.map → chunk-RBNMRU4V.cjs.map} +1 -1
- package/dist/{chunk-PP3KYFSS.cjs → chunk-STPBNALX.cjs} +4 -4
- package/dist/{chunk-PP3KYFSS.cjs.map → chunk-STPBNALX.cjs.map} +1 -1
- package/dist/{chunk-W7TSEN3J.cjs → chunk-TLIZD6DV.cjs} +6 -6
- package/dist/{chunk-W7TSEN3J.cjs.map → chunk-TLIZD6DV.cjs.map} +1 -1
- package/dist/{chunk-5PXK77RO.cjs → chunk-UVEBRUTI.cjs} +4 -4
- package/dist/{chunk-5PXK77RO.cjs.map → chunk-UVEBRUTI.cjs.map} +1 -1
- package/dist/{chunk-6N7QT2DH.cjs → chunk-VDHBLDQC.cjs} +3 -3
- package/dist/{chunk-6N7QT2DH.cjs.map → chunk-VDHBLDQC.cjs.map} +1 -1
- package/dist/{chunk-6ZJBUMNK.cjs → chunk-VDT7TEAH.cjs} +3 -3
- package/dist/{chunk-6ZJBUMNK.cjs.map → chunk-VDT7TEAH.cjs.map} +1 -1
- package/dist/{chunk-LG2IKM2G.cjs → chunk-WV3RNWAG.cjs} +11 -11
- package/dist/{chunk-LG2IKM2G.cjs.map → chunk-WV3RNWAG.cjs.map} +1 -1
- package/dist/{chunk-PNZVCHFS.cjs → chunk-WWCSRBNZ.cjs} +9 -9
- package/dist/{chunk-PNZVCHFS.cjs.map → chunk-WWCSRBNZ.cjs.map} +1 -1
- package/dist/{chunk-TPYOXG5S.cjs → chunk-XKXKEVHH.cjs} +6 -6
- package/dist/{chunk-TPYOXG5S.cjs.map → chunk-XKXKEVHH.cjs.map} +1 -1
- package/dist/{chunk-E43TT6FH.cjs → chunk-YFEQVJH6.cjs} +27 -27
- package/dist/{chunk-E43TT6FH.cjs.map → chunk-YFEQVJH6.cjs.map} +1 -1
- package/dist/{chunk-4TJCJ74G.cjs → chunk-ZRYU32HB.cjs} +51 -51
- package/dist/{chunk-4TJCJ74G.cjs.map → chunk-ZRYU32HB.cjs.map} +1 -1
- package/dist/connect/docx.cjs +21 -21
- package/dist/connect/index.cjs +1363 -1325
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/viewer.cjs +42 -42
- package/dist/connection/workspace-access/ConnectedGrantWorkspaceAccessDialog.js +43 -5
- package/dist/connection/workspace-access/ConnectedGrantWorkspaceAccessDialog.js.map +2 -2
- package/dist/dashboards/index.cjs +1 -1
- package/dist/embed/index.cjs +46 -46
- package/dist/facts/index.cjs +44 -44
- package/dist/files/index.cjs +241 -241
- package/dist/home/index.cjs +9 -9
- package/dist/index.cjs +1758 -1758
- package/dist/pages/index.cjs +30 -30
- package/dist/settings/index.cjs +147 -147
- package/dist/shell/index.cjs +88 -88
- package/dist/studio/index.cjs +29 -29
- package/dist/styles.css +1 -1
- package/dist/workflow-canvas/index.cjs +64 -64
- package/dist/workspaces/index.cjs +6 -6
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +11 -6
- package/dist/ai-VXPILCGE.cjs.map +0 -1
|
@@ -0,0 +1,692 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { esc, inline, md } from "./md.js";
|
|
3
|
+
function createViews(options = {}) {
|
|
4
|
+
const API2 = "/ux";
|
|
5
|
+
const SEV_ORDER2 = { blocker: 0, major: 1, minor: 2, polish: 3 };
|
|
6
|
+
const STATE_ORDER = { claimed: 0, ready: 1, parked: 2, new: 3, fixed: 4, failed: 5, skipped: 6 };
|
|
7
|
+
const REPO = { frontend: "ARBI-frontend", backend: "ARBI" };
|
|
8
|
+
const EVIDENCE_KEY = /^rounds\/\d+\/[A-Za-z0-9._-]+$/;
|
|
9
|
+
const fileUrl2 = options.fileUrl ?? ((key) => `${API2}/files/${String(key).split("/").map(encodeURIComponent).join("/")}`);
|
|
10
|
+
const fmtDate2 = (s) => {
|
|
11
|
+
if (!s) return "\u2014";
|
|
12
|
+
const d = new Date(s);
|
|
13
|
+
return isNaN(d) ? String(s) : d.toLocaleString(void 0, { dateStyle: "medium", timeStyle: "short" });
|
|
14
|
+
};
|
|
15
|
+
const fmtSecs2 = (s) => {
|
|
16
|
+
const n = Math.max(0, Math.floor(Number(s) || 0));
|
|
17
|
+
return `${Math.floor(n / 60)}:${String(n % 60).padStart(2, "0")}`;
|
|
18
|
+
};
|
|
19
|
+
const repoName = (p) => String(p.repo || "").split("/").pop();
|
|
20
|
+
const prState = (p) => String(p.state || "").toLowerCase();
|
|
21
|
+
const repositoryPath = (repository, fallback) => /^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/.test(repository ?? "") ? repository.split("/").map(encodeURIComponent).join("/") : `arbicity/${encodeURIComponent(fallback)}`;
|
|
22
|
+
const prUrl = (p) => /^https:\/\//.test(p.url || "") ? p.url : `https://github.com/${repositoryPath(p.repo, repoName(p))}/pull/${encodeURIComponent(p.number)}`;
|
|
23
|
+
const branchUrl = (lane, branch, repository) => `https://github.com/${repositoryPath(repository, REPO[lane] ?? REPO.frontend)}/tree/${String(branch).split("/").map(encodeURIComponent).join("/")}`;
|
|
24
|
+
const chip = (text, cls = "") => text ? `<span class="chip ${esc(cls)}">${esc(text)}</span>` : "";
|
|
25
|
+
const empty = (title, text) => `<div class="empty"><b>${esc(title)}</b><span>${esc(text)}</span></div>`;
|
|
26
|
+
const prPill = (p) => `<a class="pr" data-state="${esc(prState(p))}" href="${esc(prUrl(p))}" target="_blank" rel="noopener">${esc(repoName(p))}#${esc(p.number)} \xB7 ${esc(prState(p))}</a>`;
|
|
27
|
+
const VERDICT_LABEL2 = {
|
|
28
|
+
merge: "picked",
|
|
29
|
+
reject: "rejected",
|
|
30
|
+
rework: "reworked",
|
|
31
|
+
combine: "combined"
|
|
32
|
+
};
|
|
33
|
+
function latestVerdicts2(reviews = []) {
|
|
34
|
+
const m = /* @__PURE__ */ new Map();
|
|
35
|
+
for (const r of reviews) if (r.ticket_id != null) m.set(r.ticket_id, r);
|
|
36
|
+
return m;
|
|
37
|
+
}
|
|
38
|
+
function stateLabel2(t) {
|
|
39
|
+
switch (t.status) {
|
|
40
|
+
case "new":
|
|
41
|
+
return ["not triaged", ""];
|
|
42
|
+
case "ready":
|
|
43
|
+
return ["queued", ""];
|
|
44
|
+
case "claimed":
|
|
45
|
+
return ["fixing", "fixing"];
|
|
46
|
+
case "fixed":
|
|
47
|
+
return ["fixed", "fixed"];
|
|
48
|
+
case "failed":
|
|
49
|
+
return [String(t.fix_status || "not fixed").slice(0, 40), "failed"];
|
|
50
|
+
case "parked":
|
|
51
|
+
return ["needs decision", "parked"];
|
|
52
|
+
default:
|
|
53
|
+
return [t.triage_decision || "triaged out", ""];
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
const SHOWS2 = [
|
|
57
|
+
["all", "All tickets", () => true],
|
|
58
|
+
["new", "Not triaged", (t) => t.status === "new"],
|
|
59
|
+
["fix", "Sent to fixers", (t) => ["ready", "claimed", "fixed", "failed"].includes(t.status)],
|
|
60
|
+
["fixed", "Fix committed", (t) => t.status === "fixed"],
|
|
61
|
+
["review", "Needs review", (t, v) => t.status === "fixed" && !v],
|
|
62
|
+
["picked", "Picked for PR", (t, v) => v?.verdict === "merge" || v?.verdict === "combine"],
|
|
63
|
+
["rejected", "Rejected", (t, v) => v?.verdict === "reject"],
|
|
64
|
+
["parked", "Waiting on a decision", (t) => t.status === "parked"],
|
|
65
|
+
["out", "Triaged out", (t) => t.status === "skipped"]
|
|
66
|
+
];
|
|
67
|
+
const SHOW = Object.fromEntries(SHOWS2.map(([k, , f]) => [k, f]));
|
|
68
|
+
function stageCounts2(tickets = [], reviews = []) {
|
|
69
|
+
const v = latestVerdicts2(reviews);
|
|
70
|
+
const n = (k) => tickets.filter((t) => SHOW[k](t, v.get(t.id))).length;
|
|
71
|
+
const always = [
|
|
72
|
+
["all", "Logged"],
|
|
73
|
+
["fix", "Sent to fixers"],
|
|
74
|
+
["fixed", "Fix committed"],
|
|
75
|
+
["picked", "Picked for PR"],
|
|
76
|
+
["rejected", "Rejected"],
|
|
77
|
+
["out", "Triaged out"]
|
|
78
|
+
].map(([k, l]) => [k, l, n(k), false]);
|
|
79
|
+
const whenAny = [
|
|
80
|
+
["new", "Not triaged"],
|
|
81
|
+
["parked", "Waiting on a decision"],
|
|
82
|
+
["review", "Needs review"]
|
|
83
|
+
].map(([k, l]) => [k, l, n(k), true]).filter(([, , c]) => c > 0);
|
|
84
|
+
return [...always, ...whenAny];
|
|
85
|
+
}
|
|
86
|
+
function filterTickets2(tickets, reviews, f, extra) {
|
|
87
|
+
const v = latestVerdicts2(reviews);
|
|
88
|
+
const q = (f.q || "").trim().toLowerCase();
|
|
89
|
+
return tickets.filter((t) => {
|
|
90
|
+
if (f.show && f.show !== "all" && !SHOW[f.show]?.(t, v.get(t.id))) return false;
|
|
91
|
+
if (f.lane && t.lane !== f.lane) return false;
|
|
92
|
+
if (f.sev && t.severity !== f.sev) return false;
|
|
93
|
+
if (!q) return true;
|
|
94
|
+
const r = v.get(t.id);
|
|
95
|
+
return [
|
|
96
|
+
t.title,
|
|
97
|
+
t.persona_name,
|
|
98
|
+
t.persona,
|
|
99
|
+
t.key,
|
|
100
|
+
ticketLabel2(t),
|
|
101
|
+
t.kind,
|
|
102
|
+
t.body,
|
|
103
|
+
t.triage_reason,
|
|
104
|
+
t.duplicate_of,
|
|
105
|
+
t.fix_status,
|
|
106
|
+
t.fix_report,
|
|
107
|
+
t.fixer_branch,
|
|
108
|
+
...t.files || [],
|
|
109
|
+
r?.notes,
|
|
110
|
+
extra?.(t)
|
|
111
|
+
].join(" ").toLowerCase().includes(q);
|
|
112
|
+
}).sort(
|
|
113
|
+
(a, b) => (STATE_ORDER[a.status] ?? 9) - (STATE_ORDER[b.status] ?? 9) || (SEV_ORDER2[a.severity] ?? 9) - (SEV_ORDER2[b.severity] ?? 9) || a.id - b.id
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
const roundLink = (r) => `#/rounds/${r.id}`;
|
|
117
|
+
const roundChip2 = (r) => r ? `<a class="chip round" href="${roundLink(r)}" title="${esc(r.slug)}">${esc(r.title)}</a>` : "";
|
|
118
|
+
const shortDate = (s) => {
|
|
119
|
+
const d = new Date(s);
|
|
120
|
+
return isNaN(d) ? "" : d.toLocaleDateString(void 0, { day: "numeric", month: "short" });
|
|
121
|
+
};
|
|
122
|
+
const roundDate2 = (r) => {
|
|
123
|
+
const m = /^(\d{4})(\d{2})(\d{2})-(\d{2})(\d{2})(\d{2})/.exec(r.slug || "");
|
|
124
|
+
return m ? `${m[1]}-${m[2]}-${m[3]}T${m[4]}:${m[5]}:${m[6]}` : r.created_at;
|
|
125
|
+
};
|
|
126
|
+
const isImported = (r) => /\(imported\)\s*$/.test(r.title) || /^agent:persona-backfill/.test(r.created_by);
|
|
127
|
+
function eligibleRounds2(rounds, opts) {
|
|
128
|
+
return rounds.filter((r) => (opts.test || !r.is_test) && (opts.imported || !isImported(r)));
|
|
129
|
+
}
|
|
130
|
+
function selectedIds2(rounds, sel, opts) {
|
|
131
|
+
if (sel === "all") return eligibleRounds2(rounds, opts).map((r) => r.id);
|
|
132
|
+
const want = new Set(sel);
|
|
133
|
+
return rounds.filter((r) => want.has(r.id)).map((r) => r.id);
|
|
134
|
+
}
|
|
135
|
+
function pickerLabel2(rounds, sel, ids) {
|
|
136
|
+
if (sel === "all") return `All rounds \xB7 ${ids.length}`;
|
|
137
|
+
if (ids.length === 1) return rounds.find((r) => r.id === ids[0])?.title ?? "1 round";
|
|
138
|
+
return `${ids.length} rounds`;
|
|
139
|
+
}
|
|
140
|
+
function roundPicker2(rounds, sel, opts, ids) {
|
|
141
|
+
const on = new Set(ids);
|
|
142
|
+
return `<details class="picker" id="picker">
|
|
143
|
+
<summary class="picker-btn"><span class="picker-k">Rounds</span> <b>${esc(pickerLabel2(rounds, sel, ids))}</b></summary>
|
|
144
|
+
<div class="picker-panel" role="group" aria-label="Rounds to show">
|
|
145
|
+
<label class="picker-all"><input type="checkbox" data-pick="all"${sel === "all" ? " checked" : ""}> <b>All rounds</b></label>
|
|
146
|
+
<div class="picker-opts">
|
|
147
|
+
<label><input type="checkbox" data-opt="test"${opts.test ? " checked" : ""}> Test rounds</label>
|
|
148
|
+
<label><input type="checkbox" data-opt="imported"${opts.imported ? " checked" : ""}> Imported rounds</label>
|
|
149
|
+
</div>
|
|
150
|
+
<div class="picker-list">${rounds.map(
|
|
151
|
+
(r) => `<div class="picker-row${!opts.test && r.is_test ? " dim" : ""}">
|
|
152
|
+
<label><input type="checkbox" data-pick="${r.id}"${on.has(r.id) ? " checked" : ""}>
|
|
153
|
+
<span class="picker-name">${esc(r.title)}</span></label>
|
|
154
|
+
<span class="picker-meta"><span class="status ${esc(r.status)}">${esc(r.status)}</span> ${esc(shortDate(roundDate2(r)))}
|
|
155
|
+
<a href="${roundLink(r)}" class="picker-only" title="Show only this round">only</a></span>
|
|
156
|
+
</div>`
|
|
157
|
+
).join("")}</div>
|
|
158
|
+
</div>
|
|
159
|
+
</details>`;
|
|
160
|
+
}
|
|
161
|
+
function pipeline(tickets, reviews, show) {
|
|
162
|
+
return `<div class="pipeline" role="group" aria-label="Show tickets at a pipeline stage">${stageCounts2(
|
|
163
|
+
tickets,
|
|
164
|
+
reviews
|
|
165
|
+
).map(
|
|
166
|
+
([k, l, n, attn]) => `<button type="button" class="stage${attn ? " attn" : ""}" data-stage="${k}" data-show="${k}" aria-pressed="${show === k}"><span class="n">${n}</span><span class="l">${esc(l)}</span></button>`
|
|
167
|
+
).join("")}</div>`;
|
|
168
|
+
}
|
|
169
|
+
function boardHead2(D, show) {
|
|
170
|
+
if (!D.rounds.length)
|
|
171
|
+
return empty(
|
|
172
|
+
"No rounds yet",
|
|
173
|
+
"Rounds appear here once a persona run is submitted to the board."
|
|
174
|
+
);
|
|
175
|
+
if (!D.selected.length)
|
|
176
|
+
return empty("No rounds selected", "Pick rounds above, or choose All rounds.");
|
|
177
|
+
if (D.selected.length === 1)
|
|
178
|
+
return roundHead({ ...D.byId.get(D.selected[0]), ...D.details.get(D.selected[0]) }, D, show);
|
|
179
|
+
const v = latestVerdicts2(D.reviews);
|
|
180
|
+
const per = D.selected.map((id) => D.byId.get(id));
|
|
181
|
+
const span = per.map(roundDate2).sort();
|
|
182
|
+
const open = D.items.filter(
|
|
183
|
+
(a) => a.status === "open" && D.selected.includes(a.round_id)
|
|
184
|
+
).length;
|
|
185
|
+
const rows = per.map((r) => {
|
|
186
|
+
const ts = D.tickets.filter((t) => t.round_id === r.id);
|
|
187
|
+
const n = (k) => ts.filter((t) => SHOWS2.find(([x]) => x === k)[2](t, v.get(t.id))).length;
|
|
188
|
+
const dec = D.items.filter((a) => a.status === "open" && a.round_id === r.id).length;
|
|
189
|
+
return `<tr>
|
|
190
|
+
<td><a href="${roundLink(r)}">${esc(r.title)}</a>${r.is_test ? ` ${chip("test")}` : ""}</td>
|
|
191
|
+
<td><span class="status ${esc(r.status)}">${esc(r.status)}</span></td>
|
|
192
|
+
<td class="num">${ts.length}</td><td class="num">${n("fixed")}</td><td class="num">${n("picked")}</td>
|
|
193
|
+
<td class="num">${n("review") ? `<span class="tone-wait">${n("review")}</span>` : "0"}</td>
|
|
194
|
+
<td class="num">${dec ? `<a class="chip pending" href="#/decisions">${dec}</a>` : "0"}</td>
|
|
195
|
+
<td class="muted">${esc(shortDate(roundDate2(r)))}</td>
|
|
196
|
+
</tr>`;
|
|
197
|
+
}).join("");
|
|
198
|
+
return `
|
|
199
|
+
<div class="round-title">
|
|
200
|
+
<span class="name">${D.selected.length} rounds</span>
|
|
201
|
+
${open ? `<a class="chip pending" href="#/decisions">${open} open decision${open === 1 ? "" : "s"}</a>` : ""}
|
|
202
|
+
<span class="muted">${D.tickets.length} tickets \xB7 ${esc(shortDate(span[0]))} \u2013 ${esc(shortDate(span[span.length - 1]))}</span>
|
|
203
|
+
</div>
|
|
204
|
+
${pipeline(D.tickets, D.reviews, show)}
|
|
205
|
+
<details class="per-round"${per.length <= 8 ? " open" : ""}>
|
|
206
|
+
<summary>Per-round summary</summary>
|
|
207
|
+
<div class="table-wrap"><table class="summary">
|
|
208
|
+
<thead><tr><th>Round</th><th>Status</th><th class="num">Tickets</th><th class="num">Fixed</th><th class="num">Picked</th><th class="num">Need review</th><th class="num">Open decisions</th><th>Started</th></tr></thead>
|
|
209
|
+
<tbody>${rows}</tbody>
|
|
210
|
+
</table></div>
|
|
211
|
+
</details>`;
|
|
212
|
+
}
|
|
213
|
+
function roundHead(r, D, show) {
|
|
214
|
+
const reviews = D.reviews.filter((x) => x.round_id === r.id);
|
|
215
|
+
const tickets = D.tickets.filter((t) => t.round_id === r.id);
|
|
216
|
+
const verdicts = reviews.filter((v) => v.ticket_id == null);
|
|
217
|
+
const open = D.items.filter((a) => a.status === "open" && a.round_id === r.id).length;
|
|
218
|
+
const branch = r.round_branch;
|
|
219
|
+
return `
|
|
220
|
+
<div class="round-title">
|
|
221
|
+
<span class="name">${esc(r.title)}</span>
|
|
222
|
+
<span class="status ${esc(r.status)}">${esc(r.status)}</span>
|
|
223
|
+
${r.is_test ? chip("test") : ""}
|
|
224
|
+
${open ? `<a class="chip pending" href="#/decisions">${open} open decision${open === 1 ? "" : "s"}</a>` : ""}
|
|
225
|
+
</div>
|
|
226
|
+
${r.brief ? `<details class="brief"><summary>What the personas were told this round</summary><div class="brief-text md">${md(r.brief)}</div></details>` : ""}
|
|
227
|
+
<div class="round-meta">
|
|
228
|
+
<span>Run <b class="mono">${esc(r.slug)}</b></span>
|
|
229
|
+
<span>Started <b>${esc(fmtDate2(roundDate2(r)))}</b></span>
|
|
230
|
+
${r.base_sha ? `<span>Base <b class="mono">${esc(String(r.base_sha).slice(0, 9))}</b></span>` : ""}
|
|
231
|
+
${branch ? `<span>Round branch <a href="${esc(branchUrl("frontend", branch))}" target="_blank" rel="noopener"><b class="mono">${esc(branch)}</b></a></span>` : ""}
|
|
232
|
+
<span>Synced <b>${esc(fmtDate2(r.updated_at))}</b></span>
|
|
233
|
+
<span>By <b>${esc(r.created_by)}</b></span>
|
|
234
|
+
</div>
|
|
235
|
+
${pipeline(tickets, reviews, show)}
|
|
236
|
+
${(r.prs || []).length ? `<div class="prs">${r.prs.map(prPill).join("")}</div>` : ""}
|
|
237
|
+
${verdicts.length ? `<div class="verdicts">${verdicts.map((v) => `<div>${chip(`round: ${VERDICT_LABEL2[v.verdict] ?? v.verdict}`, VERDICT_LABEL2[v.verdict])} ${inline(v.notes)} <span class="muted">\xB7 ${esc(v.reviewer)} \xB7 ${esc(fmtDate2(v.created_at))}</span></div>`).join("")}</div>` : ""}`;
|
|
238
|
+
}
|
|
239
|
+
function filtersBar2(f) {
|
|
240
|
+
const opt = (v, l, cur) => `<option value="${esc(v)}"${v === cur ? " selected" : ""}>${esc(l)}</option>`;
|
|
241
|
+
return `<section class="filters" aria-label="Filter tickets" id="filters">
|
|
242
|
+
<input type="search" id="q" placeholder="Search title, persona, round, cause\u2026" aria-label="Search tickets" value="${esc(f.q)}">
|
|
243
|
+
<select id="f-show" aria-label="Show">${SHOWS2.map(([v, l]) => opt(v, l, f.show)).join("")}</select>
|
|
244
|
+
<select id="f-lane" aria-label="Lane">${opt("", "Frontend and backend", f.lane)}${opt("frontend", "Frontend", f.lane)}${opt("backend", "Backend", f.lane)}</select>
|
|
245
|
+
<select id="f-sev" aria-label="Severity">${opt("", "Any severity", f.sev)}${Object.keys(
|
|
246
|
+
SEV_ORDER2
|
|
247
|
+
).map((s) => opt(s, s[0].toUpperCase() + s.slice(1), f.sev)).join("")}</select>
|
|
248
|
+
</section>
|
|
249
|
+
<section class="ledger" aria-label="Tickets">
|
|
250
|
+
<div class="ledger-head">
|
|
251
|
+
<h2 id="ledger-count">Tickets</h2>
|
|
252
|
+
<div class="legend">
|
|
253
|
+
<span>Triage: fix \xB7 duplicate \xB7 design \xB7 answer \xB7 blocked \xB7 not-a-bug \xB7 backend</span>
|
|
254
|
+
<span>Review: picked \xB7 reworked \xB7 rejected \xB7 combined</span>
|
|
255
|
+
</div>
|
|
256
|
+
</div>
|
|
257
|
+
<div id="tickets"></div>
|
|
258
|
+
</section>`;
|
|
259
|
+
}
|
|
260
|
+
const MAX_ROWS = 400;
|
|
261
|
+
function ticketList2(D, f, ctx) {
|
|
262
|
+
if (!D.selected.length)
|
|
263
|
+
return {
|
|
264
|
+
count: "Tickets",
|
|
265
|
+
html: empty("No rounds selected", "Pick rounds above, or choose All rounds.")
|
|
266
|
+
};
|
|
267
|
+
const all = D.tickets;
|
|
268
|
+
const multi = D.selected.length > 1;
|
|
269
|
+
const roundText = (t) => {
|
|
270
|
+
const r = D.byId.get(t.round_id);
|
|
271
|
+
return r ? `${r.title} ${r.slug}` : "";
|
|
272
|
+
};
|
|
273
|
+
const shown = filterTickets2(all, D.reviews, f, roundText);
|
|
274
|
+
const count = `Tickets \xB7 ${shown.length} of ${all.length}${multi ? ` in ${D.selected.length} rounds` : ""}`;
|
|
275
|
+
if (!all.length)
|
|
276
|
+
return {
|
|
277
|
+
count,
|
|
278
|
+
html: empty("No tickets yet", "Testers file them the moment something goes wrong.")
|
|
279
|
+
};
|
|
280
|
+
if (!shown.length)
|
|
281
|
+
return { count, html: empty("No tickets match", "Clear a filter or the search to see more.") };
|
|
282
|
+
const v = latestVerdicts2(D.reviews);
|
|
283
|
+
const rows = shown.slice(0, ctx.limit ?? MAX_ROWS).map((t) => ticketHtml(t, D, v.get(t.id), ctx, multi)).join("");
|
|
284
|
+
const more = shown.length > (ctx.limit ?? MAX_ROWS) ? `<div class="more"><button type="button" class="btn" data-act="more">Show ${shown.length - (ctx.limit ?? MAX_ROWS)} more</button></div>` : "";
|
|
285
|
+
return { count, html: rows + more };
|
|
286
|
+
}
|
|
287
|
+
function ticketLabel2(t) {
|
|
288
|
+
const domain = t.context?.deployment;
|
|
289
|
+
return t.kind === "support" && t.context?.source === "human_support" && typeof domain === "string" && /^[a-z0-9][a-z0-9.-]*$/.test(domain) ? `${domain.split(".")[0]}-${t.id}` : t.key;
|
|
290
|
+
}
|
|
291
|
+
function ticketHtml(t, D, verdict, ctx, multi) {
|
|
292
|
+
const [st, stClass] = stateLabel2(t);
|
|
293
|
+
const vl = verdict && (VERDICT_LABEL2[verdict.verdict] ?? verdict.verdict);
|
|
294
|
+
const isOpen = ctx.open.has(t.id);
|
|
295
|
+
return `<details class="t${ctx.target === t.id ? " target" : ""}" id="ticket-${t.id}" data-ticket="${t.id}" data-sev="${esc(t.severity)}"${isOpen ? " open" : ""}>
|
|
296
|
+
<summary>
|
|
297
|
+
<span class="sev" data-sev="${esc(t.severity)}">${esc(t.severity)}</span>
|
|
298
|
+
<span class="title"><span class="who">${esc(t.persona_name || t.persona)} \xB7 <span class="mono">${esc(ticketLabel2(t))}</span>${t.kind ? ` \xB7 ${esc(t.kind)}` : ""}</span><span class="what">${esc(t.title)}</span></span>
|
|
299
|
+
<span class="chips">
|
|
300
|
+
${multi ? roundChip2(D.byId.get(t.round_id)) : ""}
|
|
301
|
+
${t.lane === "backend" ? chip("backend", "backend") : ""}
|
|
302
|
+
${chip(st, stClass)}
|
|
303
|
+
${vl ? chip(vl, vl) : ""}
|
|
304
|
+
</span>
|
|
305
|
+
</summary>
|
|
306
|
+
${isOpen ? ticketDetail2(D.fullTickets.get(t.id) ?? t, D) : ""}
|
|
307
|
+
</details>`;
|
|
308
|
+
}
|
|
309
|
+
function ticketDetail2(t, D) {
|
|
310
|
+
const ev = t.evidence || {};
|
|
311
|
+
const c = t.context || {};
|
|
312
|
+
const r = D.byId.get(t.round_id) || { id: t.round_id, prs: [] };
|
|
313
|
+
const verdicts = D.reviews.filter((x) => x.ticket_id === t.id);
|
|
314
|
+
const items = D.items.filter((a) => (a.ticket_ids || []).includes(t.id));
|
|
315
|
+
const repo = REPO[t.lane] ?? REPO.frontend;
|
|
316
|
+
const prs = (r.prs || []).filter((p) => repoName(p) === repo);
|
|
317
|
+
const shot = ev.shot_marked || ev.shot;
|
|
318
|
+
const other = ev.shot_marked && ev.shot ? ev.shot : null;
|
|
319
|
+
const detailText = c.detail || (!c.expected ? t.body : "");
|
|
320
|
+
const partial = t.console === void 0;
|
|
321
|
+
const loading = '<span class="muted">Loading\u2026</span>';
|
|
322
|
+
const consoleN = partial ? t.console_count : t.console.length;
|
|
323
|
+
const networkN = partial ? t.network_count : t.network.length;
|
|
324
|
+
const rows = [
|
|
325
|
+
D.selected.length > 1 && ["Round", roundChip2(r)],
|
|
326
|
+
shot && [
|
|
327
|
+
"Screenshot",
|
|
328
|
+
`<div class="shots"><a href="${esc(fileUrl2(shot))}" target="_blank" rel="noopener"><img class="shot" loading="lazy" src="${esc(fileUrl2(shot))}" alt="What ${esc(t.persona_name || t.persona)} saw: ${esc(t.title)}"></a></div>${other ? `<a class="shot-alt" href="${esc(fileUrl2(other))}" target="_blank" rel="noopener">Without the markup</a>` : ""}`
|
|
329
|
+
],
|
|
330
|
+
ev.video && [
|
|
331
|
+
"Recording",
|
|
332
|
+
`<div data-video="${esc(ev.video)}" data-t="${Math.max(0, Number(ev.video_t || 0) - 5)}"><button type="button" class="linkish" data-act="ticket-video">Watch from ${fmtSecs2(Math.max(0, Number(ev.video_t || 0) - 5))}</button></div>`
|
|
333
|
+
],
|
|
334
|
+
ev.support_video_transcript && [
|
|
335
|
+
"Video transcript",
|
|
336
|
+
`<div class="md">${md(ev.support_video_transcript)}</div>`
|
|
337
|
+
],
|
|
338
|
+
detailText && ["What happened", `<div class="md">${md(detailText)}</div>`],
|
|
339
|
+
c.expected && ["Expected", `<div class="md">${md(c.expected)}</div>`],
|
|
340
|
+
c.task && ["Their task", esc(c.task)],
|
|
341
|
+
(c.url || c.device) && [
|
|
342
|
+
"Where",
|
|
343
|
+
`<span class="mono">${esc([c.device, c.viewport && c.viewport.width ? `${c.viewport.width}\xD7${c.viewport.height}` : "", c.url].filter(Boolean).join(" \xB7 "))}</span>`
|
|
344
|
+
],
|
|
345
|
+
[
|
|
346
|
+
"Triage",
|
|
347
|
+
t.triage_decision ? `<b>${esc(t.triage_decision)}</b>${t.duplicate_of ? ` of <span class="mono">${esc(t.duplicate_of)}</span>` : ""}${t.triage_reason ? `<div class="md">${md(t.triage_reason)}</div>` : ""}` : '<span class="muted">Not triaged yet</span>'
|
|
348
|
+
],
|
|
349
|
+
items.length && [
|
|
350
|
+
"Decision",
|
|
351
|
+
items.map(
|
|
352
|
+
(a) => `<div><a href="#/decisions">${esc(a.question)}</a> ${chip(a.status, a.status === "open" ? "pending" : "picked")}${a.status === "answered" ? ` <span class="muted">\u2192 ${esc([a.answer_option, a.answer].filter(Boolean).join(": "))}</span>` : ""}</div>`
|
|
353
|
+
).join("")
|
|
354
|
+
],
|
|
355
|
+
(t.claimed_by || t.fix_status || t.commits?.length) && [
|
|
356
|
+
"Fixer",
|
|
357
|
+
`${esc(t.fix_status || (t.status === "claimed" ? "working on it" : ""))}${t.claimed_by ? ` <span class="muted">\xB7 ${esc(t.claimed_by)}${t.attempts > 1 ? ` \xB7 attempt ${t.attempts}` : ""}</span>` : ""}${(t.commits || []).map((x) => `<br><span class="mono">${esc(x)}</span>`).join("")}`
|
|
358
|
+
],
|
|
359
|
+
t.fixer_branch && [
|
|
360
|
+
"Branch",
|
|
361
|
+
`<a class="mono" href="${esc(branchUrl(t.lane, t.fixer_branch, t.context?.repository_slug))}" target="_blank" rel="noopener">${esc(t.fixer_branch)}</a>`
|
|
362
|
+
],
|
|
363
|
+
(t.files || []).length && [
|
|
364
|
+
"Files",
|
|
365
|
+
`<ul class="files mono">${t.files.map((f) => `<li>${esc(f)}</li>`).join("")}</ul>`
|
|
366
|
+
],
|
|
367
|
+
(t.fix_report || partial && t.has_fix_report) && [
|
|
368
|
+
"Fix report",
|
|
369
|
+
partial ? loading : `<details><summary>Read the fixer's report</summary><div class="md">${md(t.fix_report)}</div></details>`
|
|
370
|
+
],
|
|
371
|
+
(t.handoff || partial && t.has_handoff) && [
|
|
372
|
+
"Handoff",
|
|
373
|
+
partial ? loading : `<details><summary>Frontend fixer's diagnosis (handed to backend)</summary><div class="md">${md(t.handoff)}</div></details>`
|
|
374
|
+
],
|
|
375
|
+
prs.length && picked(verdicts) && ["PR", `<div class="prs">${prs.map(prPill).join("")}</div>`],
|
|
376
|
+
(verdicts.length || t.status === "fixed") && [
|
|
377
|
+
"Review",
|
|
378
|
+
`${verdicts.map(
|
|
379
|
+
(x) => `<div><b>${esc(VERDICT_LABEL2[x.verdict] ?? x.verdict)}</b>${x.notes ? ` \xB7 ${inline(x.notes)}` : ""} <span class="muted">\xB7 ${esc(x.reviewer)} \xB7 ${esc(fmtDate2(x.created_at))}</span></div>`
|
|
380
|
+
).join(
|
|
381
|
+
""
|
|
382
|
+
)}${t.status === "fixed" ? verdictButtons(t.round_id, t.id, verdicts.length ? "Change verdict" : "Record a verdict") : ""}`
|
|
383
|
+
],
|
|
384
|
+
consoleN > 0 && [
|
|
385
|
+
"Console",
|
|
386
|
+
partial ? loading : `<details><summary>${consoleN} message${consoleN === 1 ? "" : "s"} near the issue</summary><pre class="log">${esc(t.console.map((x) => `[${x.type} @${x.t}s] ${x.text}`).join("\n"))}</pre></details>`
|
|
387
|
+
],
|
|
388
|
+
networkN > 0 && [
|
|
389
|
+
"Network",
|
|
390
|
+
partial ? loading : `<details><summary>${networkN} failed request${networkN === 1 ? "" : "s"}</summary><pre class="log">${esc(t.network.map((x) => `@${x.t}s ${x.method} ${x.url} \u2192 ${x.status ?? x.failure}`).join("\n"))}</pre></details>`
|
|
391
|
+
],
|
|
392
|
+
[
|
|
393
|
+
"Link",
|
|
394
|
+
`<a class="mono" href="#/rounds/${t.round_id}/tickets/${t.id}">#/rounds/${t.round_id}/tickets/${t.id}</a> <span class="muted">\xB7 filed ${esc(fmtDate2(t.created_at))}</span>`
|
|
395
|
+
]
|
|
396
|
+
].filter(Boolean);
|
|
397
|
+
return `<div class="detail"><dl>${rows.map(([k, v]) => `<dt>${esc(k)}</dt><dd>${v}</dd>`).join("")}</dl></div>`;
|
|
398
|
+
}
|
|
399
|
+
const picked = (verdicts) => {
|
|
400
|
+
const last = verdicts[verdicts.length - 1];
|
|
401
|
+
return last && (last.verdict === "merge" || last.verdict === "combine");
|
|
402
|
+
};
|
|
403
|
+
const verdictButtons = (roundId, ticketId, label) => `<div class="actions" style="margin-top:6px"><span class="muted">${esc(label)}:</span>${[
|
|
404
|
+
"merge",
|
|
405
|
+
"rework",
|
|
406
|
+
"reject"
|
|
407
|
+
].map(
|
|
408
|
+
(v) => `<button type="button" class="btn small" data-verdict="${v}" data-round="${roundId}" data-ticket="${ticketId}">${v}</button>`
|
|
409
|
+
).join("")}</div>`;
|
|
410
|
+
function peopleView2(D, ctx) {
|
|
411
|
+
if (!D.selected.length)
|
|
412
|
+
return empty("No rounds selected", "Pick rounds above, or choose All rounds.");
|
|
413
|
+
const issues = {};
|
|
414
|
+
for (const t of D.tickets)
|
|
415
|
+
issues[`${t.round_id}:${t.persona}`] = (issues[`${t.round_id}:${t.persona}`] || 0) + 1;
|
|
416
|
+
const multi = D.selected.length > 1;
|
|
417
|
+
const sections = D.selected.map((id) => {
|
|
418
|
+
const r = { ...D.byId.get(id), ...D.details.get(id) };
|
|
419
|
+
const full = D.full.get(id);
|
|
420
|
+
const ps = (r.personas || []).map((p) => ({
|
|
421
|
+
...p,
|
|
422
|
+
...(full?.personas || []).find((x) => x.id === p.id)
|
|
423
|
+
}));
|
|
424
|
+
if (!ps.length) return "";
|
|
425
|
+
const cards = ps.slice().sort((a, b) => String(a.name || a.id).localeCompare(String(b.name || b.id))).map((p) => personHtml(r, p, issues[`${id}:${p.id}`] || 0, ctx, !!full)).join("");
|
|
426
|
+
return multi ? `<section class="round-group"><h2 class="group-title">${roundChip2(r)} <span class="muted">${ps.length} persona${ps.length === 1 ? "" : "s"} \xB7 ${esc(shortDate(roundDate2(r)))}</span></h2><div class="people">${cards}</div></section>` : `<div class="people">${cards}</div>`;
|
|
427
|
+
}).filter(Boolean);
|
|
428
|
+
return sections.join("") || empty(
|
|
429
|
+
"No persona briefs for these rounds",
|
|
430
|
+
"They appear once a round publishes its personas."
|
|
431
|
+
);
|
|
432
|
+
}
|
|
433
|
+
function personHtml(r, p, issues, ctx, haveFull) {
|
|
434
|
+
const key = `${r.id}:${p.id}`;
|
|
435
|
+
const recOpen = ctx.openPersonas.has(key);
|
|
436
|
+
const reportOpen = ctx.openReports?.has(key);
|
|
437
|
+
const tasks = p.tasks || [];
|
|
438
|
+
const done = tasks.filter((t) => t.outcome === "success").length;
|
|
439
|
+
const narration = p.narration || [];
|
|
440
|
+
const captions = narration.length || p.narration_lines;
|
|
441
|
+
const joins = p.joins && p.joins !== "None" ? p.joins : "";
|
|
442
|
+
const features = String(p.features || "").replace(/^\[|\]$/g, "");
|
|
443
|
+
const vid = `v-${r.id}-${p.id}`;
|
|
444
|
+
const loading = '<p class="muted">Loading\u2026</p>';
|
|
445
|
+
return `<article class="person${recOpen ? " wide" : ""}" data-persona="${esc(key)}">
|
|
446
|
+
<div class="name">${esc(p.name || p.id)}</div>
|
|
447
|
+
<div class="meta">${esc(p.device || "desktop")}${features ? ` \xB7 ${esc(features)}` : ""}${joins ? ` \xB7 joins ${esc(joins)}` : ""}</div>
|
|
448
|
+
<div class="nums">
|
|
449
|
+
<button type="button" class="chip linkish" data-act="persona-issues" data-round="${r.id}" data-name="${esc(p.name || p.id)}">${issues} issue${issues === 1 ? "" : "s"}</button>
|
|
450
|
+
${tasks.length ? chip(`${done}/${tasks.length} tasks done`) : ""}
|
|
451
|
+
${p.ease ? chip(`ease ${p.ease}/7`) : ""}
|
|
452
|
+
${p.recommend ? chip(`recommend ${p.recommend}/10`) : ""}
|
|
453
|
+
</div>
|
|
454
|
+
${p.who ? `<div class="md muted">${md(p.who)}</div>` : ""}
|
|
455
|
+
<h3>Goals</h3><div class="md">${p.goals ? md(p.goals) : "\u2014"}</div>
|
|
456
|
+
${p.recheck ? `<details><summary>Re-check from last round</summary><div class="md">${md(p.recheck)}</div></details>` : ""}
|
|
457
|
+
${tasks.length ? `<details><summary>How each task went</summary><ul class="outcomes">${tasks.map((t) => `<li><span class="oc" data-oc="${esc(t.outcome)}">${esc(t.outcome || "\u2014")}</span><span>${esc(t.task)}${t.note ? ` <span class="muted">\xB7 ${inline(t.note)}</span>` : ""}</span></li>`).join("")}</ul></details>` : ""}
|
|
458
|
+
${p.video_key ? `<details class="recording" data-persona="${esc(key)}" data-round="${r.id}"${recOpen ? " open" : ""}><summary>Watch the recording${captions ? " with captions" : ""}</summary>${!recOpen ? "" : !haveFull && captions ? loading : `<div class="player"><video id="${esc(vid)}" data-persona="${esc(key)}" controls preload="metadata" src="${esc(fileUrl2(p.video_key))}"></video>${narration.length ? `<ol class="timeline" aria-label="What ${esc(p.name || p.id)} said">${narration.map(
|
|
459
|
+
(n) => `<li data-t="${Number(n.t)}"${/^⚠/.test(n.text) ? ' class="issue"' : ""}><button type="button" data-seek="${esc(vid)}" data-t="${Number(n.t)}">${fmtSecs2(n.t)}</button><span>${esc(n.text)}</span></li>`
|
|
460
|
+
).join("")}</ol>` : ""}</div>`}</details>` : ""}
|
|
461
|
+
${p.report || p.has_report ? `<details class="report" data-persona="${esc(key)}" data-round="${r.id}"${reportOpen ? " open" : ""}><summary>Their report</summary>${p.report ? `<div class="md">${md(p.report)}</div>` : reportOpen ? loading : ""}</details>` : ""}
|
|
462
|
+
</article>`;
|
|
463
|
+
}
|
|
464
|
+
function narrationVtt2(narration = []) {
|
|
465
|
+
const ts = (s) => {
|
|
466
|
+
const ms = Math.max(0, Math.round(Number(s) * 1e3));
|
|
467
|
+
const h = Math.floor(ms / 36e5);
|
|
468
|
+
const m = Math.floor(ms % 36e5 / 6e4);
|
|
469
|
+
const sec = Math.floor(ms % 6e4 / 1e3);
|
|
470
|
+
return `${String(h).padStart(2, "0")}:${String(m).padStart(2, "0")}:${String(sec).padStart(2, "0")}.${String(ms % 1e3).padStart(3, "0")}`;
|
|
471
|
+
};
|
|
472
|
+
const cueText = (s) => String(s).replace(/-->/g, "\u2192").replace(/\n+/g, " ").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
473
|
+
return `WEBVTT
|
|
474
|
+
|
|
475
|
+
${narration.map((n, i) => {
|
|
476
|
+
const next = narration[i + 1]?.t;
|
|
477
|
+
const end = Math.min(Number(n.t) + 8, next != null && next > n.t ? next : Number(n.t) + 8);
|
|
478
|
+
return `${ts(n.t)} --> ${ts(end)}
|
|
479
|
+
${cueText(n.text)}
|
|
480
|
+
`;
|
|
481
|
+
}).join("\n")}`;
|
|
482
|
+
}
|
|
483
|
+
function decisionsView2(D, ctx) {
|
|
484
|
+
const inView = new Set(D.selected);
|
|
485
|
+
const live = D.items.filter(
|
|
486
|
+
(a) => a.status !== "withdrawn" && (a.round_id == null || inView.has(a.round_id))
|
|
487
|
+
);
|
|
488
|
+
if (!live.length)
|
|
489
|
+
return empty(
|
|
490
|
+
"Nothing waiting on you",
|
|
491
|
+
"Product questions from the rounds land here with the evidence and a recommendation."
|
|
492
|
+
);
|
|
493
|
+
const open = live.filter((a) => a.status === "open").sort((a, b) => (b.round_id ?? 0) - (a.round_id ?? 0) || a.id - b.id);
|
|
494
|
+
const answered = live.filter((a) => a.status === "answered").sort((a, b) => String(b.answered_at).localeCompare(String(a.answered_at))).slice(0, 50);
|
|
495
|
+
const keys = new Map(D.tickets.map((t) => [t.id, ticketLabel2(t)]));
|
|
496
|
+
const c = { ...ctx, byId: D.byId, keys };
|
|
497
|
+
return `<p class="muted" style="margin:0">Product, design and policy calls agents don't make. The tickets behind a question wait until it is answered; listening agents pick the answer up at once and record it as a standing decision.</p>
|
|
498
|
+
<div class="section-title"><h2>Open \xB7 ${open.length}</h2></div>
|
|
499
|
+
<div class="decisions">${open.map((a) => decHtml(a, c)).join("") || empty("Nothing open", "Every question has an answer.")}</div>
|
|
500
|
+
${answered.length ? `<div class="section-title"><h2>Answered \xB7 ${answered.length}</h2></div><div class="decisions">${answered.map((a) => decHtml(a, c)).join("")}</div>` : ""}`;
|
|
501
|
+
}
|
|
502
|
+
function decHtml(a, ctx) {
|
|
503
|
+
const round = ctx.byId.get(a.round_id);
|
|
504
|
+
const answered = a.status === "answered";
|
|
505
|
+
const editing = !answered || ctx.editing.has(a.id);
|
|
506
|
+
const draft = ctx.drafts[a.id] || {};
|
|
507
|
+
const evidence = a.evidence || [];
|
|
508
|
+
const keys = evidence.filter((e) => EVIDENCE_KEY.test(e));
|
|
509
|
+
const notes = evidence.filter((e) => e && !EVIDENCE_KEY.test(e));
|
|
510
|
+
const chosen = draft.option ?? (answered ? a.answer_option : a.recommendation);
|
|
511
|
+
const isDecision = a.kind === "decision";
|
|
512
|
+
return `<article class="dec" data-status="${answered ? "answered" : "open"}" data-item="${a.id}">
|
|
513
|
+
<div class="dec-head">
|
|
514
|
+
<span class="dec-title">${esc(a.question)}</span>
|
|
515
|
+
<span class="chips">
|
|
516
|
+
${roundChip2(round)}
|
|
517
|
+
${isDecision ? chip("taken by an agent \u2014 overturn?", "reworked") : ""}
|
|
518
|
+
${chip(answered ? "answered" : "open", answered ? "picked" : "pending")}
|
|
519
|
+
</span>
|
|
520
|
+
</div>
|
|
521
|
+
${a.context ? `<div class="dec-q md">${md(a.context)}</div>` : ""}
|
|
522
|
+
${notes.length || keys.length ? `<h3>What the testers hit</h3>${notes.length ? `<ul class="ev">${notes.map((e) => `<li>${inline(e)}</li>`).join("")}</ul>` : ""}${keys.length ? `<div class="shots">${keys.map(
|
|
523
|
+
(k) => /\.(mp4|webm)$/.test(k) ? `<video controls preload="none" src="${esc(fileUrl2(k))}" style="max-width:min(100%,360px)"></video>` : `<a href="${esc(fileUrl2(k))}" target="_blank" rel="noopener"><img class="shot" loading="lazy" src="${esc(fileUrl2(k))}" alt="Evidence for: ${esc(a.question)}"></a>`
|
|
524
|
+
).join("")}</div>` : ""}` : ""}
|
|
525
|
+
${(a.ticket_ids || []).length ? `<div class="muted mono">${a.status === "open" && !isDecision ? "Parks " : ""}${a.ticket_ids.map((id) => `<a href="#/rounds/${a.round_id}/tickets/${id}">${esc(ctx.keys.get(id) || `#${id}`)}</a>`).join(" \xB7 ")}</div>` : ""}
|
|
526
|
+
${a.recommendation ? `<div class="rec"><b>Recommendation:</b> ${inline(a.recommendation)}</div>` : ""}
|
|
527
|
+
${answered ? `<div class="answer"><b>${a.answer_option && a.answer_option === a.recommendation ? "Accepted the recommendation" : "Answer"}</b>${a.answer_option && a.answer_option !== a.recommendation ? `: ${esc(a.answer_option)}` : ""}${a.answer ? `<div class="md">${md(a.answer)}</div>` : ""}<div class="muted" style="font-size:12.5px">${esc(a.answered_by)} \xB7 ${esc(fmtDate2(a.answered_at))}</div></div>` : ""}
|
|
528
|
+
${editing ? `${(a.options || []).length ? `<div class="options" role="radiogroup" aria-label="Options">${a.options.map((o) => `<label><input type="radio" name="opt-${a.id}" value="${esc(o)}"${o === chosen ? " checked" : ""}> <span>${esc(o)}${o === a.recommendation ? ' <span class="chip reworked">recommended</span>' : ""}</span></label>`).join("")}</div>` : ""}
|
|
529
|
+
<label class="muted" style="font-size:13px" for="ans-${a.id}">${(a.options || []).length ? "Your reasoning or a different answer (optional)" : "Your answer"}</label>
|
|
530
|
+
<textarea id="ans-${a.id}" data-act="draft">${esc(draft.text ?? "")}</textarea>
|
|
531
|
+
<div class="actions">
|
|
532
|
+
${isDecision ? `<button type="button" class="btn primary" data-act="agree">Agree</button><button type="button" class="btn" data-act="save">Record my answer</button>` : `${a.recommendation ? '<button type="button" class="btn primary" data-act="accept">Accept recommendation</button>' : ""}<button type="button" class="btn${a.recommendation ? "" : " primary"}" data-act="save">Save my answer</button>`}
|
|
533
|
+
${answered ? '<button type="button" class="btn" data-act="cancel">Cancel</button>' : ""}
|
|
534
|
+
<span class="err" role="status"></span>
|
|
535
|
+
</div>` : '<div class="actions"><button type="button" class="btn" data-act="change">Change answer</button></div>'}
|
|
536
|
+
<div class="muted" style="font-size:12.5px">Raised by ${esc(a.created_by)} \xB7 ${esc(fmtDate2(a.created_at))}</div>
|
|
537
|
+
</article>`;
|
|
538
|
+
}
|
|
539
|
+
const REVIEWING = ["fixing", "reviewing"];
|
|
540
|
+
function reviewView2(D) {
|
|
541
|
+
const rounds = D.selected.map((id) => D.byId.get(id)).filter((r) => REVIEWING.includes(r.status));
|
|
542
|
+
if (!rounds.length)
|
|
543
|
+
return empty(
|
|
544
|
+
"No round is waiting for review",
|
|
545
|
+
"Rounds show up here while their fixes are in or being reviewed."
|
|
546
|
+
);
|
|
547
|
+
const v = latestVerdicts2(D.reviews);
|
|
548
|
+
const pending = rounds.reduce(
|
|
549
|
+
(n, r) => n + D.tickets.filter((t) => t.round_id === r.id && t.status === "fixed" && !v.has(t.id)).length,
|
|
550
|
+
0
|
|
551
|
+
);
|
|
552
|
+
return `<p class="muted" style="margin:0">${pending} fix${pending === 1 ? "" : "es"} without a verdict in ${rounds.length} round${rounds.length === 1 ? "" : "s"}. The senior reviewer records a verdict per fix; you can too.</p>${rounds.map((r) => {
|
|
553
|
+
const fixed = D.tickets.filter((t) => t.round_id === r.id && t.status === "fixed");
|
|
554
|
+
const touched = /* @__PURE__ */ new Map();
|
|
555
|
+
for (const t of fixed)
|
|
556
|
+
for (const f of t.files || []) touched.set(f, [...touched.get(f) || [], ticketLabel2(t)]);
|
|
557
|
+
const overlaps = [...touched].filter(([, keys]) => keys.length > 1);
|
|
558
|
+
const s = r.counts?.by_status || {};
|
|
559
|
+
const open = (s.new || 0) + (s.ready || 0) + (s.claimed || 0);
|
|
560
|
+
return `<section class="ledger" aria-label="${esc(r.title)}">
|
|
561
|
+
<div class="ledger-head">
|
|
562
|
+
<div class="section-title">${roundChip2(r)} <span class="status ${esc(r.status)}">${esc(r.status)}</span></div>
|
|
563
|
+
<span class="legend">${fixed.length} fix${fixed.length === 1 ? "" : "es"} \xB7 ${fixed.filter((t) => !v.has(t.id)).length} without a verdict \xB7 still open: ${open}</span>
|
|
564
|
+
</div>
|
|
565
|
+
${overlaps.length ? `<div class="row"><div><div class="what">Files touched by more than one fix</div><ul class="files mono">${overlaps.map(([f, k]) => `<li>${esc(f)}: ${esc(k.join(", "))}</li>`).join("")}</ul></div></div>` : ""}
|
|
566
|
+
<div class="rows">${fixed.sort(
|
|
567
|
+
(a, b) => (v.has(a.id) ? 1 : 0) - (v.has(b.id) ? 1 : 0) || SEV_ORDER2[a.severity] - SEV_ORDER2[b.severity]
|
|
568
|
+
).map((t) => {
|
|
569
|
+
const last = v.get(t.id);
|
|
570
|
+
const label = last && (VERDICT_LABEL2[last.verdict] ?? last.verdict);
|
|
571
|
+
return `<div class="row review" data-sev="${esc(t.severity)}">
|
|
572
|
+
<span class="sev" data-sev="${esc(t.severity)}">${esc(t.severity)}</span>
|
|
573
|
+
<div style="min-width:0"><a class="what" href="#/rounds/${r.id}/tickets/${t.id}">${esc(t.title)}</a>
|
|
574
|
+
<div class="sub mono">${esc(ticketLabel2(t))}${t.fixer_branch ? ` \xB7 ${esc(t.fixer_branch)}` : ""}${(t.files || []).length ? ` \xB7 ${esc(t.files.join(", "))}` : ""}</div></div>
|
|
575
|
+
<div class="chips">${label ? chip(label, label) : ""}${["merge", "rework", "reject"].map((x) => `<button type="button" class="btn small" data-verdict="${x}" data-round="${r.id}" data-ticket="${t.id}">${x}</button>`).join("")}</div>
|
|
576
|
+
</div>`;
|
|
577
|
+
}).join("") || empty("No fixes yet", "Fixed tickets land here for a verdict.")}</div>
|
|
578
|
+
</section>`;
|
|
579
|
+
}).join("")}`;
|
|
580
|
+
}
|
|
581
|
+
function roundsView2(rounds, selected = []) {
|
|
582
|
+
if (!rounds.length)
|
|
583
|
+
return empty("No rounds yet", "Testers create one with npm run personas:board -- submit.");
|
|
584
|
+
const inView = new Set(selected);
|
|
585
|
+
return `<section class="ledger" aria-label="All rounds">
|
|
586
|
+
<div class="ledger-head"><h2>All rounds \xB7 ${rounds.length}</h2><span class="legend">Every persona round: what testers found, what fixers did, and what the reviewer decided.</span></div>
|
|
587
|
+
<div class="rows">${rounds.map((r) => {
|
|
588
|
+
const c = r.counts || { total: 0, by_status: {}, open_action_items: 0 };
|
|
589
|
+
return `<div class="row${inView.has(r.id) ? " in-view" : ""}">
|
|
590
|
+
<div style="min-width:0"><a class="what" href="${roundLink(r)}">${esc(r.title)}</a>${r.is_test ? ` ${chip("test")}` : ""}
|
|
591
|
+
<div class="sub"><span class="mono">${esc(r.slug)}</span> \xB7 ${esc(fmtDate2(roundDate2(r)))}</div></div>
|
|
592
|
+
<div class="chips">
|
|
593
|
+
<span class="status ${esc(r.status)}">${esc(r.status)}</span>
|
|
594
|
+
${chip(`${c.total} ticket${c.total === 1 ? "" : "s"}`)}
|
|
595
|
+
${["claimed", "ready", "fixed", "failed", "parked"].filter((k) => c.by_status[k]).map((k) => chip(`${k} ${c.by_status[k]}`, k === "claimed" ? "fixing" : k)).join("")}
|
|
596
|
+
${c.open_action_items ? `<a class="chip pending" href="#/decisions">${c.open_action_items} open</a>` : ""}
|
|
597
|
+
${(r.prs || []).map(prPill).join("")}
|
|
598
|
+
</div>
|
|
599
|
+
</div>`;
|
|
600
|
+
}).join("")}</div>
|
|
601
|
+
</section>`;
|
|
602
|
+
}
|
|
603
|
+
return {
|
|
604
|
+
API: API2,
|
|
605
|
+
SEV_ORDER: SEV_ORDER2,
|
|
606
|
+
fileUrl: fileUrl2,
|
|
607
|
+
fmtDate: fmtDate2,
|
|
608
|
+
fmtSecs: fmtSecs2,
|
|
609
|
+
VERDICT_LABEL: VERDICT_LABEL2,
|
|
610
|
+
latestVerdicts: latestVerdicts2,
|
|
611
|
+
stateLabel: stateLabel2,
|
|
612
|
+
SHOWS: SHOWS2,
|
|
613
|
+
stageCounts: stageCounts2,
|
|
614
|
+
filterTickets: filterTickets2,
|
|
615
|
+
roundChip: roundChip2,
|
|
616
|
+
roundDate: roundDate2,
|
|
617
|
+
eligibleRounds: eligibleRounds2,
|
|
618
|
+
selectedIds: selectedIds2,
|
|
619
|
+
pickerLabel: pickerLabel2,
|
|
620
|
+
roundPicker: roundPicker2,
|
|
621
|
+
boardHead: boardHead2,
|
|
622
|
+
filtersBar: filtersBar2,
|
|
623
|
+
ticketList: ticketList2,
|
|
624
|
+
ticketLabel: ticketLabel2,
|
|
625
|
+
ticketDetail: ticketDetail2,
|
|
626
|
+
peopleView: peopleView2,
|
|
627
|
+
narrationVtt: narrationVtt2,
|
|
628
|
+
decisionsView: decisionsView2,
|
|
629
|
+
reviewView: reviewView2,
|
|
630
|
+
roundsView: roundsView2
|
|
631
|
+
};
|
|
632
|
+
}
|
|
633
|
+
const {
|
|
634
|
+
API,
|
|
635
|
+
SEV_ORDER,
|
|
636
|
+
fileUrl,
|
|
637
|
+
fmtDate,
|
|
638
|
+
fmtSecs,
|
|
639
|
+
VERDICT_LABEL,
|
|
640
|
+
latestVerdicts,
|
|
641
|
+
stateLabel,
|
|
642
|
+
SHOWS,
|
|
643
|
+
stageCounts,
|
|
644
|
+
filterTickets,
|
|
645
|
+
roundChip,
|
|
646
|
+
roundDate,
|
|
647
|
+
eligibleRounds,
|
|
648
|
+
selectedIds,
|
|
649
|
+
pickerLabel,
|
|
650
|
+
roundPicker,
|
|
651
|
+
boardHead,
|
|
652
|
+
filtersBar,
|
|
653
|
+
ticketList,
|
|
654
|
+
ticketLabel,
|
|
655
|
+
ticketDetail,
|
|
656
|
+
peopleView,
|
|
657
|
+
narrationVtt,
|
|
658
|
+
decisionsView,
|
|
659
|
+
reviewView,
|
|
660
|
+
roundsView
|
|
661
|
+
} = createViews();
|
|
662
|
+
export {
|
|
663
|
+
API,
|
|
664
|
+
SEV_ORDER,
|
|
665
|
+
SHOWS,
|
|
666
|
+
VERDICT_LABEL,
|
|
667
|
+
boardHead,
|
|
668
|
+
createViews,
|
|
669
|
+
decisionsView,
|
|
670
|
+
eligibleRounds,
|
|
671
|
+
fileUrl,
|
|
672
|
+
filterTickets,
|
|
673
|
+
filtersBar,
|
|
674
|
+
fmtDate,
|
|
675
|
+
fmtSecs,
|
|
676
|
+
latestVerdicts,
|
|
677
|
+
narrationVtt,
|
|
678
|
+
peopleView,
|
|
679
|
+
pickerLabel,
|
|
680
|
+
reviewView,
|
|
681
|
+
roundChip,
|
|
682
|
+
roundDate,
|
|
683
|
+
roundPicker,
|
|
684
|
+
roundsView,
|
|
685
|
+
selectedIds,
|
|
686
|
+
stageCounts,
|
|
687
|
+
stateLabel,
|
|
688
|
+
ticketDetail,
|
|
689
|
+
ticketLabel,
|
|
690
|
+
ticketList
|
|
691
|
+
};
|
|
692
|
+
//# sourceMappingURL=views.js.map
|