@burdenoff/microfe-planmagnet 2026.930.1 → 2026.930.3
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/planmagnet/links/IssueLinksPanel.d.ts +10 -0
- package/dist/planmagnet/links/IssueLinksPanel.d.ts.map +1 -0
- package/dist/planmagnet/links/IssueLinksPanel.js +221 -0
- package/dist/planmagnet/links/IssueLinksPanel.js.map +1 -0
- package/dist/planmagnet/milestones/MilestoneControls.d.ts +41 -0
- package/dist/planmagnet/milestones/MilestoneControls.d.ts.map +1 -0
- package/dist/planmagnet/milestones/MilestoneControls.js +420 -0
- package/dist/planmagnet/milestones/MilestoneControls.js.map +1 -0
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +59 -59
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.js +184 -166
- package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js +18 -0
- package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.js +114 -95
- package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ProjectsMilestonesPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ProjectsMilestonesPagePage.js +57 -48
- package/dist/planmagnet/pages/ProjectsMilestonesPagePage.js.map +1 -1
- package/dist/planmagnet/pages/TasksCreateTaskPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/TasksCreateTaskPagePage.js +151 -134
- package/dist/planmagnet/pages/TasksCreateTaskPagePage.js.map +1 -1
- package/dist/planmagnet/pages/TasksEditTaskPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/TasksEditTaskPagePage.js +149 -126
- package/dist/planmagnet/pages/TasksEditTaskPagePage.js.map +1 -1
- package/dist/planmagnet/pages/TasksTaskDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/TasksTaskDetailPagePage.js +153 -138
- package/dist/planmagnet/pages/TasksTaskDetailPagePage.js.map +1 -1
- package/dist/planmagnet/roadmaps/FeatureInitiativeCard.d.ts +14 -0
- package/dist/planmagnet/roadmaps/FeatureInitiativeCard.d.ts.map +1 -0
- package/dist/planmagnet/roadmaps/FeatureInitiativeCard.js +166 -0
- package/dist/planmagnet/roadmaps/FeatureInitiativeCard.js.map +1 -0
- package/dist/planmagnet/sprints/SprintControls.d.ts.map +1 -1
- package/dist/planmagnet/sprints/SprintControls.js +239 -243
- package/dist/planmagnet/sprints/SprintControls.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,19 +4,21 @@ import { throwOnError as r } from "../utils/mutationResult.js";
|
|
|
4
4
|
import { DocSearchSelect as i } from "../controls/Pickers.js";
|
|
5
5
|
import { WORK_ITEM_PRIORITIES as a, WorkItemAssigneeSelect as o, WorkItemEnumSelect as s, WorkItemHeaderActions as c, WorkItemStatusSelect as l } from "../controls/WorkItemControls.js";
|
|
6
6
|
import { MarkdownEditor as u } from "../../components/MarkdownEditor.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
7
|
+
import { WorkItemMilestoneSelect as d } from "../milestones/MilestoneControls.js";
|
|
8
|
+
import { WorkItemComments as f } from "../comments/WorkItemComments.js";
|
|
9
|
+
import { WorkItemActivity as p } from "../comments/WorkItemActivity.js";
|
|
10
|
+
import { TaskTimePanel as m } from "../time/TaskTimePanel.js";
|
|
11
|
+
import { CustomFieldsPanel as h } from "../controls/CustomFieldValuesPanel.js";
|
|
12
|
+
import { DependencyPanel as g } from "../dependency/DependencyPanel.js";
|
|
13
|
+
import { IssueLinksPanel as _ } from "../links/IssueLinksPanel.js";
|
|
14
|
+
import { useState as v } from "react";
|
|
15
|
+
import { FileText as y, Link2 as b, Plus as x, X as S } from "lucide-react";
|
|
16
|
+
import { gql as C } from "@apollo/client";
|
|
17
|
+
import { useMutation as w, useQuery as T } from "@apollo/client/react";
|
|
18
|
+
import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
19
|
+
import { Badge as O, Button as k, Card as A, CardContent as j, CardHeader as M, CardTitle as N, Input as P } from "@burdenoff/fe-libs/ui";
|
|
18
20
|
//#region src/planmagnet/pages/TasksTaskDetailPagePage.tsx
|
|
19
|
-
var
|
|
21
|
+
var F = C`
|
|
20
22
|
query GetWorkItemDetail($workItemId: ID!) {
|
|
21
23
|
planmagnetWorkItem(id: $workItemId) {
|
|
22
24
|
id
|
|
@@ -31,6 +33,7 @@ var N = x`
|
|
|
31
33
|
reporterId
|
|
32
34
|
createdBy
|
|
33
35
|
sprintId
|
|
36
|
+
milestoneId
|
|
34
37
|
storyPoints
|
|
35
38
|
estimateMinutes
|
|
36
39
|
dueDate
|
|
@@ -45,7 +48,7 @@ var N = x`
|
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
50
|
}
|
|
48
|
-
`,
|
|
51
|
+
`, I = C`
|
|
49
52
|
query GetWorkItemDocs($workItemId: ID!) {
|
|
50
53
|
planmagnetWorkItemDocs(workItemId: $workItemId) {
|
|
51
54
|
id
|
|
@@ -55,36 +58,36 @@ var N = x`
|
|
|
55
58
|
updatedAt
|
|
56
59
|
}
|
|
57
60
|
}
|
|
58
|
-
`,
|
|
61
|
+
`, L = C`
|
|
59
62
|
mutation CreateDocForWorkItem($input: PlanmagnetCreateDocInput!) {
|
|
60
63
|
planmagnetCreateDoc(input: $input) {
|
|
61
64
|
id
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
|
-
`,
|
|
67
|
+
`, R = C`
|
|
65
68
|
mutation LinkDocToWorkItem($docId: ID!, $workItemId: ID!) {
|
|
66
69
|
planmagnetLinkDocToWorkItem(docId: $docId, workItemId: $workItemId) {
|
|
67
70
|
id
|
|
68
71
|
}
|
|
69
72
|
}
|
|
70
|
-
`,
|
|
73
|
+
`, z = C`
|
|
71
74
|
mutation UnlinkDocFromWorkItem($docId: ID!, $workItemId: ID!) {
|
|
72
75
|
planmagnetUnlinkDocFromWorkItem(docId: $docId, workItemId: $workItemId)
|
|
73
76
|
}
|
|
74
|
-
`,
|
|
77
|
+
`, B = {
|
|
75
78
|
DRAFT: "bg-gray-100 text-gray-800",
|
|
76
79
|
PUBLISHED: "bg-green-100 text-green-800",
|
|
77
80
|
ARCHIVED: "bg-gray-100 text-gray-500"
|
|
78
81
|
};
|
|
79
|
-
function
|
|
80
|
-
let n = t(), [a, o] =
|
|
82
|
+
function V({ workItemId: e }) {
|
|
83
|
+
let n = t(), [a, o] = v(!1), [s, c] = v(!1), [l, d] = v(""), [f, p] = v(""), [m, h] = v(""), { data: g, loading: _, error: C, refetch: O } = T(I, {
|
|
81
84
|
variables: { workItemId: e },
|
|
82
85
|
skip: !e
|
|
83
|
-
}), [
|
|
86
|
+
}), [F, { loading: V }] = w(L), [H, { loading: U }] = w(R), [W, { loading: G }] = w(z), [K, q] = v(null), J = g?.planmagnetWorkItemDocs ?? [], Y = async () => {
|
|
84
87
|
if (!(!f.trim() || !m.trim())) {
|
|
85
88
|
q(null);
|
|
86
89
|
try {
|
|
87
|
-
let t = (await r(
|
|
90
|
+
let t = (await r(F({ variables: { input: {
|
|
88
91
|
title: f.trim(),
|
|
89
92
|
content: m.trim()
|
|
90
93
|
} } }))).data?.planmagnetCreateDoc?.id;
|
|
@@ -96,7 +99,7 @@ function z({ workItemId: e }) {
|
|
|
96
99
|
q(e instanceof Error ? e.message : "The doc could not be saved.");
|
|
97
100
|
return;
|
|
98
101
|
}
|
|
99
|
-
p(""), h(""), o(!1),
|
|
102
|
+
p(""), h(""), o(!1), O();
|
|
100
103
|
}
|
|
101
104
|
}, X = async () => {
|
|
102
105
|
if (l) {
|
|
@@ -110,7 +113,7 @@ function z({ workItemId: e }) {
|
|
|
110
113
|
q(e instanceof Error ? e.message : "The doc could not be linked.");
|
|
111
114
|
return;
|
|
112
115
|
}
|
|
113
|
-
d(""), c(!1),
|
|
116
|
+
d(""), c(!1), O();
|
|
114
117
|
}
|
|
115
118
|
}, Z = async (t) => {
|
|
116
119
|
q(null);
|
|
@@ -123,44 +126,44 @@ function z({ workItemId: e }) {
|
|
|
123
126
|
q(e instanceof Error ? e.message : "The doc could not be unlinked.");
|
|
124
127
|
return;
|
|
125
128
|
}
|
|
126
|
-
|
|
129
|
+
O();
|
|
127
130
|
};
|
|
128
|
-
return /* @__PURE__ */
|
|
131
|
+
return /* @__PURE__ */ D(A, { children: [/* @__PURE__ */ D(M, {
|
|
129
132
|
className: "flex flex-row items-center justify-between space-y-0",
|
|
130
|
-
children: [/* @__PURE__ */
|
|
133
|
+
children: [/* @__PURE__ */ E(N, { children: "Linked Docs" }), !a && !s && /* @__PURE__ */ D("div", {
|
|
131
134
|
className: "flex gap-2",
|
|
132
|
-
children: [/* @__PURE__ */
|
|
135
|
+
children: [/* @__PURE__ */ D(k, {
|
|
133
136
|
size: "sm",
|
|
134
137
|
variant: "outline",
|
|
135
138
|
onClick: () => c(!0),
|
|
136
|
-
children: [/* @__PURE__ */
|
|
137
|
-
}), /* @__PURE__ */
|
|
139
|
+
children: [/* @__PURE__ */ E(b, { className: "h-4 w-4 mr-1" }), "Link existing doc"]
|
|
140
|
+
}), /* @__PURE__ */ D(k, {
|
|
138
141
|
size: "sm",
|
|
139
142
|
variant: "outline",
|
|
140
143
|
onClick: () => o(!0),
|
|
141
|
-
children: [/* @__PURE__ */
|
|
144
|
+
children: [/* @__PURE__ */ E(x, { className: "h-4 w-4 mr-1" }), "New Doc"]
|
|
142
145
|
})]
|
|
143
146
|
})]
|
|
144
|
-
}), /* @__PURE__ */
|
|
147
|
+
}), /* @__PURE__ */ D(j, {
|
|
145
148
|
className: "space-y-4",
|
|
146
149
|
children: [
|
|
147
|
-
s && /* @__PURE__ */
|
|
150
|
+
s && /* @__PURE__ */ D("div", {
|
|
148
151
|
className: "space-y-2 rounded-md border border-input p-3",
|
|
149
|
-
children: [/* @__PURE__ */
|
|
152
|
+
children: [/* @__PURE__ */ E(i, {
|
|
150
153
|
id: "task-link-doc",
|
|
151
154
|
value: l,
|
|
152
155
|
onChange: d,
|
|
153
156
|
exclude: J.map((e) => e.id)
|
|
154
|
-
}), /* @__PURE__ */
|
|
157
|
+
}), /* @__PURE__ */ D("div", {
|
|
155
158
|
className: "flex gap-2 justify-end",
|
|
156
|
-
children: [/* @__PURE__ */
|
|
159
|
+
children: [/* @__PURE__ */ E(k, {
|
|
157
160
|
size: "sm",
|
|
158
161
|
variant: "ghost",
|
|
159
162
|
onClick: () => {
|
|
160
163
|
c(!1), d("");
|
|
161
164
|
},
|
|
162
165
|
children: "Cancel"
|
|
163
|
-
}), /* @__PURE__ */
|
|
166
|
+
}), /* @__PURE__ */ E(k, {
|
|
164
167
|
size: "sm",
|
|
165
168
|
disabled: !l || U,
|
|
166
169
|
onClick: X,
|
|
@@ -168,30 +171,30 @@ function z({ workItemId: e }) {
|
|
|
168
171
|
})]
|
|
169
172
|
})]
|
|
170
173
|
}),
|
|
171
|
-
a && /* @__PURE__ */
|
|
174
|
+
a && /* @__PURE__ */ D("div", {
|
|
172
175
|
className: "space-y-3 rounded-md border border-input p-3",
|
|
173
176
|
children: [
|
|
174
|
-
/* @__PURE__ */
|
|
177
|
+
/* @__PURE__ */ E(P, {
|
|
175
178
|
placeholder: "Doc title",
|
|
176
179
|
value: f,
|
|
177
180
|
onChange: (e) => p(e.target.value)
|
|
178
181
|
}),
|
|
179
|
-
/* @__PURE__ */
|
|
182
|
+
/* @__PURE__ */ E(u, {
|
|
180
183
|
value: m,
|
|
181
184
|
onChange: h,
|
|
182
185
|
placeholder: "Write the spec/doc content...",
|
|
183
186
|
minHeight: 140
|
|
184
187
|
}),
|
|
185
|
-
/* @__PURE__ */
|
|
188
|
+
/* @__PURE__ */ D("div", {
|
|
186
189
|
className: "flex gap-2 justify-end",
|
|
187
|
-
children: [/* @__PURE__ */
|
|
190
|
+
children: [/* @__PURE__ */ E(k, {
|
|
188
191
|
size: "sm",
|
|
189
192
|
variant: "ghost",
|
|
190
193
|
onClick: () => {
|
|
191
194
|
o(!1), p(""), h("");
|
|
192
195
|
},
|
|
193
196
|
children: "Cancel"
|
|
194
|
-
}), /* @__PURE__ */
|
|
197
|
+
}), /* @__PURE__ */ E(k, {
|
|
195
198
|
size: "sm",
|
|
196
199
|
disabled: V || !f.trim() || !m.trim(),
|
|
197
200
|
onClick: Y,
|
|
@@ -200,219 +203,231 @@ function z({ workItemId: e }) {
|
|
|
200
203
|
})
|
|
201
204
|
]
|
|
202
205
|
}),
|
|
203
|
-
|
|
206
|
+
_ && /* @__PURE__ */ E("p", {
|
|
204
207
|
className: "text-sm text-muted-foreground",
|
|
205
208
|
children: "Loading docs..."
|
|
206
209
|
}),
|
|
207
|
-
|
|
210
|
+
C && /* @__PURE__ */ D("p", {
|
|
208
211
|
className: "text-sm text-red-500",
|
|
209
|
-
children: ["Error: ",
|
|
212
|
+
children: ["Error: ", C.message]
|
|
210
213
|
}),
|
|
211
|
-
K && /* @__PURE__ */
|
|
214
|
+
K && /* @__PURE__ */ E("p", {
|
|
212
215
|
role: "alert",
|
|
213
216
|
className: "text-sm text-destructive",
|
|
214
217
|
children: K
|
|
215
218
|
}),
|
|
216
|
-
!
|
|
219
|
+
!_ && !C && J.length === 0 && !a && !s && /* @__PURE__ */ E("p", {
|
|
217
220
|
className: "text-sm text-muted-foreground",
|
|
218
221
|
children: "No docs linked to this work item yet."
|
|
219
222
|
}),
|
|
220
|
-
J.map((e) => /* @__PURE__ */
|
|
223
|
+
J.map((e) => /* @__PURE__ */ D("div", {
|
|
221
224
|
className: "flex items-center justify-between gap-3 rounded-md border border-input p-3",
|
|
222
|
-
children: [/* @__PURE__ */
|
|
225
|
+
children: [/* @__PURE__ */ D("div", {
|
|
223
226
|
className: "flex items-center gap-2 min-w-0",
|
|
224
|
-
children: [/* @__PURE__ */
|
|
227
|
+
children: [/* @__PURE__ */ E(y, { className: "h-4 w-4 text-muted-foreground shrink-0" }), /* @__PURE__ */ D("div", {
|
|
225
228
|
className: "min-w-0",
|
|
226
|
-
children: [/* @__PURE__ */
|
|
229
|
+
children: [/* @__PURE__ */ E("button", {
|
|
227
230
|
type: "button",
|
|
228
231
|
className: "block max-w-full truncate text-left text-sm font-medium hover:underline",
|
|
229
232
|
onClick: () => n(`/docs/doc-detail-page?docId=${encodeURIComponent(e.id)}`),
|
|
230
233
|
children: e.title
|
|
231
|
-
}), /* @__PURE__ */
|
|
234
|
+
}), /* @__PURE__ */ D("p", {
|
|
232
235
|
className: "text-xs text-muted-foreground",
|
|
233
236
|
children: ["v", e.version]
|
|
234
237
|
})]
|
|
235
238
|
})]
|
|
236
|
-
}), /* @__PURE__ */
|
|
239
|
+
}), /* @__PURE__ */ D("div", {
|
|
237
240
|
className: "flex items-center gap-2 shrink-0",
|
|
238
|
-
children: [/* @__PURE__ */
|
|
239
|
-
className: `text-xs px-2 py-0.5 rounded-full capitalize ${
|
|
241
|
+
children: [/* @__PURE__ */ E("span", {
|
|
242
|
+
className: `text-xs px-2 py-0.5 rounded-full capitalize ${B[e.status] ?? ""}`,
|
|
240
243
|
children: e.status.toLowerCase()
|
|
241
|
-
}), /* @__PURE__ */
|
|
244
|
+
}), /* @__PURE__ */ E(k, {
|
|
242
245
|
size: "icon",
|
|
243
246
|
variant: "ghost",
|
|
244
247
|
disabled: G,
|
|
245
248
|
onClick: () => Z(e.id),
|
|
246
249
|
"aria-label": `Unlink ${e.title}`,
|
|
247
|
-
children: /* @__PURE__ */
|
|
250
|
+
children: /* @__PURE__ */ E(S, { className: "h-4 w-4" })
|
|
248
251
|
})]
|
|
249
252
|
})]
|
|
250
253
|
}, e.id))
|
|
251
254
|
]
|
|
252
255
|
})] });
|
|
253
256
|
}
|
|
254
|
-
function
|
|
255
|
-
let { workspaceId: t } = e(), r = new URLSearchParams(window.location.search).get("taskId") ?? "", { data: i, loading: u, error:
|
|
257
|
+
function H() {
|
|
258
|
+
let { workspaceId: t } = e(), r = new URLSearchParams(window.location.search).get("taskId") ?? "", { data: i, loading: u, error: v } = T(F, {
|
|
256
259
|
variables: { workItemId: r },
|
|
257
260
|
skip: !t || !r
|
|
258
261
|
});
|
|
259
|
-
if (u && !i) return /* @__PURE__ */
|
|
262
|
+
if (u && !i) return /* @__PURE__ */ E("div", {
|
|
260
263
|
className: "flex items-center justify-center p-12",
|
|
261
|
-
children: /* @__PURE__ */
|
|
264
|
+
children: /* @__PURE__ */ E("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
262
265
|
});
|
|
263
|
-
if (
|
|
266
|
+
if (v) return /* @__PURE__ */ D("div", {
|
|
264
267
|
className: "p-6 text-red-500",
|
|
265
|
-
children: ["Error: ",
|
|
268
|
+
children: ["Error: ", v.message]
|
|
266
269
|
});
|
|
267
|
-
let
|
|
268
|
-
return
|
|
270
|
+
let y = i?.planmagnetWorkItem;
|
|
271
|
+
return y ? /* @__PURE__ */ D("div", {
|
|
269
272
|
className: "space-y-6 p-6",
|
|
270
|
-
children: [/* @__PURE__ */
|
|
273
|
+
children: [/* @__PURE__ */ D("div", {
|
|
271
274
|
className: "flex items-start justify-between gap-4",
|
|
272
|
-
children: [/* @__PURE__ */
|
|
275
|
+
children: [/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("h1", {
|
|
273
276
|
className: "text-2xl font-semibold",
|
|
274
|
-
children:
|
|
275
|
-
}), /* @__PURE__ */
|
|
277
|
+
children: y.title
|
|
278
|
+
}), /* @__PURE__ */ D("p", {
|
|
276
279
|
className: "text-sm text-muted-foreground",
|
|
277
280
|
children: [
|
|
278
|
-
|
|
281
|
+
y.key,
|
|
279
282
|
" · ",
|
|
280
|
-
|
|
283
|
+
y.type.toLowerCase()
|
|
281
284
|
]
|
|
282
|
-
})] }), /* @__PURE__ */
|
|
283
|
-
workItemId:
|
|
284
|
-
title:
|
|
285
|
+
})] }), /* @__PURE__ */ E(c, {
|
|
286
|
+
workItemId: y.id,
|
|
287
|
+
title: y.title
|
|
285
288
|
})]
|
|
286
|
-
}), /* @__PURE__ */
|
|
289
|
+
}), /* @__PURE__ */ D("div", {
|
|
287
290
|
className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
|
|
288
|
-
children: [/* @__PURE__ */
|
|
291
|
+
children: [/* @__PURE__ */ D("div", {
|
|
289
292
|
className: "lg:col-span-2 space-y-6",
|
|
290
293
|
children: [
|
|
291
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ D(A, { children: [/* @__PURE__ */ E(M, { children: /* @__PURE__ */ E(N, { children: "Description" }) }), /* @__PURE__ */ E(j, { children: /* @__PURE__ */ E("p", {
|
|
292
295
|
className: "text-sm",
|
|
293
|
-
children:
|
|
296
|
+
children: y.description ?? "No description provided."
|
|
294
297
|
}) })] }),
|
|
295
|
-
/* @__PURE__ */
|
|
296
|
-
workItemId:
|
|
297
|
-
projectId:
|
|
298
|
-
values:
|
|
298
|
+
/* @__PURE__ */ E(h, {
|
|
299
|
+
workItemId: y.id,
|
|
300
|
+
projectId: y.projectId,
|
|
301
|
+
values: y.customFieldValues ?? []
|
|
299
302
|
}),
|
|
300
|
-
/* @__PURE__ */
|
|
301
|
-
/* @__PURE__ */
|
|
303
|
+
/* @__PURE__ */ E(V, { workItemId: y.id }),
|
|
304
|
+
/* @__PURE__ */ E(m, {
|
|
302
305
|
workspaceId: t,
|
|
303
|
-
workItemId:
|
|
304
|
-
projectId:
|
|
305
|
-
taskLabel: `${
|
|
306
|
+
workItemId: y.id,
|
|
307
|
+
projectId: y.projectId,
|
|
308
|
+
taskLabel: `${y.key} — ${y.title}`
|
|
306
309
|
}),
|
|
307
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ E(g, {
|
|
308
311
|
workspaceId: t ?? "",
|
|
309
|
-
workItemId:
|
|
310
|
-
projectId:
|
|
312
|
+
workItemId: y.id,
|
|
313
|
+
projectId: y.projectId
|
|
311
314
|
}),
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */
|
|
315
|
+
/* @__PURE__ */ E(_, { workItemId: y.id }),
|
|
316
|
+
/* @__PURE__ */ E(f, { workItemId: y.id }),
|
|
317
|
+
/* @__PURE__ */ E(p, { workItemId: y.id })
|
|
314
318
|
]
|
|
315
|
-
}), /* @__PURE__ */
|
|
319
|
+
}), /* @__PURE__ */ E("div", {
|
|
316
320
|
className: "space-y-6",
|
|
317
|
-
children: /* @__PURE__ */
|
|
321
|
+
children: /* @__PURE__ */ D(A, { children: [/* @__PURE__ */ E(M, { children: /* @__PURE__ */ E(N, { children: "Details" }) }), /* @__PURE__ */ D(j, {
|
|
318
322
|
className: "space-y-3 text-sm",
|
|
319
323
|
children: [
|
|
320
|
-
/* @__PURE__ */
|
|
324
|
+
/* @__PURE__ */ D("div", {
|
|
321
325
|
className: "flex items-start justify-between gap-2",
|
|
322
|
-
children: [/* @__PURE__ */
|
|
326
|
+
children: [/* @__PURE__ */ E("span", {
|
|
323
327
|
className: "text-muted-foreground",
|
|
324
328
|
children: "Status"
|
|
325
|
-
}), /* @__PURE__ */
|
|
326
|
-
workItemId:
|
|
327
|
-
projectId:
|
|
328
|
-
value:
|
|
329
|
+
}), /* @__PURE__ */ E(l, {
|
|
330
|
+
workItemId: y.id,
|
|
331
|
+
projectId: y.projectId,
|
|
332
|
+
value: y.status
|
|
329
333
|
})]
|
|
330
334
|
}),
|
|
331
|
-
/* @__PURE__ */
|
|
335
|
+
/* @__PURE__ */ D("div", {
|
|
332
336
|
className: "flex items-start justify-between gap-2",
|
|
333
|
-
children: [/* @__PURE__ */
|
|
337
|
+
children: [/* @__PURE__ */ E("span", {
|
|
334
338
|
className: "text-muted-foreground",
|
|
335
339
|
children: "Priority"
|
|
336
|
-
}), /* @__PURE__ */
|
|
337
|
-
workItemId:
|
|
340
|
+
}), /* @__PURE__ */ E(s, {
|
|
341
|
+
workItemId: y.id,
|
|
338
342
|
field: "priority",
|
|
339
|
-
value:
|
|
343
|
+
value: y.priority,
|
|
340
344
|
options: a,
|
|
341
345
|
label: "Priority"
|
|
342
346
|
})]
|
|
343
347
|
}),
|
|
344
|
-
/* @__PURE__ */
|
|
348
|
+
/* @__PURE__ */ D("div", {
|
|
345
349
|
className: "flex justify-between",
|
|
346
|
-
children: [/* @__PURE__ */
|
|
350
|
+
children: [/* @__PURE__ */ E("span", {
|
|
347
351
|
className: "text-muted-foreground",
|
|
348
352
|
children: "Type"
|
|
349
|
-
}), /* @__PURE__ */
|
|
353
|
+
}), /* @__PURE__ */ E(O, {
|
|
350
354
|
variant: "outline",
|
|
351
355
|
className: "capitalize",
|
|
352
|
-
children:
|
|
356
|
+
children: y.type.toLowerCase()
|
|
353
357
|
})]
|
|
354
358
|
}),
|
|
355
|
-
/* @__PURE__ */
|
|
359
|
+
/* @__PURE__ */ D("div", {
|
|
360
|
+
className: "flex items-start justify-between gap-2",
|
|
361
|
+
children: [/* @__PURE__ */ E("span", {
|
|
362
|
+
className: "text-muted-foreground",
|
|
363
|
+
children: "Milestone"
|
|
364
|
+
}), /* @__PURE__ */ E(d, {
|
|
365
|
+
workItemId: y.id,
|
|
366
|
+
projectId: y.projectId,
|
|
367
|
+
milestoneId: y.milestoneId
|
|
368
|
+
})]
|
|
369
|
+
}),
|
|
370
|
+
/* @__PURE__ */ D("div", {
|
|
356
371
|
className: "flex justify-between",
|
|
357
|
-
children: [/* @__PURE__ */
|
|
372
|
+
children: [/* @__PURE__ */ E("span", {
|
|
358
373
|
className: "text-muted-foreground",
|
|
359
374
|
children: "Story Points"
|
|
360
|
-
}), /* @__PURE__ */
|
|
375
|
+
}), /* @__PURE__ */ E("span", {
|
|
361
376
|
className: "font-medium",
|
|
362
|
-
children:
|
|
377
|
+
children: y.storyPoints ?? 0
|
|
363
378
|
})]
|
|
364
379
|
}),
|
|
365
|
-
/* @__PURE__ */
|
|
380
|
+
/* @__PURE__ */ D("div", {
|
|
366
381
|
className: "flex items-start justify-between gap-2",
|
|
367
|
-
children: [/* @__PURE__ */
|
|
382
|
+
children: [/* @__PURE__ */ E("span", {
|
|
368
383
|
className: "text-muted-foreground",
|
|
369
384
|
children: "Assignee"
|
|
370
|
-
}), /* @__PURE__ */
|
|
371
|
-
workItemId:
|
|
372
|
-
assigneeId:
|
|
385
|
+
}), /* @__PURE__ */ E(o, {
|
|
386
|
+
workItemId: y.id,
|
|
387
|
+
assigneeId: y.assigneeId
|
|
373
388
|
})]
|
|
374
389
|
}),
|
|
375
|
-
/* @__PURE__ */
|
|
390
|
+
/* @__PURE__ */ D("div", {
|
|
376
391
|
className: "flex justify-between",
|
|
377
|
-
children: [/* @__PURE__ */
|
|
392
|
+
children: [/* @__PURE__ */ E("span", {
|
|
378
393
|
className: "text-muted-foreground",
|
|
379
394
|
children: "Reporter"
|
|
380
|
-
}), /* @__PURE__ */
|
|
395
|
+
}), /* @__PURE__ */ E(n, { id: y.reporterId ?? y.createdBy })]
|
|
381
396
|
}),
|
|
382
|
-
/* @__PURE__ */
|
|
397
|
+
/* @__PURE__ */ D("div", {
|
|
383
398
|
className: "flex justify-between",
|
|
384
|
-
children: [/* @__PURE__ */
|
|
399
|
+
children: [/* @__PURE__ */ E("span", {
|
|
385
400
|
className: "text-muted-foreground",
|
|
386
401
|
children: "Key"
|
|
387
|
-
}), /* @__PURE__ */
|
|
402
|
+
}), /* @__PURE__ */ E("span", { children: y.key })]
|
|
388
403
|
}),
|
|
389
|
-
/* @__PURE__ */
|
|
404
|
+
/* @__PURE__ */ D("div", {
|
|
390
405
|
className: "flex justify-between",
|
|
391
|
-
children: [/* @__PURE__ */
|
|
406
|
+
children: [/* @__PURE__ */ E("span", {
|
|
392
407
|
className: "text-muted-foreground",
|
|
393
408
|
children: "Due Date"
|
|
394
|
-
}), /* @__PURE__ */
|
|
409
|
+
}), /* @__PURE__ */ E("span", { children: y.dueDate ?? "Not set" })]
|
|
395
410
|
}),
|
|
396
|
-
/* @__PURE__ */
|
|
411
|
+
/* @__PURE__ */ D("div", {
|
|
397
412
|
className: "flex justify-between",
|
|
398
|
-
children: [/* @__PURE__ */
|
|
413
|
+
children: [/* @__PURE__ */ E("span", {
|
|
399
414
|
className: "text-muted-foreground",
|
|
400
415
|
children: "Created"
|
|
401
|
-
}), /* @__PURE__ */
|
|
416
|
+
}), /* @__PURE__ */ E("span", { children: y.createdAt })]
|
|
402
417
|
}),
|
|
403
|
-
/* @__PURE__ */
|
|
418
|
+
/* @__PURE__ */ D("div", {
|
|
404
419
|
className: "flex justify-between",
|
|
405
|
-
children: [/* @__PURE__ */
|
|
420
|
+
children: [/* @__PURE__ */ E("span", {
|
|
406
421
|
className: "text-muted-foreground",
|
|
407
422
|
children: "Updated"
|
|
408
|
-
}), /* @__PURE__ */
|
|
423
|
+
}), /* @__PURE__ */ E("span", { children: y.updatedAt })]
|
|
409
424
|
}),
|
|
410
|
-
/* @__PURE__ */
|
|
425
|
+
/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("span", {
|
|
411
426
|
className: "text-muted-foreground text-xs",
|
|
412
427
|
children: "Labels"
|
|
413
|
-
}), /* @__PURE__ */
|
|
428
|
+
}), /* @__PURE__ */ E("div", {
|
|
414
429
|
className: "flex gap-1 mt-1 flex-wrap",
|
|
415
|
-
children: (
|
|
430
|
+
children: (y.labels ?? []).map((e) => /* @__PURE__ */ E("span", {
|
|
416
431
|
className: "text-xs px-2 py-0.5 rounded bg-muted",
|
|
417
432
|
children: e
|
|
418
433
|
}, e))
|
|
@@ -421,12 +436,12 @@ function B() {
|
|
|
421
436
|
})] })
|
|
422
437
|
})]
|
|
423
438
|
})]
|
|
424
|
-
}) : /* @__PURE__ */
|
|
439
|
+
}) : /* @__PURE__ */ E("div", {
|
|
425
440
|
className: "p-6 text-muted-foreground",
|
|
426
441
|
children: "Task not found."
|
|
427
442
|
});
|
|
428
443
|
}
|
|
429
444
|
//#endregion
|
|
430
|
-
export {
|
|
445
|
+
export { H as TasksTaskDetailPagePage };
|
|
431
446
|
|
|
432
447
|
//# sourceMappingURL=TasksTaskDetailPagePage.js.map
|