@burdenoff/microfe-planmagnet 2026.930.12 → 2026.930.14
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 +144 -128
- package/dist/planmagnet/PlanMagnetRoot.js.map +1 -1
- package/dist/planmagnet/PlanMagnetRoutes.d.ts.map +1 -1
- package/dist/planmagnet/PlanMagnetRoutes.js +231 -223
- package/dist/planmagnet/PlanMagnetRoutes.js.map +1 -1
- package/dist/planmagnet/activity/activityDescribe.d.ts +38 -0
- package/dist/planmagnet/activity/activityDescribe.d.ts.map +1 -0
- package/dist/planmagnet/activity/activityDescribe.js +123 -0
- package/dist/planmagnet/activity/activityDescribe.js.map +1 -0
- package/dist/planmagnet/activity/relativeTime.d.ts +8 -0
- package/dist/planmagnet/activity/relativeTime.d.ts.map +1 -0
- package/dist/planmagnet/activity/relativeTime.js +38 -0
- package/dist/planmagnet/activity/relativeTime.js.map +1 -0
- package/dist/planmagnet/admin/PlanMagnetAdminRoot.js +37 -37
- package/dist/planmagnet/automation/AutomationRuleFields.js +41 -41
- package/dist/planmagnet/board/BulkActions.js +6 -6
- package/dist/planmagnet/board/ProjectBoard.js +24 -24
- package/dist/planmagnet/budgets/BudgetControls.js +18 -18
- package/dist/planmagnet/comments/WorkItemActivity.d.ts.map +1 -1
- package/dist/planmagnet/comments/WorkItemActivity.js +35 -38
- package/dist/planmagnet/comments/WorkItemActivity.js.map +1 -1
- package/dist/planmagnet/controls/FeatureControls.js +46 -46
- package/dist/planmagnet/controls/ObjectiveControls.js +11 -11
- package/dist/planmagnet/controls/ProgramControls.js +9 -9
- package/dist/planmagnet/controls/ProjectControls.d.ts.map +1 -1
- package/dist/planmagnet/controls/ProjectControls.js +53 -46
- package/dist/planmagnet/controls/ProjectControls.js.map +1 -1
- package/dist/planmagnet/controls/WorkItemControls.js +27 -27
- package/dist/planmagnet/dependency/DependencyPanel.js +7 -7
- package/dist/planmagnet/pages/ActivityActivityPagePage.d.ts +2 -0
- package/dist/planmagnet/pages/ActivityActivityPagePage.d.ts.map +1 -0
- package/dist/planmagnet/pages/ActivityActivityPagePage.js +291 -0
- package/dist/planmagnet/pages/ActivityActivityPagePage.js.map +1 -0
- package/dist/planmagnet/pages/AiPlanPagePage.js +6 -6
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +370 -221
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js.map +1 -1
- package/dist/planmagnet/pages/AutomationAutomationRulesPagePage.js +15 -15
- package/dist/planmagnet/pages/AutomationCreateAutomationRulePagePage.js +9 -9
- package/dist/planmagnet/pages/DashboardDashboardPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/DashboardDashboardPagePage.js +140 -135
- package/dist/planmagnet/pages/DashboardDashboardPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ProductsEditProductPagePage.js +4 -4
- package/dist/planmagnet/pages/ProductsEditRoadmapPagePage.js +4 -4
- package/dist/planmagnet/pages/ProductsProductDetailPagePage.js +4 -4
- package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js +118 -109
- package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ProgramsEditProgramPagePage.js +4 -4
- package/dist/planmagnet/pages/ProjectsBudgetDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ProjectsBudgetDetailPagePage.js +160 -108
- package/dist/planmagnet/pages/ProjectsBudgetDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ProjectsBudgetsPagePage.js +10 -10
- package/dist/planmagnet/pages/ProjectsEditProjectPagePage.js +11 -11
- package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.js +4 -4
- package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.js +4 -4
- package/dist/planmagnet/pages/ProjectsPlanningEditPagePage.js +6 -6
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +13 -13
- package/dist/planmagnet/pages/ProjectsQualityGatesPagePage.js +4 -4
- package/dist/planmagnet/pages/ProjectsWorkflowPagePage.js +30 -30
- package/dist/planmagnet/pages/RisksRiskDetailPagePage.js +4 -4
- package/dist/planmagnet/pages/TasksMyDashboardPagePage.d.ts +2 -0
- package/dist/planmagnet/pages/TasksMyDashboardPagePage.d.ts.map +1 -0
- package/dist/planmagnet/pages/TasksMyDashboardPagePage.js +329 -0
- package/dist/planmagnet/pages/TasksMyDashboardPagePage.js.map +1 -0
- package/dist/planmagnet/pages/TasksTaskDetailPagePage.js +26 -26
- package/dist/planmagnet/pages/TeamCreateTeamPagePage.js +4 -4
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.js +6 -6
- package/dist/planmagnet/pages/TeamTeamEditPagePage.js +6 -6
- package/dist/planmagnet/pages/analytics/DeliveryHealthCards.d.ts +14 -2
- package/dist/planmagnet/pages/analytics/DeliveryHealthCards.d.ts.map +1 -1
- package/dist/planmagnet/pages/analytics/DeliveryHealthCards.js +173 -113
- package/dist/planmagnet/pages/analytics/DeliveryHealthCards.js.map +1 -1
- package/dist/planmagnet/pages/analytics/DeliveryKpisCard.d.ts +8 -0
- package/dist/planmagnet/pages/analytics/DeliveryKpisCard.d.ts.map +1 -0
- package/dist/planmagnet/pages/analytics/DeliveryKpisCard.js +211 -0
- package/dist/planmagnet/pages/analytics/DeliveryKpisCard.js.map +1 -0
- package/dist/planmagnet/pages/analytics/QualityMetricsCard.d.ts +8 -0
- package/dist/planmagnet/pages/analytics/QualityMetricsCard.d.ts.map +1 -0
- package/dist/planmagnet/pages/analytics/QualityMetricsCard.js +177 -0
- package/dist/planmagnet/pages/analytics/QualityMetricsCard.js.map +1 -0
- package/dist/planmagnet/pages/analytics/ThroughputCard.d.ts +7 -0
- package/dist/planmagnet/pages/analytics/ThroughputCard.d.ts.map +1 -0
- package/dist/planmagnet/pages/analytics/ThroughputCard.js +137 -0
- package/dist/planmagnet/pages/analytics/ThroughputCard.js.map +1 -0
- package/dist/planmagnet/pages/analytics/analyticsRange.d.ts +42 -0
- package/dist/planmagnet/pages/analytics/analyticsRange.d.ts.map +1 -0
- package/dist/planmagnet/pages/analytics/analyticsRange.js +47 -0
- package/dist/planmagnet/pages/analytics/analyticsRange.js.map +1 -0
- package/dist/planmagnet/roadmaps/RoadmapControls.js +21 -21
- package/dist/planmagnet/roadmaps/RoadmapNowNextLater.d.ts +29 -0
- package/dist/planmagnet/roadmaps/RoadmapNowNextLater.d.ts.map +1 -1
- package/dist/planmagnet/roadmaps/RoadmapNowNextLater.js +1 -1
- package/dist/planmagnet/roadmaps/RoadmapNowNextLater.js.map +1 -1
- package/dist/planmagnet/roadmaps/RoadmapPresentation.d.ts +37 -0
- package/dist/planmagnet/roadmaps/RoadmapPresentation.d.ts.map +1 -0
- package/dist/planmagnet/roadmaps/RoadmapPresentation.js +210 -0
- package/dist/planmagnet/roadmaps/RoadmapPresentation.js.map +1 -0
- package/dist/planmagnet/team/TeamControls.d.ts.map +1 -1
- package/dist/planmagnet/team/TeamControls.js +134 -124
- package/dist/planmagnet/team/TeamControls.js.map +1 -1
- package/dist/planmagnet/time/TimeEntryControls.js +12 -12
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PlanMagnetProvider as e, usePlanMagnet as t } from "../providers/PlanMagnetProvider.js";
|
|
2
2
|
import { PersonName as n } from "../people/People.js";
|
|
3
3
|
import { useTr as r } from "../../shared/hooks/useTr.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { throwOnError as i } from "../utils/mutationResult.js";
|
|
5
|
+
import { cn as a } from "../utils/cn.js";
|
|
6
6
|
import { useMemo as o, useState as s } from "react";
|
|
7
7
|
import { AlertCircle as c, Archive as l, FolderKanban as u, LayoutTemplate as d, Loader2 as f, Users as p, Zap as m } from "lucide-react";
|
|
8
8
|
import { gql as h } from "@apollo/client";
|
|
@@ -106,10 +106,10 @@ function L(e) {
|
|
|
106
106
|
function R(e) {
|
|
107
107
|
return e.toLowerCase().replace(/_/g, " ");
|
|
108
108
|
}
|
|
109
|
-
function z({ icon: e, label: t, used: n, limit: r, className:
|
|
109
|
+
function z({ icon: e, label: t, used: n, limit: r, className: i }) {
|
|
110
110
|
let o = n !== void 0 && r != null ? Math.min(100, Math.round(n / Math.max(1, r) * 100)) : null;
|
|
111
111
|
return /* @__PURE__ */ y(C, {
|
|
112
|
-
className:
|
|
112
|
+
className: i,
|
|
113
113
|
children: /* @__PURE__ */ b(w, {
|
|
114
114
|
className: "pt-6",
|
|
115
115
|
children: [
|
|
@@ -133,7 +133,7 @@ function z({ icon: e, label: t, used: n, limit: r, className: a }) {
|
|
|
133
133
|
o !== null && /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ y("div", {
|
|
134
134
|
className: "mt-3 h-2 w-full overflow-hidden rounded-full bg-muted",
|
|
135
135
|
children: /* @__PURE__ */ y("div", {
|
|
136
|
-
className:
|
|
136
|
+
className: a("h-full rounded-full transition-all", o >= 90 ? "bg-destructive" : o >= 70 ? "bg-warning" : "bg-success"),
|
|
137
137
|
style: { width: `${o}%` }
|
|
138
138
|
})
|
|
139
139
|
}), /* @__PURE__ */ b("p", {
|
|
@@ -161,7 +161,7 @@ function V({ columns: e, data: t, emptyState: n }) {
|
|
|
161
161
|
children: [/* @__PURE__ */ y("thead", {
|
|
162
162
|
className: "bg-muted/50",
|
|
163
163
|
children: /* @__PURE__ */ y("tr", { children: e.map((e) => /* @__PURE__ */ y("th", {
|
|
164
|
-
className:
|
|
164
|
+
className: a("px-4 py-3 text-left font-medium text-muted-foreground", e.className),
|
|
165
165
|
children: e.header
|
|
166
166
|
}, e.key)) })
|
|
167
167
|
}), /* @__PURE__ */ y("tbody", {
|
|
@@ -169,7 +169,7 @@ function V({ columns: e, data: t, emptyState: n }) {
|
|
|
169
169
|
children: t.map((t) => /* @__PURE__ */ y("tr", {
|
|
170
170
|
className: "hover:bg-muted/30",
|
|
171
171
|
children: e.map((e) => /* @__PURE__ */ y("td", {
|
|
172
|
-
className:
|
|
172
|
+
className: a("px-4 py-3", e.className),
|
|
173
173
|
children: e.cell(t)
|
|
174
174
|
}, `${t.id}-${e.key}`))
|
|
175
175
|
}, t.id))
|
|
@@ -178,7 +178,7 @@ function V({ columns: e, data: t, emptyState: n }) {
|
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
function H() {
|
|
181
|
-
let { workspaceId: e } = t(),
|
|
181
|
+
let { workspaceId: e } = t(), a = r(), [h, O] = s(/* @__PURE__ */ new Set()), [H, U] = s(!1), [W, G] = s(null), K = _(A, {
|
|
182
182
|
variables: { workspaceId: e ?? "" },
|
|
183
183
|
skip: !e
|
|
184
184
|
}), q = _(j, {
|
|
@@ -204,13 +204,13 @@ function H() {
|
|
|
204
204
|
U(!0), G(null);
|
|
205
205
|
let e = Array.from(h);
|
|
206
206
|
try {
|
|
207
|
-
let t = await Promise.allSettled(e.map((e) =>
|
|
207
|
+
let t = await Promise.allSettled(e.map((e) => i(X({ variables: { id: e } })))), n = e.filter((e, n) => t[n].status === "rejected");
|
|
208
208
|
if (await K.refetch(), O(new Set(n)), n.length > 0) {
|
|
209
209
|
let r = t.find((e) => e.status === "rejected"), i = r.reason instanceof Error ? r.reason.message : String(r.reason), a = n.map((e) => Z.find((t) => t.id === e)?.name ?? e).join(", ");
|
|
210
210
|
G(`${n.length} of ${e.length} could not be archived (${a}): ${i}`);
|
|
211
211
|
}
|
|
212
212
|
} catch (e) {
|
|
213
|
-
G(e instanceof Error ? e.message :
|
|
213
|
+
G(e instanceof Error ? e.message : a("planmagnet.admin.archive.unknownError", "Bulk archive failed"));
|
|
214
214
|
} finally {
|
|
215
215
|
U(!1);
|
|
216
216
|
}
|
|
@@ -219,7 +219,7 @@ function H() {
|
|
|
219
219
|
className: "min-h-screen bg-background",
|
|
220
220
|
children: /* @__PURE__ */ b("div", {
|
|
221
221
|
className: "flex min-h-[320px] flex-col items-center justify-center gap-3 text-muted-foreground",
|
|
222
|
-
children: [/* @__PURE__ */ y(c, { className: "h-8 w-8" }), /* @__PURE__ */ y("p", { children:
|
|
222
|
+
children: [/* @__PURE__ */ y(c, { className: "h-8 w-8" }), /* @__PURE__ */ y("p", { children: a("planmagnet.admin.noWorkspace", "Select a workspace to manage PlanMagnet admin settings.") })]
|
|
223
223
|
})
|
|
224
224
|
});
|
|
225
225
|
let re = K.loading || q.loading || J.loading;
|
|
@@ -232,10 +232,10 @@ function H() {
|
|
|
232
232
|
className: "flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between",
|
|
233
233
|
children: /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("h1", {
|
|
234
234
|
className: "text-2xl font-semibold tracking-tight",
|
|
235
|
-
children:
|
|
235
|
+
children: a("planmagnet.admin.title", "PlanMagnet Admin")
|
|
236
236
|
}), /* @__PURE__ */ y("p", {
|
|
237
237
|
className: "text-sm text-muted-foreground",
|
|
238
|
-
children:
|
|
238
|
+
children: a("planmagnet.admin.purpose", "Workspace quota overview, bulk project archive, and automation rule audit.")
|
|
239
239
|
})] })
|
|
240
240
|
}),
|
|
241
241
|
/* @__PURE__ */ b("div", {
|
|
@@ -243,25 +243,25 @@ function H() {
|
|
|
243
243
|
children: [
|
|
244
244
|
/* @__PURE__ */ y(z, {
|
|
245
245
|
icon: u,
|
|
246
|
-
label:
|
|
246
|
+
label: a("planmagnet.admin.quota.projects", "Projects"),
|
|
247
247
|
used: Y?.projectCount,
|
|
248
248
|
limit: Y?.projectLimit
|
|
249
249
|
}),
|
|
250
250
|
/* @__PURE__ */ y(z, {
|
|
251
251
|
icon: d,
|
|
252
|
-
label:
|
|
252
|
+
label: a("planmagnet.admin.quota.boards", "Boards"),
|
|
253
253
|
used: Y?.boardCount,
|
|
254
254
|
limit: Y?.boardLimit
|
|
255
255
|
}),
|
|
256
256
|
/* @__PURE__ */ y(z, {
|
|
257
257
|
icon: m,
|
|
258
|
-
label:
|
|
258
|
+
label: a("planmagnet.admin.quota.automationRules", "Automation Rules"),
|
|
259
259
|
used: Y?.automationRuleCount,
|
|
260
260
|
limit: null
|
|
261
261
|
}),
|
|
262
262
|
/* @__PURE__ */ y(z, {
|
|
263
263
|
icon: p,
|
|
264
|
-
label:
|
|
264
|
+
label: a("planmagnet.admin.quota.editors", "Editors"),
|
|
265
265
|
used: Y?.editorCount,
|
|
266
266
|
limit: Y?.editorLimit
|
|
267
267
|
})
|
|
@@ -269,9 +269,9 @@ function H() {
|
|
|
269
269
|
}),
|
|
270
270
|
re ? /* @__PURE__ */ y(B, {}) : /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ b(C, { children: [/* @__PURE__ */ b(T, {
|
|
271
271
|
className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",
|
|
272
|
-
children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y(E, { children:
|
|
272
|
+
children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y(E, { children: a("planmagnet.admin.archive.title", "Bulk Project Archive") }), /* @__PURE__ */ y("p", {
|
|
273
273
|
className: "text-sm text-muted-foreground",
|
|
274
|
-
children:
|
|
274
|
+
children: a("planmagnet.admin.archive.subtitle", "Select projects and archive them in one action.")
|
|
275
275
|
})] }), /* @__PURE__ */ b(S, {
|
|
276
276
|
size: "sm",
|
|
277
277
|
variant: "destructive",
|
|
@@ -279,7 +279,7 @@ function H() {
|
|
|
279
279
|
onClick: ne,
|
|
280
280
|
children: [
|
|
281
281
|
H ? /* @__PURE__ */ y(f, { className: "mr-2 h-4 w-4 animate-spin" }) : /* @__PURE__ */ y(l, { className: "mr-2 h-4 w-4" }),
|
|
282
|
-
|
|
282
|
+
a("planmagnet.admin.archive.action", "Archive"),
|
|
283
283
|
" (",
|
|
284
284
|
h.size,
|
|
285
285
|
")"
|
|
@@ -298,18 +298,18 @@ function H() {
|
|
|
298
298
|
header: /* @__PURE__ */ y(D, {
|
|
299
299
|
checked: $.length > 0 && h.size === $.length,
|
|
300
300
|
onCheckedChange: te,
|
|
301
|
-
"aria-label":
|
|
301
|
+
"aria-label": a("planmagnet.admin.archive.selectAll", "Select all projects")
|
|
302
302
|
}),
|
|
303
303
|
cell: (e) => /* @__PURE__ */ y(D, {
|
|
304
304
|
checked: h.has(e.id),
|
|
305
305
|
onCheckedChange: () => ee(e.id),
|
|
306
|
-
"aria-label":
|
|
306
|
+
"aria-label": a("planmagnet.admin.archive.selectProject", "Select project")
|
|
307
307
|
}),
|
|
308
308
|
className: "w-12"
|
|
309
309
|
},
|
|
310
310
|
{
|
|
311
311
|
key: "name",
|
|
312
|
-
header:
|
|
312
|
+
header: a("planmagnet.admin.archive.column.name", "Project"),
|
|
313
313
|
cell: (e) => /* @__PURE__ */ b("div", {
|
|
314
314
|
className: "flex flex-col",
|
|
315
315
|
children: [/* @__PURE__ */ y("span", {
|
|
@@ -323,7 +323,7 @@ function H() {
|
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
325
|
key: "status",
|
|
326
|
-
header:
|
|
326
|
+
header: a("planmagnet.admin.archive.column.status", "Status"),
|
|
327
327
|
cell: (e) => /* @__PURE__ */ y(x, {
|
|
328
328
|
variant: P(e.status),
|
|
329
329
|
children: e.status.toLowerCase().replace("_", " ")
|
|
@@ -331,7 +331,7 @@ function H() {
|
|
|
331
331
|
},
|
|
332
332
|
{
|
|
333
333
|
key: "methodology",
|
|
334
|
-
header:
|
|
334
|
+
header: a("planmagnet.admin.archive.column.methodology", "Methodology"),
|
|
335
335
|
cell: (e) => /* @__PURE__ */ y("span", {
|
|
336
336
|
className: "text-sm capitalize",
|
|
337
337
|
children: L(e.methodology)
|
|
@@ -339,7 +339,7 @@ function H() {
|
|
|
339
339
|
},
|
|
340
340
|
{
|
|
341
341
|
key: "owner",
|
|
342
|
-
header:
|
|
342
|
+
header: a("planmagnet.admin.archive.column.owner", "Owner"),
|
|
343
343
|
cell: (e) => /* @__PURE__ */ y("span", {
|
|
344
344
|
className: "text-sm text-muted-foreground font-mono",
|
|
345
345
|
children: /* @__PURE__ */ y(n, { id: e.ownerId })
|
|
@@ -347,18 +347,18 @@ function H() {
|
|
|
347
347
|
},
|
|
348
348
|
{
|
|
349
349
|
key: "created",
|
|
350
|
-
header:
|
|
350
|
+
header: a("planmagnet.admin.archive.column.created", "Created"),
|
|
351
351
|
cell: (e) => /* @__PURE__ */ y("span", {
|
|
352
352
|
className: "text-sm",
|
|
353
353
|
children: I(e.createdAt)
|
|
354
354
|
})
|
|
355
355
|
}
|
|
356
356
|
],
|
|
357
|
-
emptyState:
|
|
357
|
+
emptyState: a("planmagnet.admin.archive.empty", "No active projects to archive.")
|
|
358
358
|
})
|
|
359
|
-
})] })] }), /* @__PURE__ */ b(C, { children: [/* @__PURE__ */ b(T, { children: [/* @__PURE__ */ y(E, { children:
|
|
359
|
+
})] })] }), /* @__PURE__ */ b(C, { children: [/* @__PURE__ */ b(T, { children: [/* @__PURE__ */ y(E, { children: a("planmagnet.admin.automation.title", "Automation Rule Audit") }), /* @__PURE__ */ y("p", {
|
|
360
360
|
className: "text-sm text-muted-foreground",
|
|
361
|
-
children:
|
|
361
|
+
children: a("planmagnet.admin.automation.subtitle", "Review rule health, execution counts, and last run timestamps.")
|
|
362
362
|
})] }), /* @__PURE__ */ y(w, { children: /* @__PURE__ */ y("div", {
|
|
363
363
|
className: "rounded-md border",
|
|
364
364
|
children: /* @__PURE__ */ y(V, {
|
|
@@ -366,7 +366,7 @@ function H() {
|
|
|
366
366
|
columns: [
|
|
367
367
|
{
|
|
368
368
|
key: "name",
|
|
369
|
-
header:
|
|
369
|
+
header: a("planmagnet.admin.automation.column.name", "Rule"),
|
|
370
370
|
cell: (e) => /* @__PURE__ */ y("span", {
|
|
371
371
|
className: "font-medium",
|
|
372
372
|
children: e.name
|
|
@@ -374,7 +374,7 @@ function H() {
|
|
|
374
374
|
},
|
|
375
375
|
{
|
|
376
376
|
key: "trigger",
|
|
377
|
-
header:
|
|
377
|
+
header: a("planmagnet.admin.automation.column.trigger", "Trigger"),
|
|
378
378
|
cell: (e) => /* @__PURE__ */ y("span", {
|
|
379
379
|
className: "text-sm",
|
|
380
380
|
children: R(e.triggerType)
|
|
@@ -382,7 +382,7 @@ function H() {
|
|
|
382
382
|
},
|
|
383
383
|
{
|
|
384
384
|
key: "status",
|
|
385
|
-
header:
|
|
385
|
+
header: a("planmagnet.admin.automation.column.status", "Status"),
|
|
386
386
|
cell: (e) => /* @__PURE__ */ y(x, {
|
|
387
387
|
variant: F(e.status),
|
|
388
388
|
children: e.status.toLowerCase()
|
|
@@ -390,7 +390,7 @@ function H() {
|
|
|
390
390
|
},
|
|
391
391
|
{
|
|
392
392
|
key: "executions",
|
|
393
|
-
header:
|
|
393
|
+
header: a("planmagnet.admin.automation.column.executions", "Executions"),
|
|
394
394
|
cell: (e) => /* @__PURE__ */ y("span", {
|
|
395
395
|
className: "text-sm",
|
|
396
396
|
children: e.executionCount
|
|
@@ -398,7 +398,7 @@ function H() {
|
|
|
398
398
|
},
|
|
399
399
|
{
|
|
400
400
|
key: "lastRun",
|
|
401
|
-
header:
|
|
401
|
+
header: a("planmagnet.admin.automation.column.lastRun", "Last Run"),
|
|
402
402
|
cell: (e) => /* @__PURE__ */ y("span", {
|
|
403
403
|
className: "text-sm",
|
|
404
404
|
children: I(e.lastExecutedAt)
|
|
@@ -406,14 +406,14 @@ function H() {
|
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
408
|
key: "created",
|
|
409
|
-
header:
|
|
409
|
+
header: a("planmagnet.admin.automation.column.created", "Created"),
|
|
410
410
|
cell: (e) => /* @__PURE__ */ y("span", {
|
|
411
411
|
className: "text-sm",
|
|
412
412
|
children: I(e.createdAt)
|
|
413
413
|
})
|
|
414
414
|
}
|
|
415
415
|
],
|
|
416
|
-
emptyState:
|
|
416
|
+
emptyState: a("planmagnet.admin.automation.empty", "No automation rules found.")
|
|
417
417
|
})
|
|
418
418
|
}) })] })] })
|
|
419
419
|
]
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AssigneeSelect as e, WORK_ITEM_PRIORITIES as t, WORK_ITEM_STATUSES as n, enumLabel as r } from "../controls/WorkItemControls.js";
|
|
2
|
+
import { ProjectSelect as i } from "../controls/Pickers.js";
|
|
3
3
|
import { ACTION_TYPES as a, ACTION_TYPE_LABEL as o, AUTOMATIC_TRIGGER_TYPES as s, CONDITION_FIELDS as c, CONDITION_OPERATORS as l, CONDITION_OPERATOR_LABEL as u, TRIGGER_TYPES as d, TRIGGER_TYPE_LABEL as f } from "./automationRuleTypes.js";
|
|
4
4
|
import { Plus as p, X as m } from "lucide-react";
|
|
5
5
|
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
6
6
|
import { Button as _, Input as v } from "@burdenoff/fe-libs/ui";
|
|
7
7
|
//#region src/planmagnet/automation/AutomationRuleFields.tsx
|
|
8
8
|
var y = "rounded-md border border-input bg-background px-3 py-2 text-sm disabled:opacity-60", b = `mt-1 w-full ${y}`, x = "text-foreground";
|
|
9
|
-
function S({ action:
|
|
10
|
-
switch (
|
|
11
|
-
case "ASSIGN_TO_USER": return /* @__PURE__ */ h(
|
|
12
|
-
value:
|
|
9
|
+
function S({ action: i, onChange: a }) {
|
|
10
|
+
switch (i.type) {
|
|
11
|
+
case "ASSIGN_TO_USER": return /* @__PURE__ */ h(e, {
|
|
12
|
+
value: i.value,
|
|
13
13
|
onChange: a
|
|
14
14
|
});
|
|
15
15
|
case "SET_STATUS": return /* @__PURE__ */ g("select", {
|
|
16
16
|
className: `${y} w-full`,
|
|
17
|
-
value:
|
|
17
|
+
value: i.value,
|
|
18
18
|
onChange: (e) => a(e.target.value),
|
|
19
19
|
children: [/* @__PURE__ */ h("option", {
|
|
20
20
|
value: "",
|
|
21
21
|
children: "Choose a status"
|
|
22
|
-
}),
|
|
22
|
+
}), n.map((e) => /* @__PURE__ */ h("option", {
|
|
23
23
|
value: e,
|
|
24
|
-
children:
|
|
24
|
+
children: r(e)
|
|
25
25
|
}, e))]
|
|
26
26
|
});
|
|
27
27
|
case "SET_PRIORITY": return /* @__PURE__ */ g("select", {
|
|
28
28
|
className: `${y} w-full`,
|
|
29
|
-
value:
|
|
29
|
+
value: i.value,
|
|
30
30
|
onChange: (e) => a(e.target.value),
|
|
31
31
|
children: [/* @__PURE__ */ h("option", {
|
|
32
32
|
value: "",
|
|
33
33
|
children: "Choose a priority"
|
|
34
|
-
}),
|
|
34
|
+
}), t.map((e) => /* @__PURE__ */ h("option", {
|
|
35
35
|
value: e,
|
|
36
|
-
children:
|
|
36
|
+
children: r(e)
|
|
37
37
|
}, e))]
|
|
38
38
|
});
|
|
39
39
|
default: return /* @__PURE__ */ h(v, {
|
|
40
40
|
"aria-label": "Label",
|
|
41
41
|
className: x,
|
|
42
42
|
placeholder: "e.g. needs-review",
|
|
43
|
-
value:
|
|
43
|
+
value: i.value,
|
|
44
44
|
onChange: (e) => a(e.target.value)
|
|
45
45
|
});
|
|
46
46
|
}
|
|
@@ -182,7 +182,7 @@ function w({ conditions: e, onChange: t }) {
|
|
|
182
182
|
]
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
|
-
function T({ form:
|
|
185
|
+
function T({ form: e, onChange: t, projectLocked: n = !1 }) {
|
|
186
186
|
return /* @__PURE__ */ g("div", {
|
|
187
187
|
className: "space-y-4",
|
|
188
188
|
children: [
|
|
@@ -193,10 +193,10 @@ function T({ form: t, onChange: n, projectLocked: r = !1 }) {
|
|
|
193
193
|
}), /* @__PURE__ */ h(v, {
|
|
194
194
|
id: "automation-name",
|
|
195
195
|
className: `mt-1 ${x}`,
|
|
196
|
-
value:
|
|
197
|
-
onChange: (
|
|
198
|
-
...
|
|
199
|
-
name:
|
|
196
|
+
value: e.name,
|
|
197
|
+
onChange: (n) => t({
|
|
198
|
+
...e,
|
|
199
|
+
name: n.target.value
|
|
200
200
|
}),
|
|
201
201
|
placeholder: "e.g. Assign new bugs to triage"
|
|
202
202
|
})] }),
|
|
@@ -207,10 +207,10 @@ function T({ form: t, onChange: n, projectLocked: r = !1 }) {
|
|
|
207
207
|
}), /* @__PURE__ */ h("textarea", {
|
|
208
208
|
id: "automation-description",
|
|
209
209
|
className: "mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm min-h-[72px]",
|
|
210
|
-
value:
|
|
211
|
-
onChange: (
|
|
212
|
-
...
|
|
213
|
-
description:
|
|
210
|
+
value: e.description,
|
|
211
|
+
onChange: (n) => t({
|
|
212
|
+
...e,
|
|
213
|
+
description: n.target.value
|
|
214
214
|
}),
|
|
215
215
|
placeholder: "What this rule is for"
|
|
216
216
|
})] }),
|
|
@@ -220,17 +220,17 @@ function T({ form: t, onChange: n, projectLocked: r = !1 }) {
|
|
|
220
220
|
htmlFor: "automation-project",
|
|
221
221
|
className: "text-sm font-medium",
|
|
222
222
|
children: "Project"
|
|
223
|
-
}),
|
|
223
|
+
}), n ? /* @__PURE__ */ h("p", {
|
|
224
224
|
className: "mt-1 text-sm text-muted-foreground",
|
|
225
225
|
children: "A rule's project cannot be changed after it is created."
|
|
226
226
|
}) : /* @__PURE__ */ h("div", {
|
|
227
227
|
className: "mt-1",
|
|
228
|
-
children: /* @__PURE__ */ h(
|
|
228
|
+
children: /* @__PURE__ */ h(i, {
|
|
229
229
|
id: "automation-project",
|
|
230
|
-
value:
|
|
231
|
-
onChange: (
|
|
232
|
-
...
|
|
233
|
-
projectId:
|
|
230
|
+
value: e.projectId,
|
|
231
|
+
onChange: (n) => t({
|
|
232
|
+
...e,
|
|
233
|
+
projectId: n
|
|
234
234
|
})
|
|
235
235
|
})
|
|
236
236
|
})] }), /* @__PURE__ */ g("div", { children: [
|
|
@@ -242,17 +242,17 @@ function T({ form: t, onChange: n, projectLocked: r = !1 }) {
|
|
|
242
242
|
/* @__PURE__ */ h("select", {
|
|
243
243
|
id: "automation-trigger",
|
|
244
244
|
className: b,
|
|
245
|
-
value:
|
|
246
|
-
onChange: (
|
|
247
|
-
...
|
|
248
|
-
triggerType:
|
|
245
|
+
value: e.triggerType,
|
|
246
|
+
onChange: (n) => t({
|
|
247
|
+
...e,
|
|
248
|
+
triggerType: n.target.value
|
|
249
249
|
}),
|
|
250
250
|
children: d.map((e) => /* @__PURE__ */ g("option", {
|
|
251
251
|
value: e,
|
|
252
252
|
children: [f[e], s.has(e) ? "" : " (not yet automatic)"]
|
|
253
253
|
}, e))
|
|
254
254
|
}),
|
|
255
|
-
!s.has(
|
|
255
|
+
!s.has(e.triggerType) && /* @__PURE__ */ g("p", {
|
|
256
256
|
className: "mt-1 text-xs text-muted-foreground",
|
|
257
257
|
children: [
|
|
258
258
|
"This trigger is saved but does not fire on its own yet — use",
|
|
@@ -276,10 +276,10 @@ function T({ form: t, onChange: n, projectLocked: r = !1 }) {
|
|
|
276
276
|
children: "All conditions must match. Leave empty to match every event."
|
|
277
277
|
}),
|
|
278
278
|
/* @__PURE__ */ h(w, {
|
|
279
|
-
conditions:
|
|
280
|
-
onChange: (
|
|
281
|
-
...
|
|
282
|
-
conditions:
|
|
279
|
+
conditions: e.conditions,
|
|
280
|
+
onChange: (n) => t({
|
|
281
|
+
...e,
|
|
282
|
+
conditions: n
|
|
283
283
|
})
|
|
284
284
|
})
|
|
285
285
|
] }),
|
|
@@ -293,10 +293,10 @@ function T({ form: t, onChange: n, projectLocked: r = !1 }) {
|
|
|
293
293
|
children: "Run in order when the conditions match."
|
|
294
294
|
}),
|
|
295
295
|
/* @__PURE__ */ h(C, {
|
|
296
|
-
actions:
|
|
297
|
-
onChange: (
|
|
298
|
-
...
|
|
299
|
-
actions:
|
|
296
|
+
actions: e.actions,
|
|
297
|
+
onChange: (n) => t({
|
|
298
|
+
...e,
|
|
299
|
+
actions: n
|
|
300
300
|
})
|
|
301
301
|
})
|
|
302
302
|
] })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { usePlanMagnet as e } from "../providers/PlanMagnetProvider.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { workflowLabel as t } from "../hooks/useProjectWorkflow.js";
|
|
3
|
+
import { throwOnError as n } from "../utils/mutationResult.js";
|
|
4
|
+
import { ErrorLine as r } from "../controls/ConfirmButton.js";
|
|
5
5
|
import { WORK_ITEM_PRIORITIES as i, enumLabel as a, useAssigneeOptions as o } from "../controls/WorkItemControls.js";
|
|
6
6
|
import { useState as s } from "react";
|
|
7
7
|
import { X as c } from "lucide-react";
|
|
@@ -62,7 +62,7 @@ function S({ projectId: l, selectedIds: S, workflow: C, onDone: w }) {
|
|
|
62
62
|
let e = { ids: S };
|
|
63
63
|
E !== h && (e.status = E), O !== h && (e.priority = O), A !== h && (e.assigneeId = A === g ? null : A), M !== h && (e.sprintId = M === _ ? null : M);
|
|
64
64
|
try {
|
|
65
|
-
L((await
|
|
65
|
+
L((await n(V({ variables: { input: e } }))).data?.planmagnetBulkUpdateWorkItems.length ?? S.length), G();
|
|
66
66
|
} catch (e) {
|
|
67
67
|
F(e instanceof Error ? e.message : "The selected tasks could not be updated.");
|
|
68
68
|
}
|
|
@@ -89,7 +89,7 @@ function S({ projectId: l, selectedIds: S, workflow: C, onDone: w }) {
|
|
|
89
89
|
children: "Status: no change"
|
|
90
90
|
}), U.map((e) => /* @__PURE__ */ p("option", {
|
|
91
91
|
value: e.status,
|
|
92
|
-
children: ["Status: ",
|
|
92
|
+
children: ["Status: ", t(C, e.status)]
|
|
93
93
|
}, e.status))]
|
|
94
94
|
}),
|
|
95
95
|
/* @__PURE__ */ p("select", {
|
|
@@ -172,7 +172,7 @@ function S({ projectId: l, selectedIds: S, workflow: C, onDone: w }) {
|
|
|
172
172
|
" updated."
|
|
173
173
|
]
|
|
174
174
|
}),
|
|
175
|
-
P && /* @__PURE__ */ f(
|
|
175
|
+
P && /* @__PURE__ */ f(r, { message: P })
|
|
176
176
|
]
|
|
177
177
|
});
|
|
178
178
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { usePlanMagnet as e, usePlanMagnetNavigate as t } from "../providers/PlanMagnetProvider.js";
|
|
2
2
|
import { PersonName as n } from "../people/People.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { allowedTargets as r, useProjectWorkflow as i, workflowLabel as a } from "../hooks/useProjectWorkflow.js";
|
|
4
|
+
import { throwOnError as o } from "../utils/mutationResult.js";
|
|
5
5
|
import { enumLabel as s } from "../controls/WorkItemControls.js";
|
|
6
6
|
import { useProjectMilestones as c } from "../milestones/MilestoneControls.js";
|
|
7
7
|
import { BulkActionsBar as l } from "./BulkActions.js";
|
|
@@ -24,7 +24,7 @@ var V = [
|
|
|
24
24
|
"CANCELLED"
|
|
25
25
|
], H = f(null), U = () => {
|
|
26
26
|
let e = p(H);
|
|
27
|
-
return (t) =>
|
|
27
|
+
return (t) => a(e, t);
|
|
28
28
|
}, W = 100, oe = b`
|
|
29
29
|
query ProjectBoards($workspaceId: ID!, $projectId: String) {
|
|
30
30
|
planmagnetBoards(
|
|
@@ -189,7 +189,7 @@ function $({ message: e }) {
|
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
191
|
function _e({ projectId: t, projectName: n }) {
|
|
192
|
-
let { workspaceId:
|
|
192
|
+
let { workspaceId: r } = e(), a = x(), [s, f] = m(null), [p, h] = m(null), [g] = m(() => Date.now()), [v, b] = m({
|
|
193
193
|
filter: void 0,
|
|
194
194
|
sort: {
|
|
195
195
|
field: "RANK",
|
|
@@ -202,18 +202,18 @@ function _e({ projectId: t, projectName: n }) {
|
|
|
202
202
|
"STORY_POINTS"
|
|
203
203
|
],
|
|
204
204
|
filterActive: !1
|
|
205
|
-
}), E = u(
|
|
205
|
+
}), E = u(r, t), D = c(t), [O, ee] = m({
|
|
206
206
|
key: null,
|
|
207
207
|
byColumn: {}
|
|
208
208
|
}), [k, A] = m(null), [j, M] = m(/* @__PURE__ */ new Set()), N = (e) => M((t) => {
|
|
209
209
|
let n = new Set(t);
|
|
210
210
|
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
211
|
-
}), P = () => M(/* @__PURE__ */ new Set()), L =
|
|
211
|
+
}), P = () => M(/* @__PURE__ */ new Set()), L = i(t), { data: R, loading: ne } = C(oe, {
|
|
212
212
|
variables: {
|
|
213
|
-
workspaceId:
|
|
213
|
+
workspaceId: r,
|
|
214
214
|
projectId: t
|
|
215
215
|
},
|
|
216
|
-
skip: !
|
|
216
|
+
skip: !r
|
|
217
217
|
}), z = R?.planmagnetBoards.items ?? [], B = (s && z.some((e) => e.id === s) ? s : null) ?? z.find((e) => e.isDefault)?.id ?? z[0]?.id ?? null, [re, ie] = m(B);
|
|
218
218
|
re !== B && (ie(B), M(/* @__PURE__ */ new Set()));
|
|
219
219
|
let { data: ae, previousData: V, loading: U } = C(K, {
|
|
@@ -235,7 +235,7 @@ function _e({ projectId: t, projectName: n }) {
|
|
|
235
235
|
if (!(!W || !t)) {
|
|
236
236
|
h(null), A(e.id);
|
|
237
237
|
try {
|
|
238
|
-
let n = await
|
|
238
|
+
let n = await a.query({
|
|
239
239
|
query: se,
|
|
240
240
|
variables: {
|
|
241
241
|
boardId: W.id,
|
|
@@ -276,7 +276,7 @@ function _e({ projectId: t, projectName: n }) {
|
|
|
276
276
|
}), Z = async (e, t) => {
|
|
277
277
|
h(null);
|
|
278
278
|
try {
|
|
279
|
-
await
|
|
279
|
+
await o(e());
|
|
280
280
|
} catch (e) {
|
|
281
281
|
h(Q(e, t));
|
|
282
282
|
}
|
|
@@ -424,8 +424,8 @@ function _e({ projectId: t, projectName: n }) {
|
|
|
424
424
|
]
|
|
425
425
|
}) });
|
|
426
426
|
}
|
|
427
|
-
function ve({ card: e, column:
|
|
428
|
-
let _ = t(), v = p(H), y = pe(e.statusSince, f), b =
|
|
427
|
+
function ve({ card: e, column: i, columns: o, visibleFields: c, sprintOptions: l, milestoneOptions: u, busy: d, now: f, selected: m, onToggleSelect: h, onMove: g }) {
|
|
428
|
+
let _ = t(), v = p(H), y = pe(e.statusSince, f), b = r(v, e.status, V), x = o.filter((e) => e.id !== i.id && (!e.mappedStatus || b.includes(e.mappedStatus))), S = (e) => c.includes(e), C = e.sprintId ? l.find((t) => t.id === e.sprintId)?.name : null, E = e.milestoneId ? u.find((t) => t.id === e.milestoneId)?.name : null, D = [];
|
|
429
429
|
return S("TYPE") && D.push({
|
|
430
430
|
key: "type",
|
|
431
431
|
text: s(e.type)
|
|
@@ -480,7 +480,7 @@ function ve({ card: e, column: r, columns: a, visibleFields: c, sprintOptions: l
|
|
|
480
480
|
y !== null && /* @__PURE__ */ w("span", {
|
|
481
481
|
"data-testid": "card-age",
|
|
482
482
|
className: me(y),
|
|
483
|
-
title: `In ${
|
|
483
|
+
title: `In ${a(v, e.status)} since ${new Date(e.statusSince ?? "").toLocaleDateString()}`,
|
|
484
484
|
children: y === 0 ? "today" : `${y}d in status`
|
|
485
485
|
}),
|
|
486
486
|
S("STORY_POINTS") && /* @__PURE__ */ T("span", { children: [e.storyPoints ?? 0, " pts"] })
|
|
@@ -760,35 +760,35 @@ function Ce({ boardId: e, column: t, columns: n, cards: r, visibleFields: i, fil
|
|
|
760
760
|
});
|
|
761
761
|
}
|
|
762
762
|
function we({ boardId: e, column: t }) {
|
|
763
|
-
let n = t !== void 0,
|
|
763
|
+
let n = t !== void 0, r = U(), [i, a] = m(!1), [s, c] = m(t?.name ?? ""), [l, u] = m(t?.mappedStatus ?? ""), [d, f] = m(t?.wipLimit ? String(t.wipLimit) : ""), [p, h] = m(null), g = {
|
|
764
764
|
refetchQueries: Y,
|
|
765
765
|
awaitRefetchQueries: !0
|
|
766
766
|
}, [_, b] = S(q, g), [x, C] = S(J, g), [P, te] = S(ue, g), I = b.loading || C.loading || te.loading, H = d.trim() === "" ? null : Number(d), W = H !== null && (!Number.isInteger(H) || H < 1), oe = s.trim() !== "" && !W && !I, G = () => {
|
|
767
767
|
c(t?.name ?? ""), u(t?.mappedStatus ?? ""), f(t?.wipLimit ? String(t.wipLimit) : ""), h(null);
|
|
768
768
|
}, se = async () => {
|
|
769
769
|
h(null);
|
|
770
|
-
let
|
|
770
|
+
let r = {
|
|
771
771
|
name: s.trim(),
|
|
772
772
|
mappedStatus: l || null,
|
|
773
773
|
wipLimit: H
|
|
774
774
|
};
|
|
775
775
|
try {
|
|
776
|
-
n ? await
|
|
776
|
+
n ? await o(x({ variables: {
|
|
777
777
|
id: t.id,
|
|
778
|
-
input:
|
|
779
|
-
} })) : await
|
|
778
|
+
input: r
|
|
779
|
+
} })) : await o(_({ variables: { input: {
|
|
780
780
|
boardId: e,
|
|
781
781
|
type: "CUSTOM",
|
|
782
|
-
...
|
|
783
|
-
} } })),
|
|
782
|
+
...r
|
|
783
|
+
} } })), a(!1);
|
|
784
784
|
} catch (e) {
|
|
785
785
|
h(Q(e, "The column could not be saved."));
|
|
786
786
|
}
|
|
787
787
|
}, K = n ? `column-${t.id}` : "new-column";
|
|
788
788
|
return /* @__PURE__ */ T(R, {
|
|
789
|
-
open:
|
|
789
|
+
open: i,
|
|
790
790
|
onOpenChange: (e) => {
|
|
791
|
-
|
|
791
|
+
a(e), e && G();
|
|
792
792
|
},
|
|
793
793
|
children: [/* @__PURE__ */ w(ae, {
|
|
794
794
|
asChild: !0,
|
|
@@ -834,7 +834,7 @@ function we({ boardId: e, column: t }) {
|
|
|
834
834
|
children: "No status (cards keep theirs)"
|
|
835
835
|
}), V.map((e) => /* @__PURE__ */ w("option", {
|
|
836
836
|
value: e,
|
|
837
|
-
children:
|
|
837
|
+
children: r(e)
|
|
838
838
|
}, e))]
|
|
839
839
|
})] }),
|
|
840
840
|
/* @__PURE__ */ T("div", { children: [
|
|
@@ -873,7 +873,7 @@ function we({ boardId: e, column: t }) {
|
|
|
873
873
|
className: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
|
|
874
874
|
onClick: async () => {
|
|
875
875
|
try {
|
|
876
|
-
await
|
|
876
|
+
await o(P({ variables: { id: t.id } })), a(!1);
|
|
877
877
|
} catch (e) {
|
|
878
878
|
h(Q(e, "The column could not be deleted."));
|
|
879
879
|
}
|