@parallelworks/tandem-web 0.161.0 → 0.161.1
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/components/CommandPalette.js +4 -1
- package/components/DocLinkPicker.js +4 -1
- package/components/FavoritesNav.js +4 -1
- package/components/IssueFilters.js +4 -1
- package/components/IssueInsights.js +4 -1
- package/components/IssueRelations.js +8 -2
- package/components/IssueRow.js +4 -1
- package/components/NewIssueDialog.js +8 -2
- package/components/Reports.js +4 -1
- package/components/TeamWorkflow.js +4 -1
- package/components/icons.js +61 -33
- package/lib/issueMenu.js +8 -2
- package/lib/issuePicker.js +4 -1
- package/package.json +1 -1
- package/pages/triage.js +4 -1
- package/routes/_workspace/docs/_doc2.js +8 -2
- package/routes/_workspace/issues/_identifier2.js +8 -2
- package/routes/_workspace/notifications2.js +4 -1
|
@@ -120,7 +120,10 @@ function D({ workspace: v, open: D, onClose: O, selection: k }) {
|
|
|
120
120
|
items: G.issues.slice(0, 8).map((e) => ({
|
|
121
121
|
id: e.id,
|
|
122
122
|
label: `${e.identifier} ${e.title}`,
|
|
123
|
-
icon: /* @__PURE__ */ S(ue, {
|
|
123
|
+
icon: /* @__PURE__ */ S(ue, {
|
|
124
|
+
category: e.status.category,
|
|
125
|
+
step: e.status.step
|
|
126
|
+
}),
|
|
124
127
|
run: X(`/${v}/issues/${e.identifier}`)
|
|
125
128
|
}))
|
|
126
129
|
}), t.push({
|
|
@@ -141,7 +141,10 @@ function O({ editor: O }) {
|
|
|
141
141
|
hint: e.heading ? e.doc.title : void 0
|
|
142
142
|
} : e.kind === "issue" ? {
|
|
143
143
|
key: `issue:${e.issue.id}`,
|
|
144
|
-
icon: /* @__PURE__ */ C(s, {
|
|
144
|
+
icon: /* @__PURE__ */ C(s, {
|
|
145
|
+
category: e.issue.status.category,
|
|
146
|
+
step: e.issue.status.step
|
|
147
|
+
}),
|
|
145
148
|
label: e.issue.title,
|
|
146
149
|
hint: e.issue.identifier
|
|
147
150
|
} : {
|
|
@@ -18,7 +18,10 @@ function C(e, t, m, h) {
|
|
|
18
18
|
case "issue": return {
|
|
19
19
|
href: `/${t}/issues/${e.issue?.identifier ?? ""}`,
|
|
20
20
|
label: e.issue ? `${e.issue.identifier} ${e.issue.title}` : h("issue"),
|
|
21
|
-
icon: e.issue ? /* @__PURE__ */ v(l, {
|
|
21
|
+
icon: e.issue ? /* @__PURE__ */ v(l, {
|
|
22
|
+
category: e.issue.status.category,
|
|
23
|
+
step: e.issue.status.step
|
|
24
|
+
}) : null
|
|
22
25
|
};
|
|
23
26
|
case "team": return {
|
|
24
27
|
href: p(t, e.team?.key ?? "", "issues"),
|
|
@@ -243,7 +243,10 @@ function M(v, k, j, M = !1) {
|
|
|
243
243
|
options: U.map((e) => ({
|
|
244
244
|
value: S(e),
|
|
245
245
|
label: e.name,
|
|
246
|
-
icon: /* @__PURE__ */ T(l, {
|
|
246
|
+
icon: /* @__PURE__ */ T(l, {
|
|
247
|
+
category: e.category,
|
|
248
|
+
step: e.step
|
|
249
|
+
})
|
|
247
250
|
}))
|
|
248
251
|
}), (V?.cyclesEnabled || k.cycle) && n.push({
|
|
249
252
|
key: "cycle",
|
|
@@ -78,7 +78,10 @@ function E({ workspace: h, issues: y }) {
|
|
|
78
78
|
};
|
|
79
79
|
o.issues.push(a), n.set(e, o);
|
|
80
80
|
};
|
|
81
|
-
for (let n of y) if (j === "status") r(n.status.category, w(n.status.category), m.indexOf(n.status.category), /* @__PURE__ */ u(t, {
|
|
81
|
+
for (let n of y) if (j === "status") r(n.status.category, w(n.status.category), m.indexOf(n.status.category), /* @__PURE__ */ u(t, {
|
|
82
|
+
category: n.status.category,
|
|
83
|
+
step: n.status.step
|
|
84
|
+
}), n);
|
|
82
85
|
else if (j === "priority") r(String(n.priority), D[n.priority] ?? "", n.priority === 0 ? 5 : n.priority, /* @__PURE__ */ u(e, { priority: n.priority }), n);
|
|
83
86
|
else if (j === "label") {
|
|
84
87
|
n.labels.length === 0 && r("", b("none"), Infinity, null, n);
|
|
@@ -51,7 +51,10 @@ function E({ workspace: e, issue: t }) {
|
|
|
51
51
|
},
|
|
52
52
|
className: "flex min-w-0 flex-1 items-center gap-2 hover:underline",
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ _(o, {
|
|
54
|
+
/* @__PURE__ */ _(o, {
|
|
55
|
+
category: t.status.category,
|
|
56
|
+
step: t.status.step
|
|
57
|
+
}),
|
|
55
58
|
/* @__PURE__ */ _("span", {
|
|
56
59
|
className: "shrink-0 text-muted-foreground",
|
|
57
60
|
children: t.identifier
|
|
@@ -255,7 +258,10 @@ function O({ workspace: n, issue: i, row: a }) {
|
|
|
255
258
|
type: "button",
|
|
256
259
|
className: a,
|
|
257
260
|
children: C ? /* @__PURE__ */ v(g, { children: [
|
|
258
|
-
/* @__PURE__ */ _(o, {
|
|
261
|
+
/* @__PURE__ */ _(o, {
|
|
262
|
+
category: C.status.category,
|
|
263
|
+
step: C.status.step
|
|
264
|
+
}),
|
|
259
265
|
/* @__PURE__ */ _("span", {
|
|
260
266
|
className: "shrink-0 text-muted-foreground",
|
|
261
267
|
children: C.identifier
|
package/components/IssueRow.js
CHANGED
|
@@ -63,7 +63,10 @@ var T = b(function({ issue: b, team: T, workspace: E, selected: D = !1, picked:
|
|
|
63
63
|
})
|
|
64
64
|
}), b.identifier]
|
|
65
65
|
}),
|
|
66
|
-
/* @__PURE__ */ C(r, {
|
|
66
|
+
/* @__PURE__ */ C(r, {
|
|
67
|
+
category: b.status.category,
|
|
68
|
+
step: b.status.step
|
|
69
|
+
}),
|
|
67
70
|
/* @__PURE__ */ C("span", {
|
|
68
71
|
className: "min-w-0 flex-1 truncate",
|
|
69
72
|
children: b.title
|
|
@@ -274,7 +274,10 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
|
|
|
274
274
|
items: T.map((e) => ({
|
|
275
275
|
value: e.id,
|
|
276
276
|
label: e.name,
|
|
277
|
-
icon: /* @__PURE__ */ d(ue, {
|
|
277
|
+
icon: /* @__PURE__ */ d(ue, {
|
|
278
|
+
category: e.category,
|
|
279
|
+
step: e.step
|
|
280
|
+
})
|
|
278
281
|
})),
|
|
279
282
|
value: X?.id ?? null,
|
|
280
283
|
onValueChange: (e) => e !== null && dt(e),
|
|
@@ -282,7 +285,10 @@ function m({ workspace: m, defaultTeam: h, defaultTitle: Ye = "", defaultBody: g
|
|
|
282
285
|
trigger: /* @__PURE__ */ f("button", {
|
|
283
286
|
type: "button",
|
|
284
287
|
className: $,
|
|
285
|
-
children: [X && /* @__PURE__ */ d(ue, {
|
|
288
|
+
children: [X && /* @__PURE__ */ d(ue, {
|
|
289
|
+
category: X.category,
|
|
290
|
+
step: X.step
|
|
291
|
+
}), X?.name ?? j("status")]
|
|
286
292
|
})
|
|
287
293
|
}),
|
|
288
294
|
/* @__PURE__ */ d(s, {
|
package/components/Reports.js
CHANGED
|
@@ -22,7 +22,10 @@ function h({ workspace: e, identifier: r }) {
|
|
|
22
22
|
children: [...c.values()].map(({ span: e, seconds: t }) => /* @__PURE__ */ p("li", {
|
|
23
23
|
className: "flex h-7 items-center gap-2 px-2 text-sm",
|
|
24
24
|
children: [
|
|
25
|
-
/* @__PURE__ */ f(n, {
|
|
25
|
+
/* @__PURE__ */ f(n, {
|
|
26
|
+
category: e.status.category,
|
|
27
|
+
step: e.status.step
|
|
28
|
+
}),
|
|
26
29
|
/* @__PURE__ */ f("span", {
|
|
27
30
|
className: `min-w-0 flex-1 truncate ${e.status.id === l ? "" : "text-muted-foreground"}`,
|
|
28
31
|
children: e.status.id === l ? a("currentStatus", { name: e.status.name }) : e.status.name
|
|
@@ -90,7 +90,10 @@ function C({ workspace: C, teamKey: w, isAdmin: T }) {
|
|
|
90
90
|
children: t.map((e, n) => /* @__PURE__ */ _("li", {
|
|
91
91
|
className: "flex items-center gap-3 px-3 py-2 text-sm",
|
|
92
92
|
children: [
|
|
93
|
-
/* @__PURE__ */ g(i, {
|
|
93
|
+
/* @__PURE__ */ g(i, {
|
|
94
|
+
category: e.category,
|
|
95
|
+
step: e.step
|
|
96
|
+
}),
|
|
94
97
|
M === e.id ? /* @__PURE__ */ _("form", {
|
|
95
98
|
className: "flex min-w-0 flex-1 gap-2",
|
|
96
99
|
onSubmit: (t) => {
|
package/components/icons.js
CHANGED
|
@@ -3,20 +3,29 @@ import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
|
3
3
|
import { GitLabIcon as r } from "@parallelworks/ui/brand-icons";
|
|
4
4
|
import * as i from "@parallelworks/ui/icons";
|
|
5
5
|
// src/components/icons.tsx
|
|
6
|
-
var a =
|
|
6
|
+
var a = [
|
|
7
|
+
"M7 3.5 A3.5 3.5 0 0 1 7 10.5 Z",
|
|
8
|
+
"M7 3.5 A3.5 3.5 0 1 1 3.5 7 L7 7 Z",
|
|
9
|
+
"M7 3.5 A3.5 3.5 0 1 1 4.53 4.53 L7 7 Z"
|
|
10
|
+
], o = {
|
|
7
11
|
triage: "text-status-triage",
|
|
8
12
|
backlog: "text-status-backlog",
|
|
9
13
|
unstarted: "text-status-unstarted",
|
|
10
14
|
started: "text-status-started",
|
|
11
15
|
completed: "text-status-completed",
|
|
12
16
|
canceled: "text-status-canceled"
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
}, s = /* @__PURE__ */ t("circle", {
|
|
18
|
+
cx: "7",
|
|
19
|
+
cy: "7",
|
|
20
|
+
r: "1.75",
|
|
21
|
+
fill: "currentColor"
|
|
22
|
+
});
|
|
23
|
+
function c({ category: e, step: r = 0, className: i = "" }) {
|
|
24
|
+
let c = `${o[e]} ${i}`, l = r > 0;
|
|
16
25
|
switch (e) {
|
|
17
26
|
case "triage": return /* @__PURE__ */ n("svg", {
|
|
18
27
|
viewBox: "0 0 14 14",
|
|
19
|
-
className: `size-3.5 shrink-0 ${
|
|
28
|
+
className: `size-3.5 shrink-0 ${c}`,
|
|
20
29
|
"aria-hidden": "true",
|
|
21
30
|
children: [/* @__PURE__ */ t("circle", {
|
|
22
31
|
cx: "7",
|
|
@@ -32,11 +41,11 @@ function o({ category: e, className: r = "" }) {
|
|
|
32
41
|
strokeLinejoin: "round"
|
|
33
42
|
})]
|
|
34
43
|
});
|
|
35
|
-
case "backlog": return /* @__PURE__ */
|
|
44
|
+
case "backlog": return /* @__PURE__ */ n("svg", {
|
|
36
45
|
viewBox: "0 0 14 14",
|
|
37
|
-
className: `size-3.5 shrink-0 ${
|
|
46
|
+
className: `size-3.5 shrink-0 ${c}`,
|
|
38
47
|
"aria-hidden": "true",
|
|
39
|
-
children: /* @__PURE__ */ t("circle", {
|
|
48
|
+
children: [/* @__PURE__ */ t("circle", {
|
|
40
49
|
cx: "7",
|
|
41
50
|
cy: "7",
|
|
42
51
|
r: "5.5",
|
|
@@ -44,24 +53,24 @@ function o({ category: e, className: r = "" }) {
|
|
|
44
53
|
stroke: "currentColor",
|
|
45
54
|
strokeWidth: "1.5",
|
|
46
55
|
strokeDasharray: "2 2.3"
|
|
47
|
-
})
|
|
56
|
+
}), l && s]
|
|
48
57
|
});
|
|
49
|
-
case "unstarted": return /* @__PURE__ */
|
|
58
|
+
case "unstarted": return /* @__PURE__ */ n("svg", {
|
|
50
59
|
viewBox: "0 0 14 14",
|
|
51
|
-
className: `size-3.5 shrink-0 ${
|
|
60
|
+
className: `size-3.5 shrink-0 ${c}`,
|
|
52
61
|
"aria-hidden": "true",
|
|
53
|
-
children: /* @__PURE__ */ t("circle", {
|
|
62
|
+
children: [/* @__PURE__ */ t("circle", {
|
|
54
63
|
cx: "7",
|
|
55
64
|
cy: "7",
|
|
56
65
|
r: "5.5",
|
|
57
66
|
fill: "none",
|
|
58
67
|
stroke: "currentColor",
|
|
59
68
|
strokeWidth: "1.5"
|
|
60
|
-
})
|
|
69
|
+
}), l && s]
|
|
61
70
|
});
|
|
62
71
|
case "started": return /* @__PURE__ */ n("svg", {
|
|
63
72
|
viewBox: "0 0 14 14",
|
|
64
|
-
className: `size-3.5 shrink-0 ${
|
|
73
|
+
className: `size-3.5 shrink-0 ${c}`,
|
|
65
74
|
"aria-hidden": "true",
|
|
66
75
|
children: [/* @__PURE__ */ t("circle", {
|
|
67
76
|
cx: "7",
|
|
@@ -71,13 +80,32 @@ function o({ category: e, className: r = "" }) {
|
|
|
71
80
|
stroke: "currentColor",
|
|
72
81
|
strokeWidth: "1.5"
|
|
73
82
|
}), /* @__PURE__ */ t("path", {
|
|
74
|
-
d:
|
|
83
|
+
d: a[Math.min(r, a.length - 1)],
|
|
75
84
|
fill: "currentColor"
|
|
76
85
|
})]
|
|
77
86
|
});
|
|
78
|
-
case "completed": return /* @__PURE__ */ n("svg", {
|
|
87
|
+
case "completed": return l ? /* @__PURE__ */ n("svg", {
|
|
88
|
+
viewBox: "0 0 14 14",
|
|
89
|
+
className: `size-3.5 shrink-0 ${c}`,
|
|
90
|
+
"aria-hidden": "true",
|
|
91
|
+
children: [/* @__PURE__ */ t("circle", {
|
|
92
|
+
cx: "7",
|
|
93
|
+
cy: "7",
|
|
94
|
+
r: "5.5",
|
|
95
|
+
fill: "none",
|
|
96
|
+
stroke: "currentColor",
|
|
97
|
+
strokeWidth: "1.5"
|
|
98
|
+
}), /* @__PURE__ */ t("path", {
|
|
99
|
+
d: "M4.6 7.1 6.3 8.7 9.4 5.5",
|
|
100
|
+
fill: "none",
|
|
101
|
+
stroke: "currentColor",
|
|
102
|
+
strokeWidth: "1.5",
|
|
103
|
+
strokeLinecap: "round",
|
|
104
|
+
strokeLinejoin: "round"
|
|
105
|
+
})]
|
|
106
|
+
}) : /* @__PURE__ */ n("svg", {
|
|
79
107
|
viewBox: "0 0 14 14",
|
|
80
|
-
className: `size-3.5 shrink-0 ${
|
|
108
|
+
className: `size-3.5 shrink-0 ${c}`,
|
|
81
109
|
"aria-hidden": "true",
|
|
82
110
|
children: [/* @__PURE__ */ t("circle", {
|
|
83
111
|
cx: "7",
|
|
@@ -95,7 +123,7 @@ function o({ category: e, className: r = "" }) {
|
|
|
95
123
|
});
|
|
96
124
|
case "canceled": return /* @__PURE__ */ n("svg", {
|
|
97
125
|
viewBox: "0 0 14 14",
|
|
98
|
-
className: `size-3.5 shrink-0 ${
|
|
126
|
+
className: `size-3.5 shrink-0 ${c}`,
|
|
99
127
|
"aria-hidden": "true",
|
|
100
128
|
children: [/* @__PURE__ */ t("circle", {
|
|
101
129
|
cx: "7",
|
|
@@ -103,7 +131,7 @@ function o({ category: e, className: r = "" }) {
|
|
|
103
131
|
r: "6.25",
|
|
104
132
|
fill: "currentColor"
|
|
105
133
|
}), /* @__PURE__ */ t("path", {
|
|
106
|
-
d: "M4.9 4.9 9.1 9.1M9.1 4.9 4.9 9.1",
|
|
134
|
+
d: l ? "M4.6 5.6h4.8M4.6 8.4h4.8" : "M4.9 4.9 9.1 9.1M9.1 4.9 4.9 9.1",
|
|
107
135
|
stroke: "var(--color-card)",
|
|
108
136
|
strokeWidth: "1.6",
|
|
109
137
|
strokeLinecap: "round"
|
|
@@ -111,18 +139,18 @@ function o({ category: e, className: r = "" }) {
|
|
|
111
139
|
});
|
|
112
140
|
}
|
|
113
141
|
}
|
|
114
|
-
var
|
|
142
|
+
var l = [
|
|
115
143
|
"none",
|
|
116
144
|
"urgent",
|
|
117
145
|
"high",
|
|
118
146
|
"medium",
|
|
119
147
|
"low"
|
|
120
148
|
];
|
|
121
|
-
function
|
|
149
|
+
function u() {
|
|
122
150
|
let t = e("priority");
|
|
123
|
-
return
|
|
151
|
+
return l.map((e) => t(e));
|
|
124
152
|
}
|
|
125
|
-
function
|
|
153
|
+
function ee({ priority: e, className: r = "" }) {
|
|
126
154
|
if (e === 1) return /* @__PURE__ */ n("svg", {
|
|
127
155
|
viewBox: "0 0 14 14",
|
|
128
156
|
className: `size-3.5 shrink-0 text-danger ${r}`,
|
|
@@ -178,7 +206,7 @@ function c({ priority: e, className: r = "" }) {
|
|
|
178
206
|
}, n))
|
|
179
207
|
});
|
|
180
208
|
}
|
|
181
|
-
function
|
|
209
|
+
function d(e) {
|
|
182
210
|
return function({ className: n = "size-4" }) {
|
|
183
211
|
return /* @__PURE__ */ t("svg", {
|
|
184
212
|
viewBox: "0 0 16 16",
|
|
@@ -193,7 +221,7 @@ function l(e) {
|
|
|
193
221
|
});
|
|
194
222
|
};
|
|
195
223
|
}
|
|
196
|
-
function
|
|
224
|
+
function f(e) {
|
|
197
225
|
return function({ className: n = "size-4", ...r }) {
|
|
198
226
|
return /* @__PURE__ */ t(e, {
|
|
199
227
|
className: `shrink-0 ${n}`,
|
|
@@ -201,12 +229,12 @@ function u(e) {
|
|
|
201
229
|
});
|
|
202
230
|
};
|
|
203
231
|
}
|
|
204
|
-
var
|
|
232
|
+
var p = f(i.AddIcon), m = f(i.ColumnsIcon), h = f(i.AttachmentIcon), g = f(i.BranchIcon), _ = f(i.CalendarIcon), v = f(i.ClockIcon), y = f(i.CheckIcon), b = f(i.ChevronDownIcon), x = f(i.ChevronRightIcon), S = f(i.CloseIcon), C = f(i.CommentIcon), w = f(i.DownloadIcon), T = f(i.UploadIcon), E = f(i.ExpandIcon), D = f(i.FileTextIcon), O = f(i.FolderIcon), k = f(i.ChartIcon), A = f(i.BucketIcon), j = f(i.CloudIcon), M = f(i.GridIcon), N = f(i.HistoryIcon), P = f(i.InboxIcon), F = f(i.KeyIcon), I = f(i.MinimizeIcon), L = f(i.LibraryIcon), R = f(i.ListViewIcon), z = f(i.MailIcon), B = f(i.MigrationIcon);
|
|
205
233
|
i.NavigationIcon;
|
|
206
|
-
var
|
|
234
|
+
var V = f(i.NotificationIcon), H = f(i.QueueIcon), U = f(i.ProjectIcon), W = f(i.PullRequestIcon), G = f(i.RepositoryIcon), K = f(i.SearchIcon), te = f(i.SettingsIcon), q = f(i.ShieldIcon), J = f(i.WarningIcon), Y = f(i.ShrinkIcon);
|
|
207
235
|
i.SignOutIcon;
|
|
208
|
-
var
|
|
209
|
-
function
|
|
236
|
+
var X = f(i.TagIcon), Z = f(i.UserIcon), Q = f(i.UsersIcon), ne = f(i.WebhookIcon), re = f(i.WorkerIcon), ie = d("M1.75 9a6.25 4.25 0 1 0 12.5 0 6.25 4.25 0 1 0-12.5 0ZM6.75 3 9 4.75 6.75 6.5"), ae = d("M2.5 3.5h11v9h-11ZM10 3.5v9"), oe = d("M2.5 2.5v11M4.5 4.5h5M6.5 8h7M5.5 11.5h4.5"), se = d("M3 13 13 3M3 9.5 9.5 3M6.5 13 13 6.5"), ce = d("M3.5 2.5h9a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1ZM5.5 5h2a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5Z");
|
|
237
|
+
function le({ className: e = "size-4", provider: n = "github" }) {
|
|
210
238
|
return n === "gitlab" ? /* @__PURE__ */ t(r, {
|
|
211
239
|
className: `shrink-0 ${e}`,
|
|
212
240
|
"aria-hidden": "true"
|
|
@@ -218,10 +246,10 @@ function se({ className: e = "size-4", provider: n = "github" }) {
|
|
|
218
246
|
children: /* @__PURE__ */ t("path", { d: "M8 0a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38v-1.33c-2.23.48-2.7-1.07-2.7-1.07-.36-.92-.89-1.17-.89-1.17-.73-.5.06-.49.06-.49.8.06 1.23.83 1.23.83.72 1.22 1.87.87 2.33.66.07-.52.28-.87.5-1.07-1.78-.2-3.65-.89-3.65-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 0 1 4 0c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.15 0 3.07-1.87 3.75-3.66 3.95.29.25.54.73.54 1.48v2.2c0 .21.15.46.55.38A8 8 0 0 0 8 0Z" })
|
|
219
247
|
});
|
|
220
248
|
}
|
|
221
|
-
var
|
|
249
|
+
var ue = f(i.AddUserIcon), de = f(i.RemoveUserIcon), fe = f(i.ArchiveIcon), pe = f(i.RestoreIcon), $ = f(i.EditIcon), me = f(i.RenameIcon), he = f(i.LinkIcon), ge = f(i.UnlinkIcon);
|
|
222
250
|
i.CommitIcon;
|
|
223
|
-
var
|
|
251
|
+
var _e = f(i.ReleaseIcon), ve = f(i.MegaphoneIcon), ye = f(i.SwapIcon), be = f(i.TrashIcon);
|
|
224
252
|
i.EyeIcon;
|
|
225
|
-
var
|
|
253
|
+
var xe = f(i.SuccessIcon), Se = f(i.CancelIcon), Ce = f(i.AgentIcon);
|
|
226
254
|
i.ArrowRightIcon;
|
|
227
|
-
export {
|
|
255
|
+
export { p as AddIcon, ue as AddUserIcon, Ce as AgentIcon, J as AlertIcon, fe as ArchiveIcon, ce as AreaIcon, h as AttachmentIcon, m as BoardIcon, g as BranchIcon, A as BucketIcon, _ as CalendarIcon, Se as CancelIcon, k as ChartIcon, y as CheckIcon, b as ChevronDownIcon, x as ChevronRightIcon, v as ClockIcon, S as CloseIcon, j as CloudIcon, le as CodeHostIcon, C as CommentIcon, ie as CycleIcon, w as DownloadIcon, $ as EditIcon, se as EstimateIcon, E as ExpandIcon, D as FileTextIcon, O as FolderIcon, M as GridIcon, N as HistoryIcon, P as InboxIcon, F as KeyIcon, L as LibraryIcon, he as LinkIcon, R as ListViewIcon, z as MailIcon, ve as MegaphoneIcon, B as MigrationIcon, I as MinimizeIcon, V as NotificationIcon, ee as PriorityIcon, U as ProjectIcon, W as PullRequestIcon, _e as ReleaseIcon, de as RemoveUserIcon, me as RenameIcon, G as RepositoryIcon, pe as RestoreIcon, K as SearchIcon, te as SettingsIcon, q as ShieldIcon, Y as ShrinkIcon, ae as SidePanelIcon, c as StatusIcon, xe as SuccessIcon, ye as SwapIcon, X as TagIcon, oe as TimelineIcon, be as TrashIcon, H as TriageIcon, ge as UnlinkIcon, T as UploadIcon, Z as UserIcon, Q as UsersIcon, ne as WebhookIcon, re as WorkerIcon, u as usePriorityNames };
|
package/lib/issueMenu.js
CHANGED
|
@@ -166,11 +166,17 @@ function z(e) {
|
|
|
166
166
|
return [
|
|
167
167
|
{
|
|
168
168
|
label: K("status"),
|
|
169
|
-
icon: /* @__PURE__ */ P(b, {
|
|
169
|
+
icon: /* @__PURE__ */ P(b, {
|
|
170
|
+
category: o.status.category,
|
|
171
|
+
step: o.status.step
|
|
172
|
+
}),
|
|
170
173
|
shortcut: "S",
|
|
171
174
|
items: c(o.teamId).map((e) => ({
|
|
172
175
|
label: e.name,
|
|
173
|
-
icon: /* @__PURE__ */ P(b, {
|
|
176
|
+
icon: /* @__PURE__ */ P(b, {
|
|
177
|
+
category: e.category,
|
|
178
|
+
step: e.step
|
|
179
|
+
}),
|
|
174
180
|
checked: l((t) => t.status.name === e.name),
|
|
175
181
|
onClick: () => u((t) => {
|
|
176
182
|
let n = S(e, t);
|
package/lib/issuePicker.js
CHANGED
|
@@ -19,7 +19,10 @@ function s(s, c) {
|
|
|
19
19
|
items: [...(p?.issues ?? []).filter((e) => `${e.identifier} ${e.title}`.toLowerCase().includes(g)), ...d ? m?.issues ?? [] : []].filter((e) => c(e) && !_.has(e.identifier) && _.add(e.identifier)).map((e) => ({
|
|
20
20
|
value: e.identifier,
|
|
21
21
|
label: `${e.identifier} ${e.title}`,
|
|
22
|
-
icon: /* @__PURE__ */ i(t, {
|
|
22
|
+
icon: /* @__PURE__ */ i(t, {
|
|
23
|
+
category: e.status.category,
|
|
24
|
+
step: e.status.step
|
|
25
|
+
})
|
|
23
26
|
})),
|
|
24
27
|
onQueryChange: u,
|
|
25
28
|
loading: d !== "" && h
|
package/package.json
CHANGED
package/pages/triage.js
CHANGED
|
@@ -361,7 +361,10 @@ function U({ workspace: n, issue: i, onBack: s, onDecided: u }) {
|
|
|
361
361
|
children: [
|
|
362
362
|
/* @__PURE__ */ P("span", {
|
|
363
363
|
className: "inline-flex items-center gap-1.5",
|
|
364
|
-
children: [/* @__PURE__ */ N(l, {
|
|
364
|
+
children: [/* @__PURE__ */ N(l, {
|
|
365
|
+
category: O.status.category,
|
|
366
|
+
step: O.status.step
|
|
367
|
+
}), O.status.name]
|
|
365
368
|
}),
|
|
366
369
|
/* @__PURE__ */ P("span", {
|
|
367
370
|
className: "inline-flex items-center gap-1.5",
|
|
@@ -491,7 +491,10 @@ function Le({ workspace: e, docKey: n }) {
|
|
|
491
491
|
onContextMenu: (e) => o(e, s([n])),
|
|
492
492
|
className: "flex h-8 items-center gap-2 rounded-md px-2 text-sm hover:bg-muted",
|
|
493
493
|
children: [
|
|
494
|
-
/* @__PURE__ */ L(m, {
|
|
494
|
+
/* @__PURE__ */ L(m, {
|
|
495
|
+
category: n.status.category,
|
|
496
|
+
step: n.status.step
|
|
497
|
+
}),
|
|
495
498
|
/* @__PURE__ */ L("span", {
|
|
496
499
|
className: "shrink-0 text-muted-foreground",
|
|
497
500
|
children: n.identifier
|
|
@@ -593,7 +596,10 @@ function Be({ workspace: e, docKey: n }) {
|
|
|
593
596
|
onContextMenu: (e) => o(e, c([n])),
|
|
594
597
|
className: l,
|
|
595
598
|
children: [
|
|
596
|
-
/* @__PURE__ */ L(m, {
|
|
599
|
+
/* @__PURE__ */ L(m, {
|
|
600
|
+
category: n.status.category,
|
|
601
|
+
step: n.status.step
|
|
602
|
+
}),
|
|
597
603
|
/* @__PURE__ */ L("span", {
|
|
598
604
|
className: "shrink-0 text-muted-foreground",
|
|
599
605
|
children: n.identifier
|
|
@@ -506,7 +506,10 @@ function zt({ workspace: n, issue: r, team: i, open: o, setOpen: s, update: c })
|
|
|
506
506
|
items: g.map((e) => ({
|
|
507
507
|
value: e.id,
|
|
508
508
|
label: e.name,
|
|
509
|
-
icon: /* @__PURE__ */ q(F, {
|
|
509
|
+
icon: /* @__PURE__ */ q(F, {
|
|
510
|
+
category: e.category,
|
|
511
|
+
step: e.step
|
|
512
|
+
})
|
|
510
513
|
})),
|
|
511
514
|
value: r.status.id,
|
|
512
515
|
onValueChange: (e) => e !== null && e !== r.status.id && c({ statusId: e }),
|
|
@@ -514,7 +517,10 @@ function zt({ workspace: n, issue: r, team: i, open: o, setOpen: s, update: c })
|
|
|
514
517
|
trigger: /* @__PURE__ */ J("button", {
|
|
515
518
|
type: "button",
|
|
516
519
|
className: A,
|
|
517
|
-
children: [/* @__PURE__ */ q(F, {
|
|
520
|
+
children: [/* @__PURE__ */ q(F, {
|
|
521
|
+
category: r.status.category,
|
|
522
|
+
step: r.status.step
|
|
523
|
+
}), r.status.name]
|
|
518
524
|
})
|
|
519
525
|
})
|
|
520
526
|
}),
|
|
@@ -401,7 +401,10 @@ function Y({ workspace: e, identifier: t }) {
|
|
|
401
401
|
children: [
|
|
402
402
|
/* @__PURE__ */ R("span", {
|
|
403
403
|
className: "inline-flex items-center gap-1.5",
|
|
404
|
-
children: [/* @__PURE__ */ L(_, {
|
|
404
|
+
children: [/* @__PURE__ */ L(_, {
|
|
405
|
+
category: n.status.category,
|
|
406
|
+
step: n.status.step
|
|
407
|
+
}), n.status.name]
|
|
405
408
|
}),
|
|
406
409
|
n.priority > 0 && /* @__PURE__ */ R("span", {
|
|
407
410
|
className: "inline-flex items-center gap-1.5",
|