@burdenoff/microfe-planmagnet 2026.1031.1 → 2026.1108.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/dist/generated/global-types.d.ts +307 -2
- package/dist/generated/wspace-types.d.ts +1333 -9
- package/dist/planmagnet/PlanMagnetRoot.js +111 -117
- package/dist/planmagnet/controls/FeatureTriage.d.ts +2 -2
- package/dist/planmagnet/dependency/DependencyPanel.js +1 -1
- package/dist/planmagnet/pages/AiPlanPagePage.js +160 -122
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +17 -17
- package/dist/planmagnet/pages/DashboardDashboardPagePage.js +6 -6
- package/dist/planmagnet/pages/GoalsCreateObjectivePagePage.js +1 -1
- package/dist/planmagnet/pages/GoalsGoalsPagePage.js +6 -6
- package/dist/planmagnet/pages/GoalsObjectiveDetailPagePage.js +5 -5
- package/dist/planmagnet/pages/ProductsFeatureAnalyticsPagePage.js +9 -9
- package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.js +16 -13
- package/dist/planmagnet/pages/ProductsFeaturesPagePage.js +10 -10
- package/dist/planmagnet/pages/ProductsProductsPagePage.js +3 -3
- package/dist/planmagnet/pages/ProductsReleaseDetailPagePage.js +9 -9
- package/dist/planmagnet/pages/ProductsReleasesPagePage.js +9 -9
- package/dist/planmagnet/pages/ProductsRoadmapAnalyticsPagePage.js +15 -15
- package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js +7 -7
- package/dist/planmagnet/pages/ProjectsActiveProjectsPagePage.js +1 -1
- package/dist/planmagnet/pages/ProjectsCriticalPathPagePage.js +1 -1
- package/dist/planmagnet/pages/ProjectsCustomFieldsPagePage.js +1 -1
- package/dist/planmagnet/pages/ProjectsGanttPagePage.js +1 -1
- package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.js +13 -10
- package/dist/planmagnet/pages/ProjectsMilestonesPagePage.js +6 -6
- package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.js +3 -3
- package/dist/planmagnet/pages/ProjectsPlanningPagePage.js +8 -8
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +26 -23
- package/dist/planmagnet/pages/ProjectsProjectsPagePage.js +8 -8
- package/dist/planmagnet/pages/RisksRiskDetailPagePage.js +7 -7
- package/dist/planmagnet/pages/RisksRiskRegisterPagePage.js +13 -13
- package/dist/planmagnet/pages/SprintsStartSprintPagePage.js +1 -1
- package/dist/planmagnet/pages/TasksTaskDetailPagePage.js +5 -5
- package/dist/planmagnet/pages/TasksTasksPagePage.js +16 -16
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.js +6 -6
- package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js +5 -5
- package/package.json +1 -1
|
@@ -134,7 +134,7 @@ function I() {
|
|
|
134
134
|
children: /* @__PURE__ */ E("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
135
135
|
});
|
|
136
136
|
if (z) return /* @__PURE__ */ D("div", {
|
|
137
|
-
className: "p-6 text-
|
|
137
|
+
className: "p-6 text-status-error-text",
|
|
138
138
|
children: [
|
|
139
139
|
I("planmagnet.dashboard.errorLoading", "Error loading dashboard"),
|
|
140
140
|
": ",
|
|
@@ -205,7 +205,7 @@ function I() {
|
|
|
205
205
|
className: "lg:col-span-8",
|
|
206
206
|
children: [/* @__PURE__ */ E(j, { children: /* @__PURE__ */ D(M, {
|
|
207
207
|
className: "flex items-center gap-2 text-base",
|
|
208
|
-
children: [/* @__PURE__ */ E(S, { className: "h-5 w-5 text-
|
|
208
|
+
children: [/* @__PURE__ */ E(S, { className: "h-5 w-5 text-status-info-text" }), I("planmagnet.dashboard.activeSprints.title", "Active Sprints")]
|
|
209
209
|
}) }), /* @__PURE__ */ D(A, {
|
|
210
210
|
className: "space-y-4",
|
|
211
211
|
children: [K.map((e) => {
|
|
@@ -275,7 +275,7 @@ function I() {
|
|
|
275
275
|
className: "lg:col-span-4 space-y-6",
|
|
276
276
|
children: [G.length > 0 && /* @__PURE__ */ D(k, { children: [/* @__PURE__ */ E(j, { children: /* @__PURE__ */ D(M, {
|
|
277
277
|
className: "flex items-center gap-2 text-base",
|
|
278
|
-
children: [/* @__PURE__ */ E(m, { className: "h-5 w-5 text-
|
|
278
|
+
children: [/* @__PURE__ */ E(m, { className: "h-5 w-5 text-status-warning-text" }), I("planmagnet.dashboard.onHoldProjects.title", "On-Hold Projects")]
|
|
279
279
|
}) }), /* @__PURE__ */ E(A, {
|
|
280
280
|
className: "space-y-3",
|
|
281
281
|
children: G.map((e) => /* @__PURE__ */ D("div", {
|
|
@@ -290,7 +290,7 @@ function I() {
|
|
|
290
290
|
}, e.id))
|
|
291
291
|
})] }), /* @__PURE__ */ D(k, { children: [/* @__PURE__ */ E(j, { children: /* @__PURE__ */ D(M, {
|
|
292
292
|
className: "flex items-center gap-2 text-base",
|
|
293
|
-
children: [/* @__PURE__ */ E(g, { className: "h-5 w-5 text-
|
|
293
|
+
children: [/* @__PURE__ */ E(g, { className: "h-5 w-5 text-status-success-text" }), I("planmagnet.dashboard.upcomingMilestones.title", "Upcoming Milestones")]
|
|
294
294
|
}) }), /* @__PURE__ */ D(A, {
|
|
295
295
|
className: "space-y-3",
|
|
296
296
|
children: [q.map((e) => /* @__PURE__ */ D("div", {
|
|
@@ -337,7 +337,7 @@ function I() {
|
|
|
337
337
|
className: "grid gap-6 lg:grid-cols-2",
|
|
338
338
|
children: [/* @__PURE__ */ D(k, { children: [/* @__PURE__ */ E(j, { children: /* @__PURE__ */ D(M, {
|
|
339
339
|
className: "flex items-center gap-2 text-base",
|
|
340
|
-
children: [/* @__PURE__ */ E(_, { className: "h-5 w-5 text-
|
|
340
|
+
children: [/* @__PURE__ */ E(_, { className: "h-5 w-5 text-chart-3" }), I("planmagnet.dashboard.recentWorkItems.title", "Recent Work Items")]
|
|
341
341
|
}) }), /* @__PURE__ */ D(A, {
|
|
342
342
|
className: "space-y-3",
|
|
343
343
|
children: [J.map((e) => /* @__PURE__ */ D("div", {
|
|
@@ -381,7 +381,7 @@ function I() {
|
|
|
381
381
|
})]
|
|
382
382
|
})] }), /* @__PURE__ */ D(k, { children: [/* @__PURE__ */ E(j, { children: /* @__PURE__ */ D(M, {
|
|
383
383
|
className: "flex items-center gap-2 text-base",
|
|
384
|
-
children: [/* @__PURE__ */ E(v, { className: "h-5 w-5 text-
|
|
384
|
+
children: [/* @__PURE__ */ E(v, { className: "h-5 w-5 text-chart-1" }), I("planmagnet.dashboard.projectStatus.title", "Project Status")]
|
|
385
385
|
}) }), /* @__PURE__ */ D(A, {
|
|
386
386
|
className: "space-y-3",
|
|
387
387
|
children: [W.map((e) => /* @__PURE__ */ D("div", {
|
|
@@ -63,7 +63,7 @@ function _() {
|
|
|
63
63
|
})]
|
|
64
64
|
}),
|
|
65
65
|
x && /* @__PURE__ */ l("div", {
|
|
66
|
-
className: "p-6 text-
|
|
66
|
+
className: "p-6 text-status-error-text",
|
|
67
67
|
children: ["Error: ", x.message]
|
|
68
68
|
}),
|
|
69
69
|
/* @__PURE__ */ l(d, { children: [/* @__PURE__ */ c(p, { children: /* @__PURE__ */ l(m, {
|
|
@@ -27,10 +27,10 @@ var _ = c`
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
`, v = {
|
|
30
|
-
DRAFT: "bg-
|
|
31
|
-
ACTIVE: "bg-
|
|
32
|
-
COMPLETED: "bg-
|
|
33
|
-
CANCELLED: "bg-
|
|
30
|
+
DRAFT: "bg-bg-muted text-text-primary",
|
|
31
|
+
ACTIVE: "bg-status-info-subtle text-status-info-text",
|
|
32
|
+
COMPLETED: "bg-status-success-subtle text-status-success-text",
|
|
33
|
+
CANCELLED: "bg-status-error-subtle text-status-error-text"
|
|
34
34
|
}, y = [
|
|
35
35
|
"all",
|
|
36
36
|
"DRAFT",
|
|
@@ -67,7 +67,7 @@ function x() {
|
|
|
67
67
|
children: /* @__PURE__ */ u("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
68
68
|
});
|
|
69
69
|
if (E) return /* @__PURE__ */ d("div", {
|
|
70
|
-
className: "p-6 text-
|
|
70
|
+
className: "p-6 text-status-error-text",
|
|
71
71
|
children: ["Error loading objectives: ", E.message]
|
|
72
72
|
});
|
|
73
73
|
let D = w?.planmagnetObjectives?.items ?? [], O = w?.planmagnetObjectives?.totalCount ?? 0;
|
|
@@ -109,7 +109,7 @@ function x() {
|
|
|
109
109
|
className: "text-base flex items-center gap-2",
|
|
110
110
|
children: [/* @__PURE__ */ u(a, { className: "h-4 w-4 text-primary" }), e.title]
|
|
111
111
|
}), /* @__PURE__ */ u("span", {
|
|
112
|
-
className: `text-xs px-2 py-0.5 rounded-full capitalize ${v[e.status] ?? "bg-
|
|
112
|
+
className: `text-xs px-2 py-0.5 rounded-full capitalize ${v[e.status] ?? "bg-bg-muted"}`,
|
|
113
113
|
children: e.status.toLowerCase()
|
|
114
114
|
})]
|
|
115
115
|
})
|
|
@@ -77,10 +77,10 @@ var D = h`
|
|
|
77
77
|
planmagnetDeleteObjective(id: $id)
|
|
78
78
|
}
|
|
79
79
|
`, M = {
|
|
80
|
-
NOT_STARTED: "bg-
|
|
81
|
-
IN_PROGRESS: "bg-
|
|
82
|
-
AT_RISK: "bg-
|
|
83
|
-
COMPLETED: "bg-
|
|
80
|
+
NOT_STARTED: "bg-bg-muted text-text-primary",
|
|
81
|
+
IN_PROGRESS: "bg-status-info-subtle text-status-info-text",
|
|
82
|
+
AT_RISK: "bg-status-warning-subtle text-status-warning-text",
|
|
83
|
+
COMPLETED: "bg-status-success-subtle text-status-success-text"
|
|
84
84
|
};
|
|
85
85
|
function N({ progress: e }) {
|
|
86
86
|
return /* @__PURE__ */ v("div", {
|
|
@@ -250,7 +250,7 @@ function F() {
|
|
|
250
250
|
children: /* @__PURE__ */ v("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
251
251
|
});
|
|
252
252
|
if (B) return /* @__PURE__ */ y("div", {
|
|
253
|
-
className: "p-6 text-
|
|
253
|
+
className: "p-6 text-status-error-text",
|
|
254
254
|
children: ["Error: ", B.message]
|
|
255
255
|
});
|
|
256
256
|
let J = R?.planmagnetObjective;
|
|
@@ -106,7 +106,7 @@ function v() {
|
|
|
106
106
|
children: S.voteCount
|
|
107
107
|
}),
|
|
108
108
|
/* @__PURE__ */ f("p", {
|
|
109
|
-
className: "text-xs text-
|
|
109
|
+
className: "text-xs text-status-success-text mt-1",
|
|
110
110
|
children: [
|
|
111
111
|
"Rank #",
|
|
112
112
|
S.voteRank,
|
|
@@ -208,14 +208,14 @@ function v() {
|
|
|
208
208
|
className: "w-full h-2 rounded-full bg-muted overflow-hidden",
|
|
209
209
|
children: /* @__PURE__ */ d("div", {
|
|
210
210
|
className: `h-full rounded-full ${{
|
|
211
|
-
SUBMITTED: "bg-
|
|
212
|
-
UNDER_REVIEW: "bg-
|
|
213
|
-
PLANNED: "bg-
|
|
214
|
-
IN_PROGRESS: "bg-
|
|
215
|
-
COMPLETED: "bg-
|
|
216
|
-
DECLINED: "bg-
|
|
217
|
-
DUPLICATE: "bg-
|
|
218
|
-
}[e] ?? "bg-
|
|
211
|
+
SUBMITTED: "bg-border-strong",
|
|
212
|
+
UNDER_REVIEW: "bg-status-warning",
|
|
213
|
+
PLANNED: "bg-status-info",
|
|
214
|
+
IN_PROGRESS: "bg-chart-3",
|
|
215
|
+
COMPLETED: "bg-status-success",
|
|
216
|
+
DECLINED: "bg-status-error",
|
|
217
|
+
DUPLICATE: "bg-status-warning"
|
|
218
|
+
}[e] ?? "bg-border-strong"}`,
|
|
219
219
|
style: { width: `${r}%` }
|
|
220
220
|
})
|
|
221
221
|
})] }, e);
|
|
@@ -155,15 +155,18 @@ function N() {
|
|
|
155
155
|
className: "font-medium",
|
|
156
156
|
children: "Duplicate of "
|
|
157
157
|
}),
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
158
|
+
(() => {
|
|
159
|
+
let e = B.duplicateOf;
|
|
160
|
+
return e ? /* @__PURE__ */ T("button", {
|
|
161
|
+
type: "button",
|
|
162
|
+
className: "text-primary underline-offset-2 hover:underline",
|
|
163
|
+
onClick: () => P(r("/products/feature-detail-page", e.id)),
|
|
164
|
+
children: e.title
|
|
165
|
+
}) : /* @__PURE__ */ T("span", {
|
|
166
|
+
className: "text-muted-foreground",
|
|
167
|
+
children: "a request that has since been deleted"
|
|
168
|
+
});
|
|
169
|
+
})(),
|
|
167
170
|
" ",
|
|
168
171
|
"— its votes were moved there."
|
|
169
172
|
]
|
|
@@ -189,7 +192,7 @@ function N() {
|
|
|
189
192
|
/* @__PURE__ */ T(O, { children: /* @__PURE__ */ E(k, {
|
|
190
193
|
className: "pt-4 text-center",
|
|
191
194
|
children: [
|
|
192
|
-
/* @__PURE__ */ T(b, { className: "h-5 w-5 mx-auto text-
|
|
195
|
+
/* @__PURE__ */ T(b, { className: "h-5 w-5 mx-auto text-status-success-text" }),
|
|
193
196
|
/* @__PURE__ */ T("p", {
|
|
194
197
|
className: "text-2xl font-bold mt-1",
|
|
195
198
|
children: B.voteCount
|
|
@@ -203,7 +206,7 @@ function N() {
|
|
|
203
206
|
/* @__PURE__ */ T(O, { children: /* @__PURE__ */ E(k, {
|
|
204
207
|
className: "pt-4 text-center",
|
|
205
208
|
children: [
|
|
206
|
-
/* @__PURE__ */ T(v, { className: "h-5 w-5 mx-auto text-
|
|
209
|
+
/* @__PURE__ */ T(v, { className: "h-5 w-5 mx-auto text-status-warning-text" }),
|
|
207
210
|
/* @__PURE__ */ T("p", {
|
|
208
211
|
className: "text-2xl font-bold mt-1",
|
|
209
212
|
children: B.businessValue ?? 0
|
|
@@ -217,7 +220,7 @@ function N() {
|
|
|
217
220
|
/* @__PURE__ */ T(O, { children: /* @__PURE__ */ E(k, {
|
|
218
221
|
className: "pt-4 text-center",
|
|
219
222
|
children: [
|
|
220
|
-
/* @__PURE__ */ T(_, { className: "h-5 w-5 mx-auto text-
|
|
223
|
+
/* @__PURE__ */ T(_, { className: "h-5 w-5 mx-auto text-status-info-text" }),
|
|
221
224
|
/* @__PURE__ */ T("p", {
|
|
222
225
|
className: "text-2xl font-bold mt-1",
|
|
223
226
|
children: H.length
|
|
@@ -258,7 +261,7 @@ function N() {
|
|
|
258
261
|
children: e.comment
|
|
259
262
|
})] }), /* @__PURE__ */ E("div", {
|
|
260
263
|
className: "flex items-center gap-1",
|
|
261
|
-
children: [/* @__PURE__ */ T(b, { className: "h-3 w-3 text-
|
|
264
|
+
children: [/* @__PURE__ */ T(b, { className: "h-3 w-3 text-status-success-text" }), /* @__PURE__ */ T("span", {
|
|
262
265
|
className: "text-sm font-bold",
|
|
263
266
|
children: e.weight
|
|
264
267
|
})]
|
|
@@ -55,13 +55,13 @@ var A = S`
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
`, j = {
|
|
58
|
-
SUBMITTED: "bg-
|
|
59
|
-
UNDER_REVIEW: "bg-
|
|
60
|
-
PLANNED: "bg-
|
|
61
|
-
IN_PROGRESS: "bg-
|
|
62
|
-
COMPLETED: "bg-
|
|
63
|
-
DECLINED: "bg-
|
|
64
|
-
DUPLICATE: "bg-
|
|
58
|
+
SUBMITTED: "bg-bg-muted text-text-primary",
|
|
59
|
+
UNDER_REVIEW: "bg-status-warning-subtle text-status-warning-text",
|
|
60
|
+
PLANNED: "bg-status-info-subtle text-status-info-text",
|
|
61
|
+
IN_PROGRESS: "bg-bg-muted text-chart-3",
|
|
62
|
+
COMPLETED: "bg-status-success-subtle text-status-success-text",
|
|
63
|
+
DECLINED: "bg-status-error-subtle text-status-error-text",
|
|
64
|
+
DUPLICATE: "bg-status-warning-subtle text-status-warning-text"
|
|
65
65
|
};
|
|
66
66
|
function M() {
|
|
67
67
|
let S = t(), { workspaceId: M } = e(), [N, P] = _("all"), [F] = _(() => Date.now()), [I, L] = _("NEWEST"), [R, z] = _(!1), [B, V] = _(""), [H, U] = _(""), [W, G] = _(""), K = i(), q = {
|
|
@@ -290,7 +290,7 @@ function M() {
|
|
|
290
290
|
children: e.title
|
|
291
291
|
}),
|
|
292
292
|
/* @__PURE__ */ w("span", {
|
|
293
|
-
className: `text-[10px] px-1.5 py-0.5 rounded-full capitalize ${j[e.status] ?? "bg-
|
|
293
|
+
className: `text-[10px] px-1.5 py-0.5 rounded-full capitalize ${j[e.status] ?? "bg-bg-muted"}`,
|
|
294
294
|
children: e.status.toLowerCase().replace("_", " ")
|
|
295
295
|
}),
|
|
296
296
|
/* @__PURE__ */ w(m, {
|
|
@@ -352,7 +352,7 @@ function M() {
|
|
|
352
352
|
className: "text-center",
|
|
353
353
|
children: [/* @__PURE__ */ T("div", {
|
|
354
354
|
className: "flex items-center gap-1",
|
|
355
|
-
children: [/* @__PURE__ */ w(x, { className: "h-3 w-3 text-
|
|
355
|
+
children: [/* @__PURE__ */ w(x, { className: "h-3 w-3 text-status-success-text" }), /* @__PURE__ */ w("span", {
|
|
356
356
|
className: "text-sm font-bold",
|
|
357
357
|
children: e.voteCount
|
|
358
358
|
})]
|
|
@@ -365,7 +365,7 @@ function M() {
|
|
|
365
365
|
className: "text-center",
|
|
366
366
|
children: [/* @__PURE__ */ T("div", {
|
|
367
367
|
className: "flex items-center gap-1",
|
|
368
|
-
children: [/* @__PURE__ */ w(ie, { className: "h-3 w-3 text-
|
|
368
|
+
children: [/* @__PURE__ */ w(ie, { className: "h-3 w-3 text-status-warning-text" }), /* @__PURE__ */ w("span", {
|
|
369
369
|
className: "text-sm font-bold",
|
|
370
370
|
children: e.businessValue ?? 0
|
|
371
371
|
})]
|
|
@@ -106,19 +106,19 @@ function E() {
|
|
|
106
106
|
label: D("planmagnet.products.metrics.totalProducts", "Total Products"),
|
|
107
107
|
val: P,
|
|
108
108
|
icon: d,
|
|
109
|
-
color: "text-
|
|
109
|
+
color: "text-status-info-text"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
label: D("planmagnet.products.metrics.roadmaps", "Linked roadmaps"),
|
|
113
113
|
val: N.reduce((e, t) => e + t.roadmaps.length, 0),
|
|
114
114
|
icon: u,
|
|
115
|
-
color: "text-
|
|
115
|
+
color: "text-status-success-text"
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
label: D("planmagnet.products.metrics.releases", "Linked releases"),
|
|
119
119
|
val: N.reduce((e, t) => e + t.releases.length, 0),
|
|
120
120
|
icon: c,
|
|
121
|
-
color: "text-
|
|
121
|
+
color: "text-chart-3"
|
|
122
122
|
}
|
|
123
123
|
].map((e) => /* @__PURE__ */ g(b, { children: /* @__PURE__ */ g(x, {
|
|
124
124
|
className: "pt-6",
|
|
@@ -43,13 +43,13 @@ var w = m`
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
`, T = {
|
|
46
|
-
DRAFT: "bg-
|
|
47
|
-
PLANNING: "bg-
|
|
48
|
-
IN_PROGRESS: "bg-
|
|
49
|
-
READY: "bg-
|
|
50
|
-
RELEASED: "bg-
|
|
51
|
-
CANCELLED: "bg-
|
|
52
|
-
ROLLED_BACK: "bg-
|
|
46
|
+
DRAFT: "bg-bg-muted text-text-primary",
|
|
47
|
+
PLANNING: "bg-status-warning-subtle text-status-warning-text",
|
|
48
|
+
IN_PROGRESS: "bg-status-info-subtle text-status-info-text",
|
|
49
|
+
READY: "bg-status-warning-subtle text-status-warning-text",
|
|
50
|
+
RELEASED: "bg-status-success-subtle text-status-success-text",
|
|
51
|
+
CANCELLED: "bg-status-error-subtle text-status-error-text",
|
|
52
|
+
ROLLED_BACK: "bg-status-error-subtle text-status-error-text"
|
|
53
53
|
};
|
|
54
54
|
function E() {
|
|
55
55
|
let { workspaceId: m } = e(), E = p().id ?? "", { data: D, loading: O, error: k } = h(w, {
|
|
@@ -83,7 +83,7 @@ function E() {
|
|
|
83
83
|
children: A.version
|
|
84
84
|
}),
|
|
85
85
|
/* @__PURE__ */ g("span", {
|
|
86
|
-
className: `text-xs px-2 py-0.5 rounded-full capitalize ${T[A.status] ?? "bg-
|
|
86
|
+
className: `text-xs px-2 py-0.5 rounded-full capitalize ${T[A.status] ?? "bg-bg-muted"}`,
|
|
87
87
|
children: A.status.toLowerCase().replace("_", " ")
|
|
88
88
|
})
|
|
89
89
|
]
|
|
@@ -198,7 +198,7 @@ function E() {
|
|
|
198
198
|
}), A.releasedAt && /* @__PURE__ */ _("div", {
|
|
199
199
|
className: "flex items-center gap-2",
|
|
200
200
|
children: [
|
|
201
|
-
/* @__PURE__ */ g(u, { className: "h-4 w-4 text-
|
|
201
|
+
/* @__PURE__ */ g(u, { className: "h-4 w-4 text-status-success-text" }),
|
|
202
202
|
/* @__PURE__ */ g("span", {
|
|
203
203
|
className: "text-muted-foreground",
|
|
204
204
|
children: "Released:"
|
|
@@ -46,13 +46,13 @@ var y = u`
|
|
|
46
46
|
"ROLLED_BACK",
|
|
47
47
|
"CANCELLED"
|
|
48
48
|
], x = {
|
|
49
|
-
DRAFT: "bg-
|
|
50
|
-
PLANNING: "bg-
|
|
51
|
-
IN_PROGRESS: "bg-
|
|
52
|
-
READY: "bg-
|
|
53
|
-
RELEASED: "bg-
|
|
54
|
-
CANCELLED: "bg-
|
|
55
|
-
ROLLED_BACK: "bg-
|
|
49
|
+
DRAFT: "bg-bg-muted text-text-primary",
|
|
50
|
+
PLANNING: "bg-status-warning-subtle text-status-warning-text",
|
|
51
|
+
IN_PROGRESS: "bg-status-info-subtle text-status-info-text",
|
|
52
|
+
READY: "bg-status-warning-subtle text-status-warning-text",
|
|
53
|
+
RELEASED: "bg-status-success-subtle text-status-success-text",
|
|
54
|
+
CANCELLED: "bg-status-error-subtle text-status-error-text",
|
|
55
|
+
ROLLED_BACK: "bg-status-error-subtle text-status-error-text"
|
|
56
56
|
};
|
|
57
57
|
function S() {
|
|
58
58
|
let { workspaceId: u } = e(), S = t(), [C, w] = o("all"), { data: T, loading: E, error: D } = d(y, {
|
|
@@ -108,7 +108,7 @@ function S() {
|
|
|
108
108
|
children: e.version
|
|
109
109
|
})
|
|
110
110
|
}), /* @__PURE__ */ f("span", {
|
|
111
|
-
className: `text-xs px-2 py-0.5 rounded-full capitalize ${x[e.status] ?? "bg-
|
|
111
|
+
className: `text-xs px-2 py-0.5 rounded-full capitalize ${x[e.status] ?? "bg-bg-muted"}`,
|
|
112
112
|
children: e.status.toLowerCase().replace("_", " ")
|
|
113
113
|
})]
|
|
114
114
|
}), /* @__PURE__ */ f(v, {
|
|
@@ -129,7 +129,7 @@ function S() {
|
|
|
129
129
|
children: [
|
|
130
130
|
/* @__PURE__ */ f(l, { className: "h-3.5 w-3.5" }),
|
|
131
131
|
"Owner: ",
|
|
132
|
-
/* @__PURE__ */ f(n, { id: e.ownerId })
|
|
132
|
+
e.ownerId ? /* @__PURE__ */ f(n, { id: e.ownerId }) : "—"
|
|
133
133
|
]
|
|
134
134
|
}), /* @__PURE__ */ p("div", {
|
|
135
135
|
className: "flex items-center gap-1 text-muted-foreground",
|
|
@@ -256,13 +256,13 @@ function w() {
|
|
|
256
256
|
className: "w-full h-2 rounded-full bg-muted overflow-hidden",
|
|
257
257
|
children: /* @__PURE__ */ h("div", {
|
|
258
258
|
className: `h-full rounded-full ${{
|
|
259
|
-
TODO: "bg-
|
|
260
|
-
PLANNED: "bg-
|
|
261
|
-
IN_PROGRESS: "bg-
|
|
262
|
-
BLOCKED: "bg-
|
|
263
|
-
DONE: "bg-
|
|
264
|
-
COMPLETED: "bg-
|
|
265
|
-
}[e] ?? "bg-
|
|
259
|
+
TODO: "bg-border-strong",
|
|
260
|
+
PLANNED: "bg-status-warning",
|
|
261
|
+
IN_PROGRESS: "bg-status-info",
|
|
262
|
+
BLOCKED: "bg-status-error",
|
|
263
|
+
DONE: "bg-status-success",
|
|
264
|
+
COMPLETED: "bg-status-success"
|
|
265
|
+
}[e] ?? "bg-border-strong"}`,
|
|
266
266
|
style: { width: `${r}%` }
|
|
267
267
|
})
|
|
268
268
|
})] }, e);
|
|
@@ -296,13 +296,13 @@ function w() {
|
|
|
296
296
|
className: "w-full h-2 rounded-full bg-muted overflow-hidden",
|
|
297
297
|
children: /* @__PURE__ */ h("div", {
|
|
298
298
|
className: `h-full rounded-full ${{
|
|
299
|
-
SUBMITTED: "bg-
|
|
300
|
-
UNDER_REVIEW: "bg-
|
|
301
|
-
PLANNED: "bg-
|
|
302
|
-
IN_PROGRESS: "bg-
|
|
303
|
-
COMPLETED: "bg-
|
|
304
|
-
DECLINED: "bg-
|
|
305
|
-
}[e] ?? "bg-
|
|
299
|
+
SUBMITTED: "bg-border-strong",
|
|
300
|
+
UNDER_REVIEW: "bg-status-warning",
|
|
301
|
+
PLANNED: "bg-status-info",
|
|
302
|
+
IN_PROGRESS: "bg-chart-3",
|
|
303
|
+
COMPLETED: "bg-status-success",
|
|
304
|
+
DECLINED: "bg-status-error"
|
|
305
|
+
}[e] ?? "bg-border-strong"}`,
|
|
306
306
|
style: { width: `${r}%` }
|
|
307
307
|
})
|
|
308
308
|
})] }, e);
|
|
@@ -346,7 +346,7 @@ function w() {
|
|
|
346
346
|
className: "text-xs text-muted-foreground",
|
|
347
347
|
children: ["Due: ", e.endDate ? new Date(e.endDate).toLocaleDateString() : "N/A"]
|
|
348
348
|
})] }), /* @__PURE__ */ h("span", {
|
|
349
|
-
className: "text-xs px-2 py-0.5 rounded-full bg-
|
|
349
|
+
className: "text-xs px-2 py-0.5 rounded-full bg-status-error-subtle text-status-error-text capitalize",
|
|
350
350
|
children: e.status.toLowerCase().replace("_", " ")
|
|
351
351
|
})]
|
|
352
352
|
}, e.id))
|
|
@@ -63,12 +63,12 @@ var M = ["GetRoadmapDetailPage"], N = S`
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
`, P = (e) => e === "timeline" || e === "nnl", F = {
|
|
66
|
-
TODO: "bg-
|
|
67
|
-
IN_PROGRESS: "bg-
|
|
68
|
-
DONE: "bg-
|
|
69
|
-
COMPLETED: "bg-
|
|
70
|
-
BLOCKED: "bg-
|
|
71
|
-
PLANNED: "bg-
|
|
66
|
+
TODO: "bg-bg-muted text-text-primary",
|
|
67
|
+
IN_PROGRESS: "bg-status-info-subtle text-status-info-text",
|
|
68
|
+
DONE: "bg-status-success-subtle text-status-success-text",
|
|
69
|
+
COMPLETED: "bg-status-success-subtle text-status-success-text",
|
|
70
|
+
BLOCKED: "bg-status-error-subtle text-status-error-text",
|
|
71
|
+
PLANNED: "bg-status-warning-subtle text-status-warning-text"
|
|
72
72
|
};
|
|
73
73
|
function I() {
|
|
74
74
|
let { workspaceId: S } = e(), I = x().id ?? "", L = t(), R = c("ROADMAP", I || null), [z, B] = y(!1), V = a({
|
|
@@ -313,7 +313,7 @@ function I() {
|
|
|
313
313
|
style: { backgroundColor: e.color }
|
|
314
314
|
}),
|
|
315
315
|
/* @__PURE__ */ w("span", {
|
|
316
|
-
className: `text-xs px-2 py-0.5 rounded-full capitalize ${F[e.status] ?? "bg-
|
|
316
|
+
className: `text-xs px-2 py-0.5 rounded-full capitalize ${F[e.status] ?? "bg-bg-muted"}`,
|
|
317
317
|
children: e.status.toLowerCase().replace("_", " ")
|
|
318
318
|
}),
|
|
319
319
|
/* @__PURE__ */ w(d, {
|
|
@@ -38,7 +38,7 @@ function g() {
|
|
|
38
38
|
children: /* @__PURE__ */ c("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
39
39
|
});
|
|
40
40
|
if (y) return /* @__PURE__ */ l("div", {
|
|
41
|
-
className: "p-6 text-
|
|
41
|
+
className: "p-6 text-status-error-text",
|
|
42
42
|
children: ["Error loading active projects: ", y.message]
|
|
43
43
|
});
|
|
44
44
|
let b = _?.planmagnetProjects?.items ?? [];
|
|
@@ -138,7 +138,7 @@ function D() {
|
|
|
138
138
|
children: /* @__PURE__ */ h("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
139
139
|
});
|
|
140
140
|
if (F) return /* @__PURE__ */ g("div", {
|
|
141
|
-
className: "p-6 text-
|
|
141
|
+
className: "p-6 text-status-error-text",
|
|
142
142
|
children: ["Error computing critical path: ", F.message]
|
|
143
143
|
});
|
|
144
144
|
let X = N?.planmagnetCriticalPath.slack ?? {}, te = N?.planmagnetCriticalPath.totalDurationMinutes ?? 0, Z = N?.planmagnetDependencyCycles ?? [], Q = I?.planmagnetProject?.name, $ = [...U?.planmagnetWorkItems.items ?? []].sort((e, t) => (X[e.id] ?? 0) - (X[t.id] ?? 0));
|
|
@@ -53,7 +53,7 @@ function W() {
|
|
|
53
53
|
children: /* @__PURE__ */ E(y, { className: "h-8 w-8 animate-spin text-muted-foreground" })
|
|
54
54
|
});
|
|
55
55
|
if (s) return /* @__PURE__ */ D("div", {
|
|
56
|
-
className: "p-6 text-
|
|
56
|
+
className: "p-6 text-status-error-text",
|
|
57
57
|
children: ["Error: ", s.message]
|
|
58
58
|
});
|
|
59
59
|
let l = [...a?.planmagnetCustomFieldDefinitions.items ?? []].sort((e, t) => e.sortOrder - t.sortOrder || e.name.localeCompare(t.name));
|
|
@@ -76,7 +76,7 @@ function _() {
|
|
|
76
76
|
children: /* @__PURE__ */ d("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
77
77
|
});
|
|
78
78
|
if (O) return /* @__PURE__ */ f("div", {
|
|
79
|
-
className: "p-6 text-
|
|
79
|
+
className: "p-6 text-status-error-text",
|
|
80
80
|
"data-testid": "gantt-page",
|
|
81
81
|
children: ["Error loading the project's work items: ", O.message]
|
|
82
82
|
});
|
|
@@ -51,7 +51,7 @@ function x() {
|
|
|
51
51
|
children: /* @__PURE__ */ p("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
52
52
|
});
|
|
53
53
|
if (w) return /* @__PURE__ */ m("div", {
|
|
54
|
-
className: "p-6 text-
|
|
54
|
+
className: "p-6 text-status-error-text",
|
|
55
55
|
children: ["Error loading milestone: ", w.message]
|
|
56
56
|
});
|
|
57
57
|
let T = S?.planmagnetMilestone;
|
|
@@ -159,15 +159,18 @@ function x() {
|
|
|
159
159
|
className: "text-muted-foreground",
|
|
160
160
|
children: "Project:"
|
|
161
161
|
}),
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
162
|
+
(() => {
|
|
163
|
+
let e = T.project;
|
|
164
|
+
return e ? /* @__PURE__ */ p("button", {
|
|
165
|
+
type: "button",
|
|
166
|
+
className: "font-medium text-primary hover:underline",
|
|
167
|
+
onClick: () => x(n("/projects/project-detail-page", e.id)),
|
|
168
|
+
children: e.name
|
|
169
|
+
}) : /* @__PURE__ */ p("span", {
|
|
170
|
+
className: "text-muted-foreground",
|
|
171
|
+
children: "not available"
|
|
172
|
+
});
|
|
173
|
+
})()
|
|
171
174
|
]
|
|
172
175
|
}),
|
|
173
176
|
T.ownerId && /* @__PURE__ */ m("div", {
|
|
@@ -40,11 +40,11 @@ var S = p`
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
`, C = {
|
|
43
|
-
PENDING: "bg-
|
|
44
|
-
IN_PROGRESS: "bg-
|
|
45
|
-
COMPLETED: "bg-
|
|
46
|
-
MISSED: "bg-
|
|
47
|
-
CANCELLED: "bg-
|
|
43
|
+
PENDING: "bg-bg-muted text-text-primary",
|
|
44
|
+
IN_PROGRESS: "bg-status-info-subtle text-status-info-text",
|
|
45
|
+
COMPLETED: "bg-status-success-subtle text-status-success-text",
|
|
46
|
+
MISSED: "bg-status-error-subtle text-status-error-text",
|
|
47
|
+
CANCELLED: "bg-status-error-subtle text-status-error-text"
|
|
48
48
|
}, w = [
|
|
49
49
|
"all",
|
|
50
50
|
"PENDING",
|
|
@@ -101,7 +101,7 @@ function T() {
|
|
|
101
101
|
className: "text-base flex items-center gap-2",
|
|
102
102
|
children: [/* @__PURE__ */ h(d, { className: "h-4 w-4 text-primary" }), e.name]
|
|
103
103
|
}), /* @__PURE__ */ h("span", {
|
|
104
|
-
className: `text-xs px-2 py-0.5 rounded-full capitalize ${C[e.status] ?? "bg-
|
|
104
|
+
className: `text-xs px-2 py-0.5 rounded-full capitalize ${C[e.status] ?? "bg-bg-muted"}`,
|
|
105
105
|
children: e.status.toLowerCase().replace("_", " ")
|
|
106
106
|
})]
|
|
107
107
|
})
|
|
@@ -113,7 +113,7 @@ function N() {
|
|
|
113
113
|
children: /* @__PURE__ */ S("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
114
114
|
});
|
|
115
115
|
if (R) return /* @__PURE__ */ C("div", {
|
|
116
|
-
className: "p-6 text-
|
|
116
|
+
className: "p-6 text-status-error-text",
|
|
117
117
|
children: ["Error loading planning session: ", R.message]
|
|
118
118
|
});
|
|
119
119
|
let W = I?.planmagnetSprint;
|
|
@@ -167,7 +167,7 @@ function N() {
|
|
|
167
167
|
"data-testid": "sprint-edit",
|
|
168
168
|
children: [/* @__PURE__ */ S(v, { className: "mr-1 h-4 w-4" }), " Edit"]
|
|
169
169
|
}),
|
|
170
|
-
!W.team && /* @__PURE__ */ S(h, {
|
|
170
|
+
!W.team && W.projectId && /* @__PURE__ */ S(h, {
|
|
171
171
|
projectId: W.projectId,
|
|
172
172
|
sprintId: W.id,
|
|
173
173
|
startDate: W.startDate,
|
|
@@ -301,7 +301,7 @@ function N() {
|
|
|
301
301
|
"data-testid": "sprint-capacity-crewfoundry-unavailable",
|
|
302
302
|
children: F("planmagnet.sprints.capacity.crewfoundryUnavailable", "CrewFoundry is temporarily unavailable, so workforce allocation and skills can’t be shown right now. Try again shortly.")
|
|
303
303
|
}),
|
|
304
|
-
!G
|
|
304
|
+
G && !G.crewfoundryUnavailable && G.unmatchedCount > 0 && /* @__PURE__ */ C("p", {
|
|
305
305
|
className: "text-xs text-muted-foreground mt-3 border-t pt-3",
|
|
306
306
|
"data-testid": "sprint-capacity-unmatched",
|
|
307
307
|
children: [
|
|
@@ -40,11 +40,11 @@ var b = u`
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
`, x = {
|
|
43
|
-
PLANNING: "bg-
|
|
44
|
-
ACTIVE: "bg-
|
|
45
|
-
REVIEW: "bg-
|
|
46
|
-
COMPLETED: "bg-
|
|
47
|
-
CANCELLED: "bg-
|
|
43
|
+
PLANNING: "bg-status-info-subtle text-status-info-text",
|
|
44
|
+
ACTIVE: "bg-status-success-subtle text-status-success-text",
|
|
45
|
+
REVIEW: "bg-bg-muted text-chart-3",
|
|
46
|
+
COMPLETED: "bg-bg-muted text-text-primary",
|
|
47
|
+
CANCELLED: "bg-status-error-subtle text-status-error-text"
|
|
48
48
|
};
|
|
49
49
|
function S() {
|
|
50
50
|
let { workspaceId: u } = e(), S = t(), [C, w] = o(""), { data: T, loading: E, error: D } = d(b, { variables: {
|
|
@@ -56,7 +56,7 @@ function S() {
|
|
|
56
56
|
children: /* @__PURE__ */ p("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
57
57
|
});
|
|
58
58
|
if (D) return /* @__PURE__ */ m("div", {
|
|
59
|
-
className: "p-6 text-
|
|
59
|
+
className: "p-6 text-status-error-text",
|
|
60
60
|
children: ["Error loading planning sessions: ", D.message]
|
|
61
61
|
});
|
|
62
62
|
let O = T?.planmagnetSprints?.items ?? [];
|
|
@@ -105,7 +105,7 @@ function S() {
|
|
|
105
105
|
/* @__PURE__ */ m("div", {
|
|
106
106
|
className: "flex gap-2",
|
|
107
107
|
children: [/* @__PURE__ */ p("span", {
|
|
108
|
-
className: `text-xs px-2 py-0.5 rounded-full capitalize ${x[e.status] ?? "bg-
|
|
108
|
+
className: `text-xs px-2 py-0.5 rounded-full capitalize ${x[e.status] ?? "bg-bg-muted"}`,
|
|
109
109
|
children: e.status.toLowerCase().replace("_", " ")
|
|
110
110
|
}), /* @__PURE__ */ p("span", {
|
|
111
111
|
className: "text-xs text-muted-foreground flex items-center gap-1",
|
|
@@ -152,7 +152,7 @@ function S() {
|
|
|
152
152
|
}), /* @__PURE__ */ p("div", {
|
|
153
153
|
className: "w-full h-2 rounded-full bg-muted overflow-hidden",
|
|
154
154
|
children: /* @__PURE__ */ p("div", {
|
|
155
|
-
className: `h-full rounded-full ${a > 90 ? "bg-
|
|
155
|
+
className: `h-full rounded-full ${a > 90 ? "bg-status-error" : "bg-primary"}`,
|
|
156
156
|
style: { width: `${Math.min(a, 100)}%` }
|
|
157
157
|
})
|
|
158
158
|
})] })
|