@burdenoff/microfe-planmagnet 2026.1001.1 → 2026.1001.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/PlanMagnetRoot.d.ts.map +1 -1
- package/dist/planmagnet/PlanMagnetRoot.js +163 -150
- package/dist/planmagnet/PlanMagnetRoot.js.map +1 -1
- package/dist/planmagnet/PlanMagnetRoutes.d.ts.map +1 -1
- package/dist/planmagnet/PlanMagnetRoutes.js +124 -108
- package/dist/planmagnet/PlanMagnetRoutes.js.map +1 -1
- package/dist/planmagnet/comments/CommentThread.js +36 -36
- package/dist/planmagnet/comments/RoadmapComments.js +21 -21
- package/dist/planmagnet/controls/AutomationRuleControls.js +24 -24
- package/dist/planmagnet/controls/FeatureControls.js +60 -60
- package/dist/planmagnet/controls/MilestoneControls.d.ts +2 -0
- package/dist/planmagnet/controls/MilestoneControls.d.ts.map +1 -1
- package/dist/planmagnet/controls/MilestoneControls.js +89 -72
- package/dist/planmagnet/controls/MilestoneControls.js.map +1 -1
- package/dist/planmagnet/controls/SyncControls.js +59 -59
- package/dist/planmagnet/discussion/WorkItemDiscussionPanel.js +15 -15
- package/dist/planmagnet/docs/DocSuggestionsPanel.js +12 -12
- package/dist/planmagnet/docs/DocVersionCompare.js +3 -3
- package/dist/planmagnet/forecast/DeliveryForecastCard.d.ts +12 -0
- package/dist/planmagnet/forecast/DeliveryForecastCard.d.ts.map +1 -0
- package/dist/planmagnet/forecast/DeliveryForecastCard.js +208 -0
- package/dist/planmagnet/forecast/DeliveryForecastCard.js.map +1 -0
- package/dist/planmagnet/forecast/ProjectOutlookCard.d.ts +5 -0
- package/dist/planmagnet/forecast/ProjectOutlookCard.d.ts.map +1 -0
- package/dist/planmagnet/forecast/ProjectOutlookCard.js +190 -0
- package/dist/planmagnet/forecast/ProjectOutlookCard.js.map +1 -0
- package/dist/planmagnet/forecast/ProjectRiskSummaryCard.d.ts +5 -0
- package/dist/planmagnet/forecast/ProjectRiskSummaryCard.d.ts.map +1 -0
- package/dist/planmagnet/forecast/ProjectRiskSummaryCard.js +99 -0
- package/dist/planmagnet/forecast/ProjectRiskSummaryCard.js.map +1 -0
- package/dist/planmagnet/forecast/ResourceForecastCard.d.ts +8 -0
- package/dist/planmagnet/forecast/ResourceForecastCard.d.ts.map +1 -0
- package/dist/planmagnet/forecast/ResourceForecastCard.js +185 -0
- package/dist/planmagnet/forecast/ResourceForecastCard.js.map +1 -0
- package/dist/planmagnet/forecast/riskFlags.d.ts +35 -0
- package/dist/planmagnet/forecast/riskFlags.d.ts.map +1 -0
- package/dist/planmagnet/forecast/riskFlags.js +37 -0
- package/dist/planmagnet/forecast/riskFlags.js.map +1 -0
- package/dist/planmagnet/meetings/MeetingActionItemsPanel.d.ts +17 -0
- package/dist/planmagnet/meetings/MeetingActionItemsPanel.d.ts.map +1 -0
- package/dist/planmagnet/meetings/MeetingActionItemsPanel.js +218 -0
- package/dist/planmagnet/meetings/MeetingActionItemsPanel.js.map +1 -0
- package/dist/planmagnet/meetings/MeetingsCard.d.ts +7 -0
- package/dist/planmagnet/meetings/MeetingsCard.d.ts.map +1 -0
- package/dist/planmagnet/meetings/MeetingsCard.js +108 -0
- package/dist/planmagnet/meetings/MeetingsCard.js.map +1 -0
- package/dist/planmagnet/meetings/ScheduleCeremoniesDialog.d.ts +9 -0
- package/dist/planmagnet/meetings/ScheduleCeremoniesDialog.d.ts.map +1 -0
- package/dist/planmagnet/meetings/ScheduleCeremoniesDialog.js +232 -0
- package/dist/planmagnet/meetings/ScheduleCeremoniesDialog.js.map +1 -0
- package/dist/planmagnet/meetings/ScheduleMeetingDialog.d.ts +19 -0
- package/dist/planmagnet/meetings/ScheduleMeetingDialog.d.ts.map +1 -0
- package/dist/planmagnet/meetings/ScheduleMeetingDialog.js +226 -0
- package/dist/planmagnet/meetings/ScheduleMeetingDialog.js.map +1 -0
- package/dist/planmagnet/meetings/UnlinkMeetingDialog.d.ts +14 -0
- package/dist/planmagnet/meetings/UnlinkMeetingDialog.d.ts.map +1 -0
- package/dist/planmagnet/meetings/UnlinkMeetingDialog.js +81 -0
- package/dist/planmagnet/meetings/UnlinkMeetingDialog.js.map +1 -0
- package/dist/planmagnet/meetings/meetingActions.d.ts +57 -0
- package/dist/planmagnet/meetings/meetingActions.d.ts.map +1 -0
- package/dist/planmagnet/meetings/meetingActions.js +51 -0
- package/dist/planmagnet/meetings/meetingActions.js.map +1 -0
- package/dist/planmagnet/meetings/meetingGraphql.d.ts +29 -0
- package/dist/planmagnet/meetings/meetingGraphql.d.ts.map +1 -0
- package/dist/planmagnet/meetings/meetingGraphql.js +166 -0
- package/dist/planmagnet/meetings/meetingGraphql.js.map +1 -0
- package/dist/planmagnet/meetings/meetingModel.d.ts +74 -0
- package/dist/planmagnet/meetings/meetingModel.d.ts.map +1 -0
- package/dist/planmagnet/meetings/meetingModel.js +88 -0
- package/dist/planmagnet/meetings/meetingModel.js.map +1 -0
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +216 -182
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js.map +1 -1
- package/dist/planmagnet/pages/AutomationAutomationRuleDetailPagePage.js +11 -11
- package/dist/planmagnet/pages/AutomationCreateAutomationRulePagePage.js +4 -4
- package/dist/planmagnet/pages/DocsDocDetailPagePage.js +163 -163
- package/dist/planmagnet/pages/DocsDocDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/IntegrationsNewSyncPagePage.js +165 -165
- package/dist/planmagnet/pages/IntegrationsNewSyncPagePage.js.map +1 -1
- package/dist/planmagnet/pages/MeetingsMeetingDetailPagePage.d.ts +2 -0
- package/dist/planmagnet/pages/MeetingsMeetingDetailPagePage.d.ts.map +1 -0
- package/dist/planmagnet/pages/MeetingsMeetingDetailPagePage.js +197 -0
- package/dist/planmagnet/pages/MeetingsMeetingDetailPagePage.js.map +1 -0
- package/dist/planmagnet/pages/MeetingsMeetingsPagePage.d.ts +2 -0
- package/dist/planmagnet/pages/MeetingsMeetingsPagePage.d.ts.map +1 -0
- package/dist/planmagnet/pages/MeetingsMeetingsPagePage.js +173 -0
- package/dist/planmagnet/pages/MeetingsMeetingsPagePage.js.map +1 -0
- package/dist/planmagnet/pages/ProjectsAtRiskPagePage.d.ts +2 -0
- package/dist/planmagnet/pages/ProjectsAtRiskPagePage.d.ts.map +1 -0
- package/dist/planmagnet/pages/ProjectsAtRiskPagePage.js +234 -0
- package/dist/planmagnet/pages/ProjectsAtRiskPagePage.js.map +1 -0
- package/dist/planmagnet/pages/ProjectsMilestonesPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ProjectsMilestonesPagePage.js +73 -52
- package/dist/planmagnet/pages/ProjectsMilestonesPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.js +205 -190
- package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +211 -182
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ReportsReportPagePage.js +22 -22
- package/dist/planmagnet/pages/ReportsReportPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ReportsReportsPagePage.js +21 -21
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.js +88 -83
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/analytics/SprintDeliveryCards.d.ts.map +1 -1
- package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js +139 -112
- package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js.map +1 -1
- package/dist/planmagnet/pages/analytics/StatusFlowCard.js +21 -21
- package/dist/planmagnet/product/ProductControls.js +91 -91
- package/dist/planmagnet/reports/SchedulesPanel.js +33 -33
- package/dist/planmagnet/reports/ShareDialog.js +76 -76
- package/dist/planmagnet/reports/ShareDialog.js.map +1 -1
- package/dist/planmagnet/reports/sharedReportRoute.d.ts +3 -2
- package/dist/planmagnet/reports/sharedReportRoute.d.ts.map +1 -1
- package/dist/planmagnet/reports/sharedReportRoute.js.map +1 -1
- package/dist/planmagnet/roadmaps/RoadmapControls.js +60 -60
- package/dist/planmagnet/roadmaps/RoadmapNowNextLater.js +30 -30
- package/dist/planmagnet/roadmaps/RoadmapReviewPanel.js +21 -21
- package/dist/planmagnet/roadmaps/RoadmapVersionsPanel.js +22 -22
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { usePlanMagnetNavigate as e } from "../providers/PlanMagnetProvider.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { mutationErrorMessage as t } from "../utils/graphqlErrors.js";
|
|
3
|
+
import { LEAVES_PAGE_CONTEXT as n, throwOnError as r } from "../utils/mutationResult.js";
|
|
4
|
+
import { ConfirmButton as i, ErrorLine as a } from "../controls/ConfirmButton.js";
|
|
5
|
+
import { enumLabel as o } from "../controls/WorkItemControls.js";
|
|
6
6
|
import { detailPath as s } from "../utils/rowNavigation.js";
|
|
7
7
|
import { endBeforeStart as c, parseIntField as l } from "../utils/formValidation.js";
|
|
8
8
|
import { PrioritizationScoreFields as u, QuadrantBadge as d, prioritizationScoresValid as f } from "../controls/PrioritizationControls.js";
|
|
@@ -71,49 +71,49 @@ var j = [
|
|
|
71
71
|
planmagnetDeleteRoadmap(id: $id)
|
|
72
72
|
}
|
|
73
73
|
`, z = (e) => e ? e.slice(0, 10) : "";
|
|
74
|
-
function B({ roadmapId: e, item:
|
|
74
|
+
function B({ roadmapId: e, item: n, lanes: i }) {
|
|
75
75
|
let s = {
|
|
76
|
-
title:
|
|
77
|
-
description:
|
|
78
|
-
status:
|
|
79
|
-
swimlane:
|
|
80
|
-
startDate: z(
|
|
81
|
-
endDate: z(
|
|
82
|
-
horizon:
|
|
83
|
-
confidence:
|
|
84
|
-
riskLevel:
|
|
85
|
-
riskNote:
|
|
76
|
+
title: n?.title ?? "",
|
|
77
|
+
description: n?.description ?? "",
|
|
78
|
+
status: n?.status ?? "PLANNED",
|
|
79
|
+
swimlane: n?.swimlane ?? "",
|
|
80
|
+
startDate: z(n?.startDate),
|
|
81
|
+
endDate: z(n?.endDate),
|
|
82
|
+
horizon: n?.horizon ?? "",
|
|
83
|
+
confidence: n?.confidence == null ? "" : String(n.confidence),
|
|
84
|
+
riskLevel: n?.riskLevel ?? "",
|
|
85
|
+
riskNote: n?.riskNote ?? ""
|
|
86
86
|
}, m = {
|
|
87
|
-
moscow:
|
|
88
|
-
kano:
|
|
89
|
-
valueScore:
|
|
90
|
-
effortScore:
|
|
87
|
+
moscow: n?.moscow ?? "",
|
|
88
|
+
kano: n?.kano ?? "",
|
|
89
|
+
valueScore: n?.valueScore == null ? "" : String(n.valueScore),
|
|
90
|
+
effortScore: n?.effortScore == null ? "" : String(n.effortScore)
|
|
91
91
|
}, [_, v] = p(!1), [L, R] = p(s), [B, V] = p(m), [H, U] = p(null), W = {
|
|
92
92
|
refetchQueries: P,
|
|
93
93
|
awaitRefetchQueries: !0
|
|
94
94
|
}, [G, K] = y(F, W), [q, J] = y(I, W), Y = K.loading || J.loading, X = c(L.startDate, L.endDate), Z = l(L.confidence, {
|
|
95
95
|
min: 0,
|
|
96
96
|
max: 100
|
|
97
|
-
}), ee = L.title.trim() !== "" && !X && !Z.invalid && f(B) && !Y, te = j.includes(L.status) ? j : [L.status, ...j], ne = M.includes(L.horizon) ? M : L.horizon ? [L.horizon, ...M] : M, re = N.includes(L.riskLevel) ? N : L.riskLevel ? [L.riskLevel, ...N] : N, Q =
|
|
97
|
+
}), ee = L.title.trim() !== "" && !X && !Z.invalid && f(B) && !Y, te = j.includes(L.status) ? j : [L.status, ...j], ne = M.includes(L.horizon) ? M : L.horizon ? [L.horizon, ...M] : M, re = N.includes(L.riskLevel) ? N : L.riskLevel ? [L.riskLevel, ...N] : N, Q = n ? `roadmap-item-${n.id}` : "roadmap-item-new", ie = async () => {
|
|
98
98
|
U(null);
|
|
99
|
-
let
|
|
99
|
+
let i = {
|
|
100
100
|
title: L.title.trim(),
|
|
101
101
|
description: L.description.trim() || null,
|
|
102
102
|
status: L.status,
|
|
103
103
|
swimlane: L.swimlane.trim() || null
|
|
104
|
-
},
|
|
104
|
+
}, a = l(B.valueScore, {
|
|
105
105
|
min: 1,
|
|
106
106
|
max: 10
|
|
107
|
-
}),
|
|
107
|
+
}), o = l(B.effortScore, {
|
|
108
108
|
min: 1,
|
|
109
109
|
max: 10
|
|
110
110
|
});
|
|
111
111
|
try {
|
|
112
|
-
if (
|
|
112
|
+
if (n) {
|
|
113
113
|
let e = {
|
|
114
114
|
...L.startDate !== s.startDate && { startDate: L.startDate || null },
|
|
115
115
|
...L.endDate !== s.endDate && { endDate: L.endDate || null }
|
|
116
|
-
},
|
|
116
|
+
}, t = {
|
|
117
117
|
...L.horizon !== s.horizon && { horizon: L.horizon || null },
|
|
118
118
|
...L.confidence !== s.confidence && { confidence: Z.value ?? null },
|
|
119
119
|
...L.riskLevel !== s.riskLevel && { riskLevel: L.riskLevel || null },
|
|
@@ -121,21 +121,21 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
121
121
|
}, c = {
|
|
122
122
|
...B.moscow !== m.moscow && { moscow: B.moscow || null },
|
|
123
123
|
...B.kano !== m.kano && { kano: B.kano || null },
|
|
124
|
-
...B.valueScore !== m.valueScore && { valueScore:
|
|
125
|
-
...B.effortScore !== m.effortScore && { effortScore:
|
|
124
|
+
...B.valueScore !== m.valueScore && { valueScore: a.value ?? null },
|
|
125
|
+
...B.effortScore !== m.effortScore && { effortScore: o.value ?? null }
|
|
126
126
|
};
|
|
127
|
-
await
|
|
128
|
-
id:
|
|
127
|
+
await r(q({ variables: {
|
|
128
|
+
id: n.id,
|
|
129
129
|
input: {
|
|
130
|
-
...
|
|
130
|
+
...i,
|
|
131
131
|
...e,
|
|
132
|
-
...
|
|
132
|
+
...t,
|
|
133
133
|
...c
|
|
134
134
|
}
|
|
135
135
|
} }));
|
|
136
|
-
} else await
|
|
136
|
+
} else await r(G({ variables: { input: {
|
|
137
137
|
roadmapId: e,
|
|
138
|
-
...
|
|
138
|
+
...i,
|
|
139
139
|
startDate: L.startDate || void 0,
|
|
140
140
|
endDate: L.endDate || void 0,
|
|
141
141
|
horizon: L.horizon || void 0,
|
|
@@ -144,12 +144,12 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
144
144
|
riskNote: L.riskNote.trim() || void 0,
|
|
145
145
|
moscow: B.moscow || void 0,
|
|
146
146
|
kano: B.kano || void 0,
|
|
147
|
-
valueScore:
|
|
148
|
-
effortScore:
|
|
147
|
+
valueScore: a.value,
|
|
148
|
+
effortScore: o.value
|
|
149
149
|
} } })), R(s), V(m);
|
|
150
150
|
v(!1);
|
|
151
151
|
} catch (e) {
|
|
152
|
-
U(
|
|
152
|
+
U(t(e, "The item could not be saved."));
|
|
153
153
|
}
|
|
154
154
|
}, $ = "mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm";
|
|
155
155
|
return /* @__PURE__ */ x(w, {
|
|
@@ -159,10 +159,10 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
159
159
|
},
|
|
160
160
|
children: [/* @__PURE__ */ b(A, {
|
|
161
161
|
asChild: !0,
|
|
162
|
-
children:
|
|
162
|
+
children: n ? /* @__PURE__ */ b(S, {
|
|
163
163
|
size: "sm",
|
|
164
164
|
variant: "ghost",
|
|
165
|
-
"aria-label": `Edit ${
|
|
165
|
+
"aria-label": `Edit ${n.title}`,
|
|
166
166
|
children: /* @__PURE__ */ b(h, { className: "h-4 w-4" })
|
|
167
167
|
}) : /* @__PURE__ */ x(S, {
|
|
168
168
|
size: "sm",
|
|
@@ -172,7 +172,7 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
172
172
|
}), /* @__PURE__ */ x(T, {
|
|
173
173
|
className: "max-w-lg",
|
|
174
174
|
children: [
|
|
175
|
-
/* @__PURE__ */ x(O, { children: [/* @__PURE__ */ b(k, { children:
|
|
175
|
+
/* @__PURE__ */ x(O, { children: [/* @__PURE__ */ b(k, { children: n ? "Edit roadmap item" : "Add roadmap item" }), /* @__PURE__ */ b(E, { children: "Items in the same swimlane are grouped together on the roadmap." })] }),
|
|
176
176
|
/* @__PURE__ */ x("div", {
|
|
177
177
|
className: "space-y-3",
|
|
178
178
|
children: [
|
|
@@ -210,7 +210,7 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
210
210
|
}),
|
|
211
211
|
/* @__PURE__ */ b("datalist", {
|
|
212
212
|
id: `${Q}-lanes`,
|
|
213
|
-
children:
|
|
213
|
+
children: i.map((e) => /* @__PURE__ */ b("option", { value: e }, e))
|
|
214
214
|
})
|
|
215
215
|
] }), /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
216
216
|
htmlFor: `${Q}-status`,
|
|
@@ -226,7 +226,7 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
226
226
|
}),
|
|
227
227
|
children: te.map((e) => /* @__PURE__ */ b("option", {
|
|
228
228
|
value: e,
|
|
229
|
-
children:
|
|
229
|
+
children: o(e)
|
|
230
230
|
}, e))
|
|
231
231
|
})] })]
|
|
232
232
|
}),
|
|
@@ -262,7 +262,7 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
262
262
|
})
|
|
263
263
|
})] })]
|
|
264
264
|
}),
|
|
265
|
-
X && /* @__PURE__ */ b(
|
|
265
|
+
X && /* @__PURE__ */ b(a, { message: "The end date is before the start date." }),
|
|
266
266
|
/* @__PURE__ */ x("div", {
|
|
267
267
|
className: "grid grid-cols-2 gap-3",
|
|
268
268
|
children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
@@ -283,7 +283,7 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
283
283
|
children: "Not placed"
|
|
284
284
|
}), ne.map((e) => /* @__PURE__ */ b("option", {
|
|
285
285
|
value: e,
|
|
286
|
-
children:
|
|
286
|
+
children: o(e)
|
|
287
287
|
}, e))]
|
|
288
288
|
})] }), /* @__PURE__ */ x("div", { children: [
|
|
289
289
|
/* @__PURE__ */ b("label", {
|
|
@@ -305,7 +305,7 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
305
305
|
confidence: e.target.value
|
|
306
306
|
})
|
|
307
307
|
}),
|
|
308
|
-
Z.invalid && /* @__PURE__ */ b(
|
|
308
|
+
Z.invalid && /* @__PURE__ */ b(a, { message: "Confidence must be a whole number from 0 to 100." })
|
|
309
309
|
] })]
|
|
310
310
|
}),
|
|
311
311
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
@@ -326,7 +326,7 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
326
326
|
children: "None"
|
|
327
327
|
}), re.map((e) => /* @__PURE__ */ b("option", {
|
|
328
328
|
value: e,
|
|
329
|
-
children:
|
|
329
|
+
children: o(e)
|
|
330
330
|
}, e))]
|
|
331
331
|
})] }),
|
|
332
332
|
/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("label", {
|
|
@@ -365,12 +365,12 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
365
365
|
className: "text-sm font-medium",
|
|
366
366
|
children: "Prioritization"
|
|
367
367
|
}),
|
|
368
|
-
|
|
368
|
+
n && /* @__PURE__ */ x("div", {
|
|
369
369
|
className: "mt-1 flex items-center gap-2",
|
|
370
370
|
children: [/* @__PURE__ */ b("span", {
|
|
371
371
|
className: "text-xs text-muted-foreground",
|
|
372
372
|
children: "Current quadrant:"
|
|
373
|
-
}), /* @__PURE__ */ b(d, { quadrant:
|
|
373
|
+
}), /* @__PURE__ */ b(d, { quadrant: n.valueEffortQuadrant ?? null })]
|
|
374
374
|
}),
|
|
375
375
|
/* @__PURE__ */ b("div", {
|
|
376
376
|
className: "mt-2",
|
|
@@ -382,7 +382,7 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
382
382
|
})
|
|
383
383
|
]
|
|
384
384
|
}),
|
|
385
|
-
H && /* @__PURE__ */ b(
|
|
385
|
+
H && /* @__PURE__ */ b(a, { message: H })
|
|
386
386
|
]
|
|
387
387
|
}),
|
|
388
388
|
/* @__PURE__ */ x(D, { children: [/* @__PURE__ */ b(S, {
|
|
@@ -392,27 +392,27 @@ function B({ roadmapId: e, item: t, lanes: r }) {
|
|
|
392
392
|
}), /* @__PURE__ */ b(S, {
|
|
393
393
|
onClick: () => void ie(),
|
|
394
394
|
disabled: !ee,
|
|
395
|
-
children: Y ? "Saving…" :
|
|
395
|
+
children: Y ? "Saving…" : n ? "Save item" : "Add item"
|
|
396
396
|
})] })
|
|
397
397
|
]
|
|
398
398
|
})]
|
|
399
399
|
});
|
|
400
400
|
}
|
|
401
401
|
function V({ id: e, title: t }) {
|
|
402
|
-
let [
|
|
402
|
+
let [n, o] = y(L, {
|
|
403
403
|
refetchQueries: P,
|
|
404
404
|
awaitRefetchQueries: !0
|
|
405
405
|
}), [s, c] = p(null), l = async () => {
|
|
406
406
|
c(null);
|
|
407
407
|
try {
|
|
408
|
-
await n(
|
|
408
|
+
await r(n({ variables: { id: e } }));
|
|
409
409
|
} catch (e) {
|
|
410
410
|
c(e instanceof Error ? e.message : "The item could not be removed.");
|
|
411
411
|
}
|
|
412
412
|
};
|
|
413
413
|
return /* @__PURE__ */ x("div", {
|
|
414
414
|
className: "flex flex-col items-end",
|
|
415
|
-
children: [/* @__PURE__ */ b(
|
|
415
|
+
children: [/* @__PURE__ */ b(i, {
|
|
416
416
|
label: "",
|
|
417
417
|
ariaLabel: `Remove ${t}`,
|
|
418
418
|
variant: "outline",
|
|
@@ -423,17 +423,17 @@ function V({ id: e, title: t }) {
|
|
|
423
423
|
destructive: !0,
|
|
424
424
|
disabled: o.loading,
|
|
425
425
|
onConfirm: () => void l()
|
|
426
|
-
}), s && /* @__PURE__ */ b(
|
|
426
|
+
}), s && /* @__PURE__ */ b(a, { message: s })]
|
|
427
427
|
});
|
|
428
428
|
}
|
|
429
|
-
function H({ roadmapId:
|
|
429
|
+
function H({ roadmapId: t, name: o }) {
|
|
430
430
|
let c = e(), [l, u] = y(R, {
|
|
431
431
|
refetchQueries: ["ListRoadmapsPage", "ListRoadmaps"],
|
|
432
|
-
context:
|
|
432
|
+
context: n
|
|
433
433
|
}), [d, f] = p(null), g = async () => {
|
|
434
434
|
f(null);
|
|
435
435
|
try {
|
|
436
|
-
await
|
|
436
|
+
await r(l({ variables: { id: t } })), c("/products/roadmaps-page");
|
|
437
437
|
} catch (e) {
|
|
438
438
|
f(e instanceof Error ? e.message : "The roadmap could not be deleted.");
|
|
439
439
|
}
|
|
@@ -447,17 +447,17 @@ function H({ roadmapId: a, name: o }) {
|
|
|
447
447
|
size: "sm",
|
|
448
448
|
variant: "outline",
|
|
449
449
|
"data-testid": "roadmap-edit",
|
|
450
|
-
onClick: () => c(s("/products/edit-roadmap-page",
|
|
450
|
+
onClick: () => c(s("/products/edit-roadmap-page", t)),
|
|
451
451
|
children: [/* @__PURE__ */ b(h, { className: "mr-1 h-4 w-4" }), "Edit"]
|
|
452
452
|
}),
|
|
453
453
|
/* @__PURE__ */ x(S, {
|
|
454
454
|
size: "sm",
|
|
455
455
|
variant: "outline",
|
|
456
456
|
"data-testid": "roadmap-analytics",
|
|
457
|
-
onClick: () => c(s("/products/roadmap-analytics-page",
|
|
457
|
+
onClick: () => c(s("/products/roadmap-analytics-page", t)),
|
|
458
458
|
children: [/* @__PURE__ */ b(m, { className: "mr-1 h-4 w-4" }), "Analytics"]
|
|
459
459
|
}),
|
|
460
|
-
/* @__PURE__ */ b(
|
|
460
|
+
/* @__PURE__ */ b(i, {
|
|
461
461
|
label: "Delete",
|
|
462
462
|
variant: "outline",
|
|
463
463
|
icon: /* @__PURE__ */ b(_, { className: "mr-1 h-4 w-4" }),
|
|
@@ -469,7 +469,7 @@ function H({ roadmapId: a, name: o }) {
|
|
|
469
469
|
onConfirm: () => void g()
|
|
470
470
|
})
|
|
471
471
|
]
|
|
472
|
-
}), d && /* @__PURE__ */ b(
|
|
472
|
+
}), d && /* @__PURE__ */ b(a, { message: d })]
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
475
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { usePlanMagnet as e } from "../providers/PlanMagnetProvider.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { isForbidden as t, mutationErrorMessage as n } from "../utils/graphqlErrors.js";
|
|
3
|
+
import { throwOnError as r } from "../utils/mutationResult.js";
|
|
4
|
+
import { enumLabel as i } from "../controls/WorkItemControls.js";
|
|
5
5
|
import { RoadmapItemCommentsButton as a } from "../comments/RoadmapComments.js";
|
|
6
6
|
import { useEffect as o, useMemo as s, useState as c } from "react";
|
|
7
7
|
import { AlertTriangle as l, Calendar as u, Gauge as d, Inbox as f, Loader2 as p, ShieldAlert as m, ShieldCheck as h } from "lucide-react";
|
|
@@ -183,7 +183,7 @@ function z({ item: e, columnKey: t, laneItems: n, disabled: r, onMoveTo: i, onSh
|
|
|
183
183
|
]
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
|
-
function B({ roadmapId: e, item: t, columnKey:
|
|
186
|
+
function B({ roadmapId: e, item: t, columnKey: n, laneItems: r, draggable: o, dragging: s, dropIndicator: c, moveDisabled: l, onDragStart: d, onDragEnd: f, onDragOverCard: p, onDropOnCard: m, onMoveTo: h, onShift: g }) {
|
|
187
187
|
let _ = t.featureRequestDemand;
|
|
188
188
|
return /* @__PURE__ */ b("li", {
|
|
189
189
|
draggable: o,
|
|
@@ -208,7 +208,7 @@ function B({ roadmapId: e, item: t, columnKey: r, laneItems: i, draggable: o, dr
|
|
|
208
208
|
}),
|
|
209
209
|
/* @__PURE__ */ b("div", {
|
|
210
210
|
className: "flex flex-wrap items-center gap-x-2 gap-y-1 text-xs text-muted-foreground",
|
|
211
|
-
children: [/* @__PURE__ */ y("span", { children:
|
|
211
|
+
children: [/* @__PURE__ */ y("span", { children: i(t.status) }), (t.startDate || t.endDate) && /* @__PURE__ */ b("span", {
|
|
212
212
|
className: "flex items-center gap-1",
|
|
213
213
|
children: [
|
|
214
214
|
/* @__PURE__ */ y(u, {
|
|
@@ -249,8 +249,8 @@ function B({ roadmapId: e, item: t, columnKey: r, laneItems: i, draggable: o, dr
|
|
|
249
249
|
itemTitle: t.title
|
|
250
250
|
}), /* @__PURE__ */ y(z, {
|
|
251
251
|
item: t,
|
|
252
|
-
columnKey:
|
|
253
|
-
laneItems:
|
|
252
|
+
columnKey: n,
|
|
253
|
+
laneItems: r,
|
|
254
254
|
disabled: l,
|
|
255
255
|
onMoveTo: h,
|
|
256
256
|
onShift: g
|
|
@@ -259,8 +259,8 @@ function B({ roadmapId: e, item: t, columnKey: r, laneItems: i, draggable: o, dr
|
|
|
259
259
|
]
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
function V({ roadmapId:
|
|
263
|
-
let { workspaceId: a } = e(), { items: l, loading: u, error: d, totalCount: m, truncated: h } = M(a,
|
|
262
|
+
function V({ roadmapId: i }) {
|
|
263
|
+
let { workspaceId: a } = e(), { items: l, loading: u, error: d, totalCount: m, truncated: h } = M(a, i), [g, v] = _(D, {
|
|
264
264
|
refetchQueries: [
|
|
265
265
|
"GetRoadmapDetailPage",
|
|
266
266
|
"GetRoadmapDetail",
|
|
@@ -305,20 +305,20 @@ function V({ roadmapId: n }) {
|
|
|
305
305
|
});
|
|
306
306
|
return () => cancelAnimationFrame(t);
|
|
307
307
|
}, [l]);
|
|
308
|
-
let K = v.loading, q = !C, J = A ? l.find((e) => e.id === A) ?? null : null, Y = async (e,
|
|
308
|
+
let K = v.loading, q = !C, J = A ? l.find((e) => e.id === A) ?? null : null, Y = async (e, i, a, o, s) => {
|
|
309
309
|
S(null), s && V(e.id);
|
|
310
310
|
try {
|
|
311
|
-
await
|
|
311
|
+
await r(g({ variables: {
|
|
312
312
|
id: e.id,
|
|
313
313
|
input: {
|
|
314
|
-
horizon:
|
|
314
|
+
horizon: i,
|
|
315
315
|
index: a
|
|
316
316
|
}
|
|
317
317
|
} })), E(`Moved "${e.title}" to ${o}.`);
|
|
318
318
|
} catch (e) {
|
|
319
|
-
if (
|
|
319
|
+
if (t(e)) w(!0), S("Your role cannot reorder this roadmap."), E("Move refused: your role cannot reorder this roadmap.");
|
|
320
320
|
else {
|
|
321
|
-
let t =
|
|
321
|
+
let t = n(e, "The item could not be moved.");
|
|
322
322
|
S(t), E(`Move failed: ${t}`);
|
|
323
323
|
}
|
|
324
324
|
}
|
|
@@ -388,7 +388,7 @@ function V({ roadmapId: n }) {
|
|
|
388
388
|
/* @__PURE__ */ y("div", {
|
|
389
389
|
className: "grid grid-cols-1 gap-3 md:grid-cols-4",
|
|
390
390
|
children: O.map((e) => {
|
|
391
|
-
let t = W[e.key],
|
|
391
|
+
let t = W[e.key], n = H.map((t) => ({
|
|
392
392
|
lane: t,
|
|
393
393
|
laneItems: G[e.key][t] ?? []
|
|
394
394
|
})).filter(({ lane: e, laneItems: t }) => !U || t.length > 0 || J && N(J) === e);
|
|
@@ -427,14 +427,14 @@ function V({ roadmapId: n }) {
|
|
|
427
427
|
})
|
|
428
428
|
]
|
|
429
429
|
}),
|
|
430
|
-
|
|
430
|
+
n.length === 0 && /* @__PURE__ */ y("p", {
|
|
431
431
|
className: "py-4 text-center text-xs text-muted-foreground",
|
|
432
432
|
children: "No items"
|
|
433
433
|
}),
|
|
434
434
|
/* @__PURE__ */ y("div", {
|
|
435
435
|
className: "space-y-3",
|
|
436
|
-
children:
|
|
437
|
-
let
|
|
436
|
+
children: n.map(({ lane: t, laneItems: n }) => {
|
|
437
|
+
let r = L?.columnKey === e.key && L.laneKey === t;
|
|
438
438
|
return /* @__PURE__ */ b("div", {
|
|
439
439
|
className: "space-y-1",
|
|
440
440
|
children: [U && /* @__PURE__ */ b("p", {
|
|
@@ -447,13 +447,13 @@ function V({ roadmapId: n }) {
|
|
|
447
447
|
className: "text-muted-foreground/70",
|
|
448
448
|
children: [
|
|
449
449
|
"(",
|
|
450
|
-
|
|
450
|
+
n.length,
|
|
451
451
|
")"
|
|
452
452
|
]
|
|
453
453
|
})
|
|
454
454
|
]
|
|
455
455
|
}), /* @__PURE__ */ b("ul", {
|
|
456
|
-
className: `min-h-[48px] space-y-2 rounded-sm p-1 ${
|
|
456
|
+
className: `min-h-[48px] space-y-2 rounded-sm p-1 ${r && !L.beforeId ? "ring-2 ring-primary" : ""}`,
|
|
457
457
|
onDragOver: (n) => {
|
|
458
458
|
!q || K || !J || N(J) !== t || (n.preventDefault(), n.dataTransfer.dropEffect = "move", R({
|
|
459
459
|
columnKey: e.key,
|
|
@@ -461,18 +461,18 @@ function V({ roadmapId: n }) {
|
|
|
461
461
|
beforeId: null
|
|
462
462
|
}));
|
|
463
463
|
},
|
|
464
|
-
onDrop: Q(e.key, t,
|
|
465
|
-
children: [
|
|
464
|
+
onDrop: Q(e.key, t, n),
|
|
465
|
+
children: [n.length === 0 && /* @__PURE__ */ y("li", {
|
|
466
466
|
className: "py-2 text-center text-[11px] text-muted-foreground",
|
|
467
467
|
"aria-hidden": "true",
|
|
468
468
|
children: "Drop here"
|
|
469
|
-
}),
|
|
470
|
-
let s =
|
|
469
|
+
}), n.map((a, o) => {
|
|
470
|
+
let s = r ? L.beforeId === a.id ? "before" : L.beforeId === null && o === n.length - 1 ? "after" : null : null;
|
|
471
471
|
return /* @__PURE__ */ y(B, {
|
|
472
|
-
roadmapId:
|
|
472
|
+
roadmapId: i,
|
|
473
473
|
item: a,
|
|
474
474
|
columnKey: e.key,
|
|
475
|
-
laneItems:
|
|
475
|
+
laneItems: n,
|
|
476
476
|
draggable: q && !K,
|
|
477
477
|
dragging: A === a.id,
|
|
478
478
|
dropIndicator: s,
|
|
@@ -481,8 +481,8 @@ function V({ roadmapId: n }) {
|
|
|
481
481
|
onDragEnd: () => {
|
|
482
482
|
I(null), R(null);
|
|
483
483
|
},
|
|
484
|
-
onDragOverCard: (
|
|
485
|
-
onDropOnCard: Q(e.key, t,
|
|
484
|
+
onDragOverCard: (r) => Z(e.key, t, n)(r, a, o),
|
|
485
|
+
onDropOnCard: Q(e.key, t, n),
|
|
486
486
|
onMoveTo: (e) => {
|
|
487
487
|
let t = O.find((t) => t.key === e);
|
|
488
488
|
if (!t) return;
|
|
@@ -490,8 +490,8 @@ function V({ roadmapId: n }) {
|
|
|
490
490
|
Y(a, t.horizon, n, t.label, !0);
|
|
491
491
|
},
|
|
492
492
|
onShift: (t) => {
|
|
493
|
-
let
|
|
494
|
-
|
|
493
|
+
let r = n.findIndex((e) => e.id === a.id), i = r + t;
|
|
494
|
+
r === -1 || i < 0 || i >= n.length || Y(a, a.horizon, i, e.label, !0);
|
|
495
495
|
}
|
|
496
496
|
}, a.id);
|
|
497
497
|
})]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { usePlanMagnet as e } from "../providers/PlanMagnetProvider.js";
|
|
2
2
|
import { PersonName as t } from "../people/People.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { isForbidden as n, mutationErrorMessage as r } from "../utils/graphqlErrors.js";
|
|
4
|
+
import { throwOnError as i } from "../utils/mutationResult.js";
|
|
5
|
+
import { ErrorLine as a } from "../controls/ConfirmButton.js";
|
|
6
|
+
import { enumLabel as o } from "../controls/WorkItemControls.js";
|
|
7
7
|
import { useDeferredValue as s, useEffect as c, useState as l } from "react";
|
|
8
8
|
import { ClipboardCheck as u, Plus as d } from "lucide-react";
|
|
9
9
|
import { gql as f } from "@apollo/client";
|
|
@@ -60,8 +60,8 @@ var N = {
|
|
|
60
60
|
WITHDRAWN: "secondary"
|
|
61
61
|
}, z = (e) => new Date(e).toLocaleString();
|
|
62
62
|
function B({ roadmapId: t }) {
|
|
63
|
-
let { workspaceId:
|
|
64
|
-
workspaceId:
|
|
63
|
+
let { workspaceId: o, authToken: u, apiGatewayUrl: f } = e(), [m, _] = l(!1), [y, b] = l(""), x = s(y.trim()), [S, P] = l(/* @__PURE__ */ new Set()), [I, L] = l(""), [R, z] = l(null), B = M({
|
|
64
|
+
workspaceId: o ?? "",
|
|
65
65
|
authToken: u ?? void 0,
|
|
66
66
|
apiGatewayUrl: f ?? void 0
|
|
67
67
|
}), { search: V } = B;
|
|
@@ -76,7 +76,7 @@ function B({ roadmapId: t }) {
|
|
|
76
76
|
}, K = async () => {
|
|
77
77
|
z(null);
|
|
78
78
|
try {
|
|
79
|
-
await
|
|
79
|
+
await i(H({ variables: {
|
|
80
80
|
roadmapId: t,
|
|
81
81
|
input: {
|
|
82
82
|
reviewerIds: [...S],
|
|
@@ -84,7 +84,7 @@ function B({ roadmapId: t }) {
|
|
|
84
84
|
}
|
|
85
85
|
} })), G(), _(!1);
|
|
86
86
|
} catch (e) {
|
|
87
|
-
z(
|
|
87
|
+
z(n(e) ? "Your role cannot request a review on this roadmap." : r(e, "The review could not be requested."));
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
90
|
return /* @__PURE__ */ g(T, {
|
|
@@ -159,7 +159,7 @@ function B({ roadmapId: t }) {
|
|
|
159
159
|
value: I,
|
|
160
160
|
onChange: (e) => L(e.target.value)
|
|
161
161
|
})] }),
|
|
162
|
-
R && /* @__PURE__ */ h(
|
|
162
|
+
R && /* @__PURE__ */ h(a, { message: R }),
|
|
163
163
|
/* @__PURE__ */ h(O, { children: /* @__PURE__ */ h(v, {
|
|
164
164
|
onClick: () => void K(),
|
|
165
165
|
disabled: S.size === 0 || U.loading,
|
|
@@ -182,7 +182,7 @@ function V({ reviewerId: e, decision: n }) {
|
|
|
182
182
|
children: [/* @__PURE__ */ h(_, {
|
|
183
183
|
variant: n.decision === "APPROVED" ? "success" : "destructive",
|
|
184
184
|
className: "text-[11px]",
|
|
185
|
-
children:
|
|
185
|
+
children: o(n.decision)
|
|
186
186
|
}), z(n.decidedAt)]
|
|
187
187
|
}) : /* @__PURE__ */ h("span", {
|
|
188
188
|
className: "text-xs text-muted-foreground",
|
|
@@ -198,7 +198,7 @@ function H({ review: s }) {
|
|
|
198
198
|
let { currentUser: c } = e(), [u, d] = l(""), [f, m] = l(null), [y, b] = p(I, N), [x, S] = p(L, N), C = c?.id, w = s.decisions.find((e) => e.reviewerId === C), T = !!C && s.reviewerIds.includes(C) && !w, E = !!C && s.requestedBy === C, D = async (e) => {
|
|
199
199
|
m(null);
|
|
200
200
|
try {
|
|
201
|
-
await
|
|
201
|
+
await i(y({ variables: {
|
|
202
202
|
reviewId: s.id,
|
|
203
203
|
input: {
|
|
204
204
|
decision: e,
|
|
@@ -206,14 +206,14 @@ function H({ review: s }) {
|
|
|
206
206
|
}
|
|
207
207
|
} })), d("");
|
|
208
208
|
} catch (e) {
|
|
209
|
-
m(
|
|
209
|
+
m(n(e) ? "You are not a reviewer on this request." : r(e, "The decision could not be recorded."));
|
|
210
210
|
}
|
|
211
211
|
}, O = async () => {
|
|
212
212
|
m(null);
|
|
213
213
|
try {
|
|
214
|
-
await
|
|
214
|
+
await i(x({ variables: { reviewId: s.id } }));
|
|
215
215
|
} catch (e) {
|
|
216
|
-
m(
|
|
216
|
+
m(r(e, "The review could not be withdrawn."));
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
219
|
return /* @__PURE__ */ g("div", {
|
|
@@ -224,7 +224,7 @@ function H({ review: s }) {
|
|
|
224
224
|
children: [/* @__PURE__ */ h(_, {
|
|
225
225
|
variant: R[s.status],
|
|
226
226
|
"data-testid": "roadmap-review-status",
|
|
227
|
-
children:
|
|
227
|
+
children: o(s.status)
|
|
228
228
|
}), /* @__PURE__ */ g("span", {
|
|
229
229
|
className: "text-xs text-muted-foreground",
|
|
230
230
|
children: ["Requested ", z(s.createdAt)]
|
|
@@ -245,7 +245,7 @@ function H({ review: s }) {
|
|
|
245
245
|
decision: s.decisions.find((t) => t.reviewerId === e)
|
|
246
246
|
}, e))
|
|
247
247
|
}),
|
|
248
|
-
f && /* @__PURE__ */ h(
|
|
248
|
+
f && /* @__PURE__ */ h(a, { message: f }),
|
|
249
249
|
T && /* @__PURE__ */ g("div", {
|
|
250
250
|
className: "space-y-2 border-t pt-3",
|
|
251
251
|
children: [
|
|
@@ -301,7 +301,7 @@ function U({ review: e }) {
|
|
|
301
301
|
children: [/* @__PURE__ */ h(_, {
|
|
302
302
|
variant: R[e.status],
|
|
303
303
|
className: "text-[11px]",
|
|
304
|
-
children:
|
|
304
|
+
children: o(e.status)
|
|
305
305
|
}), /* @__PURE__ */ h("span", {
|
|
306
306
|
className: "text-xs text-muted-foreground",
|
|
307
307
|
children: e.decidedAt ? z(e.decidedAt) : z(e.createdAt)
|
|
@@ -322,7 +322,7 @@ function U({ review: e }) {
|
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
324
|
function W({ roadmapId: e }) {
|
|
325
|
-
let { data: t, loading:
|
|
325
|
+
let { data: t, loading: r, error: i } = m(P, {
|
|
326
326
|
variables: { roadmapId: e },
|
|
327
327
|
skip: !e
|
|
328
328
|
}), o = t?.planmagnetRoadmapReviews ?? [], s = o.find((e) => e.status === "OPEN") ?? null, c = o.filter((e) => e.id !== s?.id);
|
|
@@ -340,13 +340,13 @@ function W({ roadmapId: e }) {
|
|
|
340
340
|
}), /* @__PURE__ */ g(b, {
|
|
341
341
|
className: "space-y-4",
|
|
342
342
|
children: [
|
|
343
|
-
|
|
343
|
+
r && !t && /* @__PURE__ */ h("p", {
|
|
344
344
|
className: "text-sm text-muted-foreground",
|
|
345
345
|
children: "Loading review status…"
|
|
346
346
|
}),
|
|
347
|
-
i && /* @__PURE__ */ h(
|
|
347
|
+
i && /* @__PURE__ */ h(a, { message: n(i) ? "Your role cannot see this roadmap’s reviews." : `Reviews could not be loaded: ${i.message}` }),
|
|
348
348
|
s && /* @__PURE__ */ h(H, { review: s }),
|
|
349
|
-
!s && !
|
|
349
|
+
!s && !r && /* @__PURE__ */ h("p", {
|
|
350
350
|
className: "text-sm text-muted-foreground",
|
|
351
351
|
children: "No review in progress."
|
|
352
352
|
}),
|