@parallelworks/tandem-web 0.173.0 → 0.175.0
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/_virtual/_virtual_i18n/en/common.js +3 -0
- package/_virtual/_virtual_i18n/es/common.js +3 -0
- package/_virtual/_virtual_i18n/ja/common.js +3 -0
- package/_virtual/_virtual_i18n/ko/common.js +3 -0
- package/_virtual/_virtual_i18n/zh/common.js +3 -0
- package/components/ActivityTimeline.js +1 -0
- package/components/CommandPalette.js +1 -0
- package/components/DocLinkPicker.js +1 -0
- package/components/FavoritesNav.js +1 -0
- package/components/IssueEvent.js +2 -1
- package/components/IssueFilters.js +1 -0
- package/components/IssueGroup.js +24 -31
- package/components/IssueInsights.js +120 -117
- package/components/IssueRelations.js +2 -0
- package/components/IssueRow.js +1 -0
- package/components/NewIssueDialog.js +2 -0
- package/components/Reports.js +1 -0
- package/components/TeamWorkflow.js +1 -0
- package/components/editorPlugins.js +103 -102
- package/components/icons.js +24 -23
- package/lib/boardMove.js +63 -62
- package/lib/issueList.js +51 -57
- package/lib/issueMenu.js +2 -0
- package/lib/issuePicker.js +1 -0
- package/lib/pagedGroups.js +8 -0
- package/lib/statusGroup.js +14 -0
- package/package.json +1 -1
- package/pages/triage.js +2 -0
- package/routes/_workspace/docs/_doc2.js +2 -0
- package/routes/_workspace/issues/_identifier2.js +3 -1
- package/routes/_workspace/notifications2.js +2 -0
- package/styles.css +9 -0
|
@@ -1,46 +1,48 @@
|
|
|
1
1
|
import { usePeople as e } from "../lib/people.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { statusGroup as t } from "../lib/statusGroup.js";
|
|
3
|
+
import { PriorityIcon as n, StatusIcon as r, usePriorityNames as i } from "./icons.js";
|
|
4
|
+
import { ChartTooltipFrame as a, Select as o, SeriesSwatch as s } from "@parallelworks/ui";
|
|
5
|
+
import { useState as c } from "react";
|
|
6
|
+
import { useFormatter as l, useTranslations as u } from "use-intl";
|
|
7
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
7
8
|
// src/components/IssueInsights.tsx
|
|
8
|
-
var
|
|
9
|
+
var p = [
|
|
9
10
|
"count",
|
|
10
11
|
"estimate",
|
|
11
12
|
"cycle",
|
|
12
13
|
"lead"
|
|
13
|
-
],
|
|
14
|
+
], m = [
|
|
14
15
|
"status",
|
|
15
16
|
"label",
|
|
16
17
|
"assignee",
|
|
17
18
|
"priority",
|
|
18
19
|
"week"
|
|
19
|
-
],
|
|
20
|
+
], h = [
|
|
20
21
|
"triage",
|
|
21
22
|
"backlog",
|
|
22
23
|
"unstarted",
|
|
23
24
|
"started",
|
|
25
|
+
"review",
|
|
24
26
|
"completed",
|
|
25
27
|
"canceled"
|
|
26
|
-
],
|
|
28
|
+
], g = 864e5, _ = 7 * g, v = 12, y = 6, b = (e) => {
|
|
27
29
|
if (e.length === 0) return;
|
|
28
30
|
let t = [...e].sort((e, t) => e - t), n = Math.floor(t.length / 2);
|
|
29
31
|
return t.length % 2 ? t[n] : ((t[n - 1] ?? 0) + (t[n] ?? 0)) / 2;
|
|
30
32
|
};
|
|
31
|
-
function
|
|
33
|
+
function x(e, t) {
|
|
32
34
|
if (!e.completedAt || e.status.category !== "completed") return;
|
|
33
35
|
let n = t === "cycle" ? e.startedAt : e.createdAt;
|
|
34
|
-
if (n) return Math.max(0, (Date.parse(e.completedAt) - Date.parse(n)) /
|
|
36
|
+
if (n) return Math.max(0, (Date.parse(e.completedAt) - Date.parse(n)) / g);
|
|
35
37
|
}
|
|
36
|
-
function
|
|
37
|
-
return t === "count" ? e.length : t === "estimate" ? e.reduce((e, t) => e + (t.estimate ?? 0), 0) :
|
|
38
|
+
function S(e, t) {
|
|
39
|
+
return t === "count" ? e.length : t === "estimate" ? e.reduce((e, t) => e + (t.estimate ?? 0), 0) : b(e.flatMap((e) => x(e, t) ?? []));
|
|
38
40
|
}
|
|
39
|
-
function
|
|
41
|
+
function C(e) {
|
|
40
42
|
let t = new Date(e);
|
|
41
43
|
return t.setHours(0, 0, 0, 0), t.setDate(t.getDate() - (t.getDay() + 6) % 7), t.getTime();
|
|
42
44
|
}
|
|
43
|
-
function
|
|
45
|
+
function w(e) {
|
|
44
46
|
let t = Math.max(1, e) / 3, n = 10 ** Math.floor(Math.log10(t)), r = Math.max(1, ([
|
|
45
47
|
1,
|
|
46
48
|
2,
|
|
@@ -49,25 +51,25 @@ function C(e) {
|
|
|
49
51
|
].find((e) => e * n >= t) ?? 10) * n);
|
|
50
52
|
return Array.from({ length: Math.ceil(Math.max(1, e) / r) + 1 }, (e, t) => t * r);
|
|
51
53
|
}
|
|
52
|
-
var
|
|
53
|
-
function
|
|
54
|
-
let
|
|
55
|
-
if (
|
|
56
|
-
let e =
|
|
54
|
+
var T = "#1099e3", E = (e) => `color-mix(in oklch, ${T} ${e}%, var(--theme-panel-bg))`;
|
|
55
|
+
function D({ workspace: g, issues: b }) {
|
|
56
|
+
let x = u("insights"), T = u("issues.groups"), D = l(), O = i(), { nameOf: k } = e(g), [A, j] = c("count"), [M, N] = c("status"), [P, F] = c(null), I = A === "cycle" || A === "lead", L = (e) => e === void 0 ? "–" : I ? x("days", { days: D.number(e, { maximumFractionDigits: 1 }) }) : D.number(e, { maximumFractionDigits: 1 }), R = [x(`measures.${A}`)], z;
|
|
57
|
+
if (M === "week") {
|
|
58
|
+
let e = C(Date.now()), t = Math.min(e, ...b.map((e) => C(Date.parse(e.createdAt)))), n = Math.min(v, Math.max(y, Math.round((e - t) / _) + 1)), r = Array.from({ length: n }, (t, r) => e - (n - 1 - r) * _), i = (e, t) => !!t && C(Date.parse(t)) === e, a = (e) => D.dateTime(new Date(e), {
|
|
57
59
|
month: "short",
|
|
58
60
|
day: "numeric"
|
|
59
61
|
});
|
|
60
|
-
|
|
62
|
+
I ? z = r.map((e) => ({
|
|
61
63
|
key: String(e),
|
|
62
64
|
label: a(e),
|
|
63
|
-
values: [
|
|
64
|
-
})) : (
|
|
65
|
+
values: [S(b.filter((t) => i(e, t.completedAt)), A)]
|
|
66
|
+
})) : (R = [x("created"), x("completed")], z = r.map((e) => ({
|
|
65
67
|
key: String(e),
|
|
66
68
|
label: a(e),
|
|
67
|
-
values: [
|
|
69
|
+
values: [S(b.filter((t) => i(e, t.createdAt)), A), S(b.filter((t) => t.status.category === "completed" && i(e, t.completedAt)), A)]
|
|
68
70
|
})));
|
|
69
71
|
} else {
|
|
70
|
-
let e = /* @__PURE__ */ new Map(),
|
|
72
|
+
let e = /* @__PURE__ */ new Map(), i = (t, n, r, i, a) => {
|
|
71
73
|
let o = e.get(t) ?? {
|
|
72
74
|
key: t,
|
|
73
75
|
label: n,
|
|
@@ -78,209 +80,210 @@ function E({ workspace: h, issues: y }) {
|
|
|
78
80
|
};
|
|
79
81
|
o.issues.push(a), e.set(t, o);
|
|
80
82
|
};
|
|
81
|
-
for (let e of
|
|
83
|
+
for (let e of b) if (M === "status") i(t(e.status), T(t(e.status)), h.indexOf(t(e.status)), /* @__PURE__ */ d(r, {
|
|
82
84
|
category: e.status.category,
|
|
85
|
+
review: e.status.review,
|
|
83
86
|
step: e.status.step
|
|
84
87
|
}), e);
|
|
85
|
-
else if (
|
|
86
|
-
else if (
|
|
87
|
-
e.labels.length === 0 &&
|
|
88
|
-
for (let t of e.labels)
|
|
88
|
+
else if (M === "priority") i(String(e.priority), O[e.priority] ?? "", e.priority === 0 ? 5 : e.priority, /* @__PURE__ */ d(n, { priority: e.priority }), e);
|
|
89
|
+
else if (M === "label") {
|
|
90
|
+
e.labels.length === 0 && i("", x("none"), Infinity, null, e);
|
|
91
|
+
for (let t of e.labels) i(t.id, t.name, 0, /* @__PURE__ */ d("span", {
|
|
89
92
|
className: "size-2 rounded-full",
|
|
90
93
|
style: { background: t.color }
|
|
91
94
|
}), e);
|
|
92
95
|
} else {
|
|
93
|
-
e.assignees.length === 0 &&
|
|
94
|
-
for (let t of e.assignees)
|
|
96
|
+
e.assignees.length === 0 && i("", x("unassigned"), Infinity, null, e);
|
|
97
|
+
for (let t of e.assignees) i(`${t.kind}:${t.handle}`, k(t.kind, t.handle), 0, null, e);
|
|
95
98
|
}
|
|
96
|
-
|
|
99
|
+
z = [...e.values()].map((e) => ({
|
|
97
100
|
...e,
|
|
98
|
-
values: [
|
|
99
|
-
})).sort((e, t) =>
|
|
101
|
+
values: [S(e.issues, A)]
|
|
102
|
+
})).sort((e, t) => M === "status" || M === "priority" ? e.order - t.order : e.order - t.order || (t.values[0] ?? 0) - (e.values[0] ?? 0));
|
|
100
103
|
}
|
|
101
|
-
let
|
|
104
|
+
let B = R.length > 1 ? [E(35), E(100)] : [E(100)], V = Math.max(...z.flatMap((e) => e.values.map((e) => e ?? 0))), H = z.every((e) => e.values.every((e) => !e)), U = M === "week" && !I ? R.map((e, t) => z.reduce((e, n) => e + (n.values[t] ?? 0), 0)) : [S(b, A)], W = S(b, A) ?? 0, G = (e) => !I && W > 0 && e !== void 0 ? D.number(e / W, {
|
|
102
105
|
style: "percent",
|
|
103
106
|
maximumFractionDigits: 0
|
|
104
|
-
}) : null,
|
|
105
|
-
label:
|
|
107
|
+
}) : null, K = (e) => ({
|
|
108
|
+
label: x("weekOf", { week: e.label }),
|
|
106
109
|
total: !1,
|
|
107
|
-
formatValue:
|
|
110
|
+
formatValue: L,
|
|
108
111
|
items: e.values.flatMap((e, t) => e === void 0 ? [] : [{
|
|
109
112
|
key: String(t),
|
|
110
|
-
name:
|
|
113
|
+
name: R[t],
|
|
111
114
|
value: e,
|
|
112
|
-
color:
|
|
115
|
+
color: B[t] ?? ""
|
|
113
116
|
}])
|
|
114
117
|
});
|
|
115
|
-
return /* @__PURE__ */
|
|
116
|
-
"aria-label":
|
|
118
|
+
return /* @__PURE__ */ f("section", {
|
|
119
|
+
"aria-label": x("title"),
|
|
117
120
|
className: "shrink-0 border-b border-border px-4 py-3 md:px-5",
|
|
118
121
|
children: [
|
|
119
|
-
/* @__PURE__ */
|
|
122
|
+
/* @__PURE__ */ f("div", {
|
|
120
123
|
className: "flex flex-wrap items-center gap-2",
|
|
121
124
|
children: [
|
|
122
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ d("h2", {
|
|
123
126
|
className: "text-xs font-medium",
|
|
124
|
-
children:
|
|
127
|
+
children: x("title")
|
|
125
128
|
}),
|
|
126
|
-
/* @__PURE__ */
|
|
127
|
-
value:
|
|
128
|
-
items:
|
|
129
|
+
/* @__PURE__ */ d(o, {
|
|
130
|
+
value: A,
|
|
131
|
+
items: p.map((e) => ({
|
|
129
132
|
value: e,
|
|
130
|
-
label:
|
|
133
|
+
label: x(`measures.${e}`)
|
|
131
134
|
})),
|
|
132
135
|
onValueChange: (e) => {
|
|
133
|
-
|
|
136
|
+
j(e), F(null);
|
|
134
137
|
},
|
|
135
|
-
"aria-label":
|
|
138
|
+
"aria-label": x("measure"),
|
|
136
139
|
size: "sm",
|
|
137
140
|
width: "content"
|
|
138
141
|
}),
|
|
139
|
-
/* @__PURE__ */
|
|
142
|
+
/* @__PURE__ */ d("span", {
|
|
140
143
|
className: "text-xs text-muted-foreground",
|
|
141
|
-
children:
|
|
144
|
+
children: x("by")
|
|
142
145
|
}),
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
-
value:
|
|
145
|
-
items:
|
|
146
|
+
/* @__PURE__ */ d(o, {
|
|
147
|
+
value: M,
|
|
148
|
+
items: m.map((e) => ({
|
|
146
149
|
value: e,
|
|
147
|
-
label:
|
|
150
|
+
label: x(`slices.${e}`)
|
|
148
151
|
})),
|
|
149
152
|
onValueChange: (e) => {
|
|
150
|
-
|
|
153
|
+
N(e), F(null);
|
|
151
154
|
},
|
|
152
|
-
"aria-label":
|
|
155
|
+
"aria-label": x("slice"),
|
|
153
156
|
size: "sm",
|
|
154
157
|
width: "content"
|
|
155
158
|
}),
|
|
156
|
-
!
|
|
159
|
+
!H && /* @__PURE__ */ d("ul", {
|
|
157
160
|
className: "ml-auto flex flex-wrap items-center gap-x-4 gap-y-1 text-xs",
|
|
158
|
-
children:
|
|
161
|
+
children: U.map((e, t) => /* @__PURE__ */ f("li", {
|
|
159
162
|
className: "flex items-center gap-1.5",
|
|
160
163
|
children: [
|
|
161
|
-
|
|
162
|
-
/* @__PURE__ */
|
|
164
|
+
U.length > 1 && /* @__PURE__ */ d(s, { color: B[t] ?? "" }),
|
|
165
|
+
/* @__PURE__ */ d("span", {
|
|
163
166
|
className: "text-muted-foreground",
|
|
164
|
-
children:
|
|
167
|
+
children: U.length > 1 ? R[t] : x(`totals.${A}`)
|
|
165
168
|
}),
|
|
166
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ d("span", {
|
|
167
170
|
className: "font-medium tabular-nums",
|
|
168
|
-
children:
|
|
171
|
+
children: L(e)
|
|
169
172
|
})
|
|
170
173
|
]
|
|
171
|
-
},
|
|
174
|
+
}, R[t]))
|
|
172
175
|
})
|
|
173
176
|
]
|
|
174
177
|
}),
|
|
175
|
-
|
|
178
|
+
H ? /* @__PURE__ */ d("p", {
|
|
176
179
|
className: "py-6 text-center text-sm text-muted-foreground",
|
|
177
|
-
children:
|
|
178
|
-
}) :
|
|
179
|
-
let e =
|
|
180
|
-
return /* @__PURE__ */
|
|
180
|
+
children: x(I ? "noTimes" : "noIssues")
|
|
181
|
+
}) : M === "week" ? (() => {
|
|
182
|
+
let e = w(V), t = e.at(-1) ?? 1, n = z.at(-1), r = P ? z[P.i] : void 0, i = (e) => z.length <= 8 || (z.length - 1 - e) % 2 == 0;
|
|
183
|
+
return /* @__PURE__ */ f("div", {
|
|
181
184
|
className: "mt-4 pl-8",
|
|
182
|
-
children: [/* @__PURE__ */
|
|
183
|
-
x:
|
|
184
|
-
reading: r?.values.some((e) => e !== void 0) ?
|
|
185
|
-
rest: n ?
|
|
186
|
-
children: /* @__PURE__ */
|
|
185
|
+
children: [/* @__PURE__ */ d(a, {
|
|
186
|
+
x: P?.x ?? null,
|
|
187
|
+
reading: r?.values.some((e) => e !== void 0) ? K(r) : null,
|
|
188
|
+
rest: n ? K(n) : { items: [] },
|
|
189
|
+
children: /* @__PURE__ */ f("div", {
|
|
187
190
|
className: "relative h-40",
|
|
188
191
|
onPointerMove: (e) => {
|
|
189
|
-
let t = e.currentTarget.getBoundingClientRect(), n = Math.floor((e.clientX - t.left) / t.width *
|
|
190
|
-
if (n < 0 || n >=
|
|
191
|
-
|
|
192
|
+
let t = e.currentTarget.getBoundingClientRect(), n = Math.floor((e.clientX - t.left) / t.width * z.length);
|
|
193
|
+
if (n < 0 || n >= z.length) return F(null);
|
|
194
|
+
F({
|
|
192
195
|
i: n,
|
|
193
|
-
x: (n + .5) /
|
|
196
|
+
x: (n + .5) / z.length * t.width
|
|
194
197
|
});
|
|
195
198
|
},
|
|
196
|
-
onPointerLeave: () =>
|
|
197
|
-
children: [e.map((e) => /* @__PURE__ */
|
|
199
|
+
onPointerLeave: () => F(null),
|
|
200
|
+
children: [e.map((e) => /* @__PURE__ */ d("div", {
|
|
198
201
|
"aria-hidden": "true",
|
|
199
202
|
className: `absolute inset-x-0 border-t ${e === 0 ? "border-border" : "border-border/50"}`,
|
|
200
203
|
style: { bottom: `${e / t * 100}%` },
|
|
201
|
-
children: /* @__PURE__ */
|
|
204
|
+
children: /* @__PURE__ */ d("span", {
|
|
202
205
|
className: "absolute right-full mr-2 -translate-y-1/2 text-[11px] leading-none text-muted-foreground tabular-nums",
|
|
203
|
-
children:
|
|
206
|
+
children: D.number(e)
|
|
204
207
|
})
|
|
205
|
-
}, e)), /* @__PURE__ */
|
|
208
|
+
}, e)), /* @__PURE__ */ d("div", {
|
|
206
209
|
"aria-hidden": "true",
|
|
207
210
|
className: "relative flex h-full",
|
|
208
|
-
children:
|
|
209
|
-
className: `flex h-full min-w-0 flex-1 items-end justify-center gap-0.5 rounded-t-md px-1 transition-colors ${
|
|
210
|
-
children: e.values.map((e, n) => /* @__PURE__ */
|
|
211
|
+
children: z.map((e, n) => /* @__PURE__ */ d("div", {
|
|
212
|
+
className: `flex h-full min-w-0 flex-1 items-end justify-center gap-0.5 rounded-t-md px-1 transition-colors ${P?.i === n ? "bg-muted/70" : ""}`,
|
|
213
|
+
children: e.values.map((e, n) => /* @__PURE__ */ d("span", {
|
|
211
214
|
className: "max-w-4 min-w-0 flex-1 rounded-t-[4px]",
|
|
212
215
|
style: {
|
|
213
216
|
height: `${(e ?? 0) / t * 100}%`,
|
|
214
|
-
background:
|
|
217
|
+
background: B[n]
|
|
215
218
|
}
|
|
216
|
-
},
|
|
219
|
+
}, R[n]))
|
|
217
220
|
}, e.key))
|
|
218
221
|
})]
|
|
219
222
|
})
|
|
220
|
-
}), /* @__PURE__ */
|
|
223
|
+
}), /* @__PURE__ */ d("div", {
|
|
221
224
|
"aria-hidden": "true",
|
|
222
225
|
className: "mt-1.5 flex text-[11px] text-muted-foreground",
|
|
223
|
-
children:
|
|
224
|
-
className: `min-w-0 flex-1 truncate text-center ${
|
|
225
|
-
children:
|
|
226
|
+
children: z.map((e, t) => /* @__PURE__ */ d("span", {
|
|
227
|
+
className: `min-w-0 flex-1 truncate text-center ${P?.i === t ? "text-foreground" : ""}`,
|
|
228
|
+
children: i(t) || P?.i === t ? e.label : ""
|
|
226
229
|
}, e.key))
|
|
227
230
|
})]
|
|
228
231
|
});
|
|
229
|
-
})() : /* @__PURE__ */
|
|
232
|
+
})() : /* @__PURE__ */ d("ul", {
|
|
230
233
|
className: "mt-3 max-w-4xl",
|
|
231
|
-
children:
|
|
234
|
+
children: z.map((e) => /* @__PURE__ */ f("li", {
|
|
232
235
|
className: "-mx-2 flex h-7 items-center gap-3 rounded-md px-2 text-xs hover:bg-muted/60",
|
|
233
236
|
children: [
|
|
234
|
-
/* @__PURE__ */
|
|
237
|
+
/* @__PURE__ */ f("span", {
|
|
235
238
|
className: "flex w-36 shrink-0 items-center gap-2 truncate",
|
|
236
239
|
title: e.label,
|
|
237
|
-
children: [e.icon && /* @__PURE__ */
|
|
240
|
+
children: [e.icon && /* @__PURE__ */ d("span", {
|
|
238
241
|
className: "flex size-3.5 shrink-0 items-center justify-center",
|
|
239
242
|
children: e.icon
|
|
240
|
-
}), /* @__PURE__ */
|
|
243
|
+
}), /* @__PURE__ */ d("span", {
|
|
241
244
|
className: "truncate",
|
|
242
245
|
children: e.label
|
|
243
246
|
})]
|
|
244
247
|
}),
|
|
245
|
-
/* @__PURE__ */
|
|
248
|
+
/* @__PURE__ */ d("span", {
|
|
246
249
|
className: "min-w-0 flex-1",
|
|
247
|
-
children: /* @__PURE__ */
|
|
250
|
+
children: /* @__PURE__ */ d("span", {
|
|
248
251
|
className: "block h-2 min-w-0.5 rounded-r-[4px]",
|
|
249
252
|
style: {
|
|
250
|
-
width: `${(e.values[0] ?? 0) / Math.max(
|
|
251
|
-
background:
|
|
253
|
+
width: `${(e.values[0] ?? 0) / Math.max(V, 1) * 100}%`,
|
|
254
|
+
background: B[0]
|
|
252
255
|
}
|
|
253
256
|
})
|
|
254
257
|
}),
|
|
255
|
-
/* @__PURE__ */
|
|
258
|
+
/* @__PURE__ */ d("span", {
|
|
256
259
|
className: "w-14 shrink-0 text-right font-medium tabular-nums",
|
|
257
|
-
children:
|
|
260
|
+
children: L(e.values[0])
|
|
258
261
|
}),
|
|
259
|
-
!
|
|
262
|
+
!I && /* @__PURE__ */ d("span", {
|
|
260
263
|
className: "w-9 shrink-0 text-right text-muted-foreground tabular-nums",
|
|
261
|
-
children:
|
|
264
|
+
children: G(e.values[0])
|
|
262
265
|
})
|
|
263
266
|
]
|
|
264
267
|
}, e.key))
|
|
265
268
|
}),
|
|
266
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ f("table", {
|
|
267
270
|
className: "sr-only",
|
|
268
271
|
children: [
|
|
269
|
-
/* @__PURE__ */
|
|
270
|
-
/* @__PURE__ */
|
|
272
|
+
/* @__PURE__ */ d("caption", { children: x("title") }),
|
|
273
|
+
/* @__PURE__ */ d("thead", { children: /* @__PURE__ */ f("tr", { children: [/* @__PURE__ */ d("th", {
|
|
271
274
|
scope: "col",
|
|
272
|
-
children:
|
|
273
|
-
}),
|
|
275
|
+
children: x(`slices.${M}`)
|
|
276
|
+
}), R.map((e) => /* @__PURE__ */ d("th", {
|
|
274
277
|
scope: "col",
|
|
275
278
|
children: e
|
|
276
279
|
}, e))] }) }),
|
|
277
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ d("tbody", { children: z.map((e) => /* @__PURE__ */ f("tr", { children: [/* @__PURE__ */ d("th", {
|
|
278
281
|
scope: "row",
|
|
279
282
|
children: e.label
|
|
280
|
-
}), e.values.map((e, t) => /* @__PURE__ */
|
|
283
|
+
}), e.values.map((e, t) => /* @__PURE__ */ d("td", { children: L(e) }, R[t]))] }, e.key)) })
|
|
281
284
|
]
|
|
282
285
|
})
|
|
283
286
|
]
|
|
284
287
|
});
|
|
285
288
|
}
|
|
286
|
-
export {
|
|
289
|
+
export { D as IssueInsights };
|
|
@@ -53,6 +53,7 @@ function E({ workspace: e, issue: t }) {
|
|
|
53
53
|
children: [
|
|
54
54
|
/* @__PURE__ */ _(s, {
|
|
55
55
|
category: t.status.category,
|
|
56
|
+
review: t.status.review,
|
|
56
57
|
step: t.status.step
|
|
57
58
|
}),
|
|
58
59
|
/* @__PURE__ */ _("span", {
|
|
@@ -260,6 +261,7 @@ function O({ workspace: i, issue: a, row: o }) {
|
|
|
260
261
|
children: C ? /* @__PURE__ */ v(g, { children: [
|
|
261
262
|
/* @__PURE__ */ _(s, {
|
|
262
263
|
category: C.status.category,
|
|
264
|
+
review: C.status.review,
|
|
263
265
|
step: C.status.step
|
|
264
266
|
}),
|
|
265
267
|
/* @__PURE__ */ _("span", {
|
package/components/IssueRow.js
CHANGED
|
@@ -276,6 +276,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
|
|
|
276
276
|
label: e.name,
|
|
277
277
|
icon: /* @__PURE__ */ d(ke, {
|
|
278
278
|
category: e.category,
|
|
279
|
+
review: e.review,
|
|
279
280
|
step: e.step
|
|
280
281
|
})
|
|
281
282
|
})),
|
|
@@ -287,6 +288,7 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
|
|
|
287
288
|
className: $,
|
|
288
289
|
children: [X && /* @__PURE__ */ d(ke, {
|
|
289
290
|
category: X.category,
|
|
291
|
+
review: X.review,
|
|
290
292
|
step: X.step
|
|
291
293
|
}), X?.name ?? j("status")]
|
|
292
294
|
})
|
package/components/Reports.js
CHANGED