@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.
@@ -1,46 +1,48 @@
1
1
  import { usePeople as e } from "../lib/people.js";
2
- import { PriorityIcon as t, StatusIcon as n, usePriorityNames as r } from "./icons.js";
3
- import { ChartTooltipFrame as i, Select as a, SeriesSwatch as o } from "@parallelworks/ui";
4
- import { useState as s } from "react";
5
- import { useFormatter as c, useTranslations as l } from "use-intl";
6
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
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 f = [
9
+ var p = [
9
10
  "count",
10
11
  "estimate",
11
12
  "cycle",
12
13
  "lead"
13
- ], p = [
14
+ ], m = [
14
15
  "status",
15
16
  "label",
16
17
  "assignee",
17
18
  "priority",
18
19
  "week"
19
- ], m = [
20
+ ], h = [
20
21
  "triage",
21
22
  "backlog",
22
23
  "unstarted",
23
24
  "started",
25
+ "review",
24
26
  "completed",
25
27
  "canceled"
26
- ], h = 864e5, g = 7 * h, _ = 12, v = 6, y = (e) => {
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 b(e, t) {
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)) / h);
36
+ if (n) return Math.max(0, (Date.parse(e.completedAt) - Date.parse(n)) / g);
35
37
  }
36
- function x(e, t) {
37
- return t === "count" ? e.length : t === "estimate" ? e.reduce((e, t) => e + (t.estimate ?? 0), 0) : y(e.flatMap((e) => b(e, t) ?? []));
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 S(e) {
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 C(e) {
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 w = "#1099e3", T = (e) => `color-mix(in oklch, ${w} ${e}%, var(--theme-panel-bg))`;
53
- function E({ workspace: h, issues: y }) {
54
- let b = l("insights"), w = l("issues.groups"), E = c(), D = r(), { nameOf: O } = e(h), [k, A] = s("count"), [j, M] = s("status"), [N, P] = s(null), F = k === "cycle" || k === "lead", I = (e) => e === void 0 ? "–" : F ? b("days", { days: E.number(e, { maximumFractionDigits: 1 }) }) : E.number(e, { maximumFractionDigits: 1 }), L = [b(`measures.${k}`)], R;
55
- if (j === "week") {
56
- let e = S(Date.now()), t = Math.min(e, ...y.map((e) => S(Date.parse(e.createdAt)))), n = Math.min(_, Math.max(v, Math.round((e - t) / g) + 1)), r = Array.from({ length: n }, (t, r) => e - (n - 1 - r) * g), i = (e, t) => !!t && S(Date.parse(t)) === e, a = (e) => E.dateTime(new Date(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
- F ? R = r.map((e) => ({
62
+ I ? z = r.map((e) => ({
61
63
  key: String(e),
62
64
  label: a(e),
63
- values: [x(y.filter((t) => i(e, t.completedAt)), k)]
64
- })) : (L = [b("created"), b("completed")], R = r.map((e) => ({
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: [x(y.filter((t) => i(e, t.createdAt)), k), x(y.filter((t) => t.status.category === "completed" && i(e, t.completedAt)), k)]
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(), r = (t, n, r, i, a) => {
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 y) if (j === "status") r(e.status.category, w(e.status.category), m.indexOf(e.status.category), /* @__PURE__ */ u(n, {
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 (j === "priority") r(String(e.priority), D[e.priority] ?? "", e.priority === 0 ? 5 : e.priority, /* @__PURE__ */ u(t, { priority: e.priority }), e);
86
- else if (j === "label") {
87
- e.labels.length === 0 && r("", b("none"), Infinity, null, e);
88
- for (let t of e.labels) r(t.id, t.name, 0, /* @__PURE__ */ u("span", {
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 && r("", b("unassigned"), Infinity, null, e);
94
- for (let t of e.assignees) r(`${t.kind}:${t.handle}`, O(t.kind, t.handle), 0, null, e);
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
- R = [...e.values()].map((e) => ({
99
+ z = [...e.values()].map((e) => ({
97
100
  ...e,
98
- values: [x(e.issues, k)]
99
- })).sort((e, t) => j === "status" || j === "priority" ? e.order - t.order : e.order - t.order || (t.values[0] ?? 0) - (e.values[0] ?? 0));
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 z = L.length > 1 ? [T(35), T(100)] : [T(100)], B = Math.max(...R.flatMap((e) => e.values.map((e) => e ?? 0))), V = R.every((e) => e.values.every((e) => !e)), H = j === "week" && !F ? L.map((e, t) => R.reduce((e, n) => e + (n.values[t] ?? 0), 0)) : [x(y, k)], U = x(y, k) ?? 0, W = (e) => !F && U > 0 && e !== void 0 ? E.number(e / U, {
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, G = (e) => ({
105
- label: b("weekOf", { week: e.label }),
107
+ }) : null, K = (e) => ({
108
+ label: x("weekOf", { week: e.label }),
106
109
  total: !1,
107
- formatValue: I,
110
+ formatValue: L,
108
111
  items: e.values.flatMap((e, t) => e === void 0 ? [] : [{
109
112
  key: String(t),
110
- name: L[t],
113
+ name: R[t],
111
114
  value: e,
112
- color: z[t] ?? ""
115
+ color: B[t] ?? ""
113
116
  }])
114
117
  });
115
- return /* @__PURE__ */ d("section", {
116
- "aria-label": b("title"),
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__ */ d("div", {
122
+ /* @__PURE__ */ f("div", {
120
123
  className: "flex flex-wrap items-center gap-2",
121
124
  children: [
122
- /* @__PURE__ */ u("h2", {
125
+ /* @__PURE__ */ d("h2", {
123
126
  className: "text-xs font-medium",
124
- children: b("title")
127
+ children: x("title")
125
128
  }),
126
- /* @__PURE__ */ u(a, {
127
- value: k,
128
- items: f.map((e) => ({
129
+ /* @__PURE__ */ d(o, {
130
+ value: A,
131
+ items: p.map((e) => ({
129
132
  value: e,
130
- label: b(`measures.${e}`)
133
+ label: x(`measures.${e}`)
131
134
  })),
132
135
  onValueChange: (e) => {
133
- A(e), P(null);
136
+ j(e), F(null);
134
137
  },
135
- "aria-label": b("measure"),
138
+ "aria-label": x("measure"),
136
139
  size: "sm",
137
140
  width: "content"
138
141
  }),
139
- /* @__PURE__ */ u("span", {
142
+ /* @__PURE__ */ d("span", {
140
143
  className: "text-xs text-muted-foreground",
141
- children: b("by")
144
+ children: x("by")
142
145
  }),
143
- /* @__PURE__ */ u(a, {
144
- value: j,
145
- items: p.map((e) => ({
146
+ /* @__PURE__ */ d(o, {
147
+ value: M,
148
+ items: m.map((e) => ({
146
149
  value: e,
147
- label: b(`slices.${e}`)
150
+ label: x(`slices.${e}`)
148
151
  })),
149
152
  onValueChange: (e) => {
150
- M(e), P(null);
153
+ N(e), F(null);
151
154
  },
152
- "aria-label": b("slice"),
155
+ "aria-label": x("slice"),
153
156
  size: "sm",
154
157
  width: "content"
155
158
  }),
156
- !V && /* @__PURE__ */ u("ul", {
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: H.map((e, t) => /* @__PURE__ */ d("li", {
161
+ children: U.map((e, t) => /* @__PURE__ */ f("li", {
159
162
  className: "flex items-center gap-1.5",
160
163
  children: [
161
- H.length > 1 && /* @__PURE__ */ u(o, { color: z[t] ?? "" }),
162
- /* @__PURE__ */ u("span", {
164
+ U.length > 1 && /* @__PURE__ */ d(s, { color: B[t] ?? "" }),
165
+ /* @__PURE__ */ d("span", {
163
166
  className: "text-muted-foreground",
164
- children: H.length > 1 ? L[t] : b(`totals.${k}`)
167
+ children: U.length > 1 ? R[t] : x(`totals.${A}`)
165
168
  }),
166
- /* @__PURE__ */ u("span", {
169
+ /* @__PURE__ */ d("span", {
167
170
  className: "font-medium tabular-nums",
168
- children: I(e)
171
+ children: L(e)
169
172
  })
170
173
  ]
171
- }, L[t]))
174
+ }, R[t]))
172
175
  })
173
176
  ]
174
177
  }),
175
- V ? /* @__PURE__ */ u("p", {
178
+ H ? /* @__PURE__ */ d("p", {
176
179
  className: "py-6 text-center text-sm text-muted-foreground",
177
- children: b(F ? "noTimes" : "noIssues")
178
- }) : j === "week" ? (() => {
179
- let e = C(B), t = e.at(-1) ?? 1, n = R.at(-1), r = N ? R[N.i] : void 0, a = (e) => R.length <= 8 || (R.length - 1 - e) % 2 == 0;
180
- return /* @__PURE__ */ d("div", {
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__ */ u(i, {
183
- x: N?.x ?? null,
184
- reading: r?.values.some((e) => e !== void 0) ? G(r) : null,
185
- rest: n ? G(n) : { items: [] },
186
- children: /* @__PURE__ */ d("div", {
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 * R.length);
190
- if (n < 0 || n >= R.length) return P(null);
191
- P({
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) / R.length * t.width
196
+ x: (n + .5) / z.length * t.width
194
197
  });
195
198
  },
196
- onPointerLeave: () => P(null),
197
- children: [e.map((e) => /* @__PURE__ */ u("div", {
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__ */ u("span", {
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: E.number(e)
206
+ children: D.number(e)
204
207
  })
205
- }, e)), /* @__PURE__ */ u("div", {
208
+ }, e)), /* @__PURE__ */ d("div", {
206
209
  "aria-hidden": "true",
207
210
  className: "relative flex h-full",
208
- children: R.map((e, n) => /* @__PURE__ */ u("div", {
209
- className: `flex h-full min-w-0 flex-1 items-end justify-center gap-0.5 rounded-t-md px-1 transition-colors ${N?.i === n ? "bg-muted/70" : ""}`,
210
- children: e.values.map((e, n) => /* @__PURE__ */ u("span", {
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: z[n]
217
+ background: B[n]
215
218
  }
216
- }, L[n]))
219
+ }, R[n]))
217
220
  }, e.key))
218
221
  })]
219
222
  })
220
- }), /* @__PURE__ */ u("div", {
223
+ }), /* @__PURE__ */ d("div", {
221
224
  "aria-hidden": "true",
222
225
  className: "mt-1.5 flex text-[11px] text-muted-foreground",
223
- children: R.map((e, t) => /* @__PURE__ */ u("span", {
224
- className: `min-w-0 flex-1 truncate text-center ${N?.i === t ? "text-foreground" : ""}`,
225
- children: a(t) || N?.i === t ? e.label : ""
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__ */ u("ul", {
232
+ })() : /* @__PURE__ */ d("ul", {
230
233
  className: "mt-3 max-w-4xl",
231
- children: R.map((e) => /* @__PURE__ */ d("li", {
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__ */ d("span", {
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__ */ u("span", {
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__ */ u("span", {
243
+ }), /* @__PURE__ */ d("span", {
241
244
  className: "truncate",
242
245
  children: e.label
243
246
  })]
244
247
  }),
245
- /* @__PURE__ */ u("span", {
248
+ /* @__PURE__ */ d("span", {
246
249
  className: "min-w-0 flex-1",
247
- children: /* @__PURE__ */ u("span", {
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(B, 1) * 100}%`,
251
- background: z[0]
253
+ width: `${(e.values[0] ?? 0) / Math.max(V, 1) * 100}%`,
254
+ background: B[0]
252
255
  }
253
256
  })
254
257
  }),
255
- /* @__PURE__ */ u("span", {
258
+ /* @__PURE__ */ d("span", {
256
259
  className: "w-14 shrink-0 text-right font-medium tabular-nums",
257
- children: I(e.values[0])
260
+ children: L(e.values[0])
258
261
  }),
259
- !F && /* @__PURE__ */ u("span", {
262
+ !I && /* @__PURE__ */ d("span", {
260
263
  className: "w-9 shrink-0 text-right text-muted-foreground tabular-nums",
261
- children: W(e.values[0])
264
+ children: G(e.values[0])
262
265
  })
263
266
  ]
264
267
  }, e.key))
265
268
  }),
266
- /* @__PURE__ */ d("table", {
269
+ /* @__PURE__ */ f("table", {
267
270
  className: "sr-only",
268
271
  children: [
269
- /* @__PURE__ */ u("caption", { children: b("title") }),
270
- /* @__PURE__ */ u("thead", { children: /* @__PURE__ */ d("tr", { children: [/* @__PURE__ */ u("th", {
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: b(`slices.${j}`)
273
- }), L.map((e) => /* @__PURE__ */ u("th", {
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__ */ u("tbody", { children: R.map((e) => /* @__PURE__ */ d("tr", { children: [/* @__PURE__ */ u("th", {
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__ */ u("td", { children: I(e) }, L[t]))] }, e.key)) })
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 { E as IssueInsights };
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", {
@@ -65,6 +65,7 @@ var T = b(function({ issue: b, team: T, workspace: E, selected: D = !1, picked:
65
65
  }),
66
66
  /* @__PURE__ */ C(l, {
67
67
  category: b.status.category,
68
+ review: b.status.review,
68
69
  step: b.status.step
69
70
  }),
70
71
  /* @__PURE__ */ C("span", {
@@ -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
  })
@@ -24,6 +24,7 @@ function h({ workspace: e, identifier: n }) {
24
24
  children: [
25
25
  /* @__PURE__ */ f(i, {
26
26
  category: e.status.category,
27
+ review: e.status.review,
27
28
  step: e.status.step
28
29
  }),
29
30
  /* @__PURE__ */ f("span", {
@@ -93,6 +93,7 @@ function C({ workspace: C, teamKey: w, isAdmin: T }) {
93
93
  children: [
94
94
  /* @__PURE__ */ g(a, {
95
95
  category: e.category,
96
+ review: e.review,
96
97
  step: e.step
97
98
  }),
98
99
  M === e.id ? /* @__PURE__ */ _("form", {