@burdenoff/microfe-planmagnet 2026.1014.2 → 2026.1101.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.
Files changed (47) hide show
  1. package/dist/generated/global-types.d.ts +1164 -14
  2. package/dist/generated/wspace-types.d.ts +1333 -9
  3. package/dist/planmagnet/PlanMagnetRoot.js +111 -117
  4. package/dist/planmagnet/automation/AutomationExecutionsPanel.d.ts +2 -0
  5. package/dist/planmagnet/automation/AutomationExecutionsPanel.js +26 -14
  6. package/dist/planmagnet/automation/AutomationRuleFields.d.ts +3 -2
  7. package/dist/planmagnet/automation/AutomationRuleFields.js +120 -117
  8. package/dist/planmagnet/automation/WorkflowSelect.d.ts +5 -0
  9. package/dist/planmagnet/automation/WorkflowSelect.js +74 -0
  10. package/dist/planmagnet/automation/automationRuleTypes.d.ts +16 -10
  11. package/dist/planmagnet/automation/automationRuleTypes.js +38 -32
  12. package/dist/planmagnet/controls/AutomationRuleControls.d.ts +3 -1
  13. package/dist/planmagnet/controls/AutomationRuleControls.js +23 -23
  14. package/dist/planmagnet/controls/FeatureTriage.d.ts +2 -2
  15. package/dist/planmagnet/dependency/DependencyPanel.js +1 -1
  16. package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +17 -17
  17. package/dist/planmagnet/pages/AutomationAutomationRuleDetailPagePage.js +80 -79
  18. package/dist/planmagnet/pages/DashboardDashboardPagePage.js +6 -6
  19. package/dist/planmagnet/pages/GoalsCreateObjectivePagePage.js +1 -1
  20. package/dist/planmagnet/pages/GoalsGoalsPagePage.js +6 -6
  21. package/dist/planmagnet/pages/GoalsObjectiveDetailPagePage.js +5 -5
  22. package/dist/planmagnet/pages/ProductsFeatureAnalyticsPagePage.js +9 -9
  23. package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.js +16 -13
  24. package/dist/planmagnet/pages/ProductsFeaturesPagePage.js +10 -10
  25. package/dist/planmagnet/pages/ProductsProductsPagePage.js +3 -3
  26. package/dist/planmagnet/pages/ProductsReleaseDetailPagePage.js +9 -9
  27. package/dist/planmagnet/pages/ProductsReleasesPagePage.js +9 -9
  28. package/dist/planmagnet/pages/ProductsRoadmapAnalyticsPagePage.js +15 -15
  29. package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js +7 -7
  30. package/dist/planmagnet/pages/ProjectsActiveProjectsPagePage.js +1 -1
  31. package/dist/planmagnet/pages/ProjectsCriticalPathPagePage.js +1 -1
  32. package/dist/planmagnet/pages/ProjectsCustomFieldsPagePage.js +1 -1
  33. package/dist/planmagnet/pages/ProjectsGanttPagePage.js +1 -1
  34. package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.js +13 -10
  35. package/dist/planmagnet/pages/ProjectsMilestonesPagePage.js +6 -6
  36. package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.js +3 -3
  37. package/dist/planmagnet/pages/ProjectsPlanningPagePage.js +8 -8
  38. package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +26 -23
  39. package/dist/planmagnet/pages/ProjectsProjectsPagePage.js +8 -8
  40. package/dist/planmagnet/pages/RisksRiskDetailPagePage.js +7 -7
  41. package/dist/planmagnet/pages/RisksRiskRegisterPagePage.js +13 -13
  42. package/dist/planmagnet/pages/SprintsStartSprintPagePage.js +1 -1
  43. package/dist/planmagnet/pages/TasksTaskDetailPagePage.js +5 -5
  44. package/dist/planmagnet/pages/TasksTasksPagePage.js +16 -16
  45. package/dist/planmagnet/pages/TeamTeamDetailPagePage.js +6 -6
  46. package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js +5 -5
  47. package/package.json +1 -1
@@ -7,338 +7,337 @@ import { joinPath as l } from "./utils/navigation.js";
7
7
  import { useEffect as u } from "react";
8
8
  import { Activity as d, BarChart3 as f, Bot as p, Briefcase as m, CalendarClock as h, CalendarDays as g, CheckSquare as _, ClipboardList as v, Crown as y, Flag as b, FolderKanban as x, Gauge as S, GitBranch as C, History as w, Layers as T, LayoutDashboard as E, LayoutGrid as D, LayoutTemplate as O, ListTree as k, Map as A, MessageSquareHeart as j, Package as M, ShieldAlert as N, ShieldCheck as P, Sparkles as F, SquareGanttChart as I, Star as L, Swords as R, Target as z, TrendingUp as B, UserPlus as V, Users as H, UsersRound as U, Zap as W } from "lucide-react";
9
9
  import { jsx as G } from "react/jsx-runtime";
10
- import { FeatureFlagProvider as K } from "@burdenoff/fe-libs/shared/feature-flags";
11
10
  //#region src/planmagnet/PlanMagnetRoot.tsx
12
- function q({ children: e }) {
11
+ function K({ children: e }) {
13
12
  let { workspaceId: r } = t();
14
13
  return /* @__PURE__ */ G(n, {
15
14
  workspaceId: r ?? void 0,
16
15
  children: e
17
16
  });
18
17
  }
19
- var J = (t) => {
20
- let { registerNavItems: n, registerFooterItems: J, basePath: Y = "/" } = t, X = r();
18
+ var q = (t) => {
19
+ let { registerNavItems: n, registerFooterItems: q, basePath: J = "/" } = t, Y = r();
21
20
  return u(() => {
22
21
  if (n) return n({
23
22
  id: "planmagnet",
24
- label: X("planmagnet.nav.root", "PlanMagnet"),
25
- path: Y,
23
+ label: Y("planmagnet.nav.root", "PlanMagnet"),
24
+ path: J,
26
25
  icon: /* @__PURE__ */ G(E, { size: 20 }),
27
26
  order: 80,
28
27
  group: "products",
29
28
  children: [
30
29
  {
31
30
  id: "planmagnet-dashboard",
32
- label: X("planmagnet.nav.dashboard", "Dashboard"),
33
- path: l(Y, "dashboard/dashboard-page"),
31
+ label: Y("planmagnet.nav.dashboard", "Dashboard"),
32
+ path: l(J, "dashboard/dashboard-page"),
34
33
  icon: /* @__PURE__ */ G(E, { size: 16 }),
35
34
  order: 1
36
35
  },
37
36
  {
38
37
  id: "planmagnet-dashboards",
39
- label: X("planmagnet.nav.dashboards", "Dashboards"),
40
- path: l(Y, "dashboards/executive-page"),
38
+ label: Y("planmagnet.nav.dashboards", "Dashboards"),
39
+ path: l(J, "dashboards/executive-page"),
41
40
  icon: /* @__PURE__ */ G(D, { size: 16 }),
42
41
  order: 1.5,
43
42
  children: [
44
43
  {
45
44
  id: "planmagnet-dashboards-executive",
46
- label: X("planmagnet.nav.dashboards.executive", "Executive"),
47
- path: l(Y, "dashboards/executive-page"),
45
+ label: Y("planmagnet.nav.dashboards.executive", "Executive"),
46
+ path: l(J, "dashboards/executive-page"),
48
47
  icon: /* @__PURE__ */ G(D, { size: 16 })
49
48
  },
50
49
  {
51
50
  id: "planmagnet-dashboards-pm",
52
- label: X("planmagnet.nav.dashboards.pm", "Project manager"),
53
- path: l(Y, "dashboards/project-manager-page"),
51
+ label: Y("planmagnet.nav.dashboards.pm", "Project manager"),
52
+ path: l(J, "dashboards/project-manager-page"),
54
53
  icon: /* @__PURE__ */ G(v, { size: 16 })
55
54
  },
56
55
  {
57
56
  id: "planmagnet-dashboards-team",
58
- label: X("planmagnet.nav.dashboards.team", "Team utilization"),
59
- path: l(Y, "dashboards/team-utilization-page"),
57
+ label: Y("planmagnet.nav.dashboards.team", "Team utilization"),
58
+ path: l(J, "dashboards/team-utilization-page"),
60
59
  icon: /* @__PURE__ */ G(U, { size: 16 })
61
60
  },
62
61
  {
63
62
  id: "planmagnet-dashboards-leadership",
64
- label: X("planmagnet.nav.dashboards.leadership", "Leadership"),
65
- path: l(Y, "dashboards/leadership-page"),
63
+ label: Y("planmagnet.nav.dashboards.leadership", "Leadership"),
64
+ path: l(J, "dashboards/leadership-page"),
66
65
  icon: /* @__PURE__ */ G(y, { size: 16 })
67
66
  }
68
67
  ]
69
68
  },
70
69
  {
71
70
  id: "planmagnet-products",
72
- label: X("planmagnet.nav.products", "Products"),
73
- path: l(Y, "products/products-page"),
71
+ label: Y("planmagnet.nav.products", "Products"),
72
+ path: l(J, "products/products-page"),
74
73
  icon: /* @__PURE__ */ G(M, { size: 16 }),
75
74
  order: 2,
76
75
  children: [
77
76
  {
78
77
  id: "planmagnet-product-lines",
79
- label: X("planmagnet.nav.products.productLines", "Product lines"),
80
- path: l(Y, s),
78
+ label: Y("planmagnet.nav.products.productLines", "Product lines"),
79
+ path: l(J, s),
81
80
  icon: /* @__PURE__ */ G(T, { size: 16 })
82
81
  },
83
82
  {
84
83
  id: "planmagnet-product-hierarchy",
85
- label: X("planmagnet.nav.products.hierarchy", "Product hierarchy"),
86
- path: l(Y, o),
84
+ label: Y("planmagnet.nav.products.hierarchy", "Product hierarchy"),
85
+ path: l(J, o),
87
86
  icon: /* @__PURE__ */ G(k, { size: 16 })
88
87
  },
89
88
  {
90
89
  id: "planmagnet-features",
91
- label: X("planmagnet.nav.products.featureRequests", "Feature requests"),
92
- path: l(Y, "products/features-page"),
90
+ label: Y("planmagnet.nav.products.featureRequests", "Feature requests"),
91
+ path: l(J, "products/features-page"),
93
92
  icon: /* @__PURE__ */ G(L, { size: 16 })
94
93
  },
95
94
  {
96
95
  id: "planmagnet-releases",
97
- label: X("planmagnet.nav.products.releases", "Releases"),
98
- path: l(Y, "products/releases-page"),
96
+ label: Y("planmagnet.nav.products.releases", "Releases"),
97
+ path: l(J, "products/releases-page"),
99
98
  icon: /* @__PURE__ */ G(C, { size: 16 })
100
99
  },
101
100
  {
102
101
  id: "planmagnet-roadmaps",
103
- label: X("planmagnet.nav.products.roadmaps", "Roadmaps"),
104
- path: l(Y, "products/roadmaps-page"),
102
+ label: Y("planmagnet.nav.products.roadmaps", "Roadmaps"),
103
+ path: l(J, "products/roadmaps-page"),
105
104
  icon: /* @__PURE__ */ G(A, { size: 16 })
106
105
  },
107
106
  {
108
107
  id: "planmagnet-portfolios",
109
- label: X("planmagnet.nav.products.portfolios", "Portfolios"),
110
- path: l(Y, "products/portfolios-page"),
108
+ label: Y("planmagnet.nav.products.portfolios", "Portfolios"),
109
+ path: l(J, "products/portfolios-page"),
111
110
  icon: /* @__PURE__ */ G(m, { size: 16 })
112
111
  },
113
112
  {
114
113
  id: "planmagnet-programs",
115
- label: X("planmagnet.nav.products.programs", "Programs"),
116
- path: l(Y, "products/programs-page"),
114
+ label: Y("planmagnet.nav.products.programs", "Programs"),
115
+ path: l(J, "products/programs-page"),
117
116
  icon: /* @__PURE__ */ G(x, { size: 16 })
118
117
  },
119
118
  {
120
119
  id: "planmagnet-competitors",
121
- label: X("planmagnet.nav.products.competitors", "Competitors"),
122
- path: l(Y, "products/competitors-page"),
120
+ label: Y("planmagnet.nav.products.competitors", "Competitors"),
121
+ path: l(J, "products/competitors-page"),
123
122
  icon: /* @__PURE__ */ G(R, { size: 16 })
124
123
  },
125
124
  {
126
125
  id: "planmagnet-prioritization",
127
- label: X("planmagnet.nav.products.prioritization", "Prioritization"),
128
- path: l(Y, a),
126
+ label: Y("planmagnet.nav.products.prioritization", "Prioritization"),
127
+ path: l(J, a),
129
128
  icon: /* @__PURE__ */ G(S, { size: 16 })
130
129
  },
131
130
  {
132
131
  id: "planmagnet-customer-satisfaction",
133
- label: X("planmagnet.nav.products.customerSatisfaction", "Customer satisfaction"),
134
- path: l(Y, i),
132
+ label: Y("planmagnet.nav.products.customerSatisfaction", "Customer satisfaction"),
133
+ path: l(J, i),
135
134
  icon: /* @__PURE__ */ G(j, { size: 16 })
136
135
  }
137
136
  ]
138
137
  },
139
138
  {
140
139
  id: "planmagnet-projects",
141
- label: X("planmagnet.nav.projects", "Projects"),
142
- path: l(Y, "projects/projects-page"),
140
+ label: Y("planmagnet.nav.projects", "Projects"),
141
+ path: l(J, "projects/projects-page"),
143
142
  icon: /* @__PURE__ */ G(x, { size: 16 }),
144
143
  order: 3,
145
144
  children: [
146
145
  {
147
146
  id: "planmagnet-projects-all",
148
- label: X("planmagnet.nav.projects.all", "All Projects"),
149
- path: l(Y, "projects/projects-page"),
147
+ label: Y("planmagnet.nav.projects.all", "All Projects"),
148
+ path: l(J, "projects/projects-page"),
150
149
  icon: /* @__PURE__ */ G(x, { size: 16 })
151
150
  },
152
151
  {
153
152
  id: "planmagnet-projects-active",
154
- label: X("planmagnet.nav.projects.active", "Active Projects"),
155
- path: l(Y, "projects/active-projects-page"),
153
+ label: Y("planmagnet.nav.projects.active", "Active Projects"),
154
+ path: l(J, "projects/active-projects-page"),
156
155
  icon: /* @__PURE__ */ G(B, { size: 16 })
157
156
  },
158
157
  {
159
158
  id: "planmagnet-projects-create",
160
- label: X("planmagnet.nav.projects.create", "Create Project"),
161
- path: l(Y, "projects/create-project-page"),
159
+ label: Y("planmagnet.nav.projects.create", "Create Project"),
160
+ path: l(J, "projects/create-project-page"),
162
161
  icon: /* @__PURE__ */ G(x, { size: 16 })
163
162
  },
164
163
  {
165
164
  id: "planmagnet-milestones",
166
- label: X("planmagnet.nav.projects.milestones", "Milestones"),
167
- path: l(Y, "projects/milestones-page"),
165
+ label: Y("planmagnet.nav.projects.milestones", "Milestones"),
166
+ path: l(J, "projects/milestones-page"),
168
167
  icon: /* @__PURE__ */ G(z, { size: 16 })
169
168
  },
170
169
  {
171
170
  id: "planmagnet-planning",
172
- label: X("planmagnet.nav.projects.planning", "Planning"),
173
- path: l(Y, "projects/planning-page"),
171
+ label: Y("planmagnet.nav.projects.planning", "Planning"),
172
+ path: l(J, "projects/planning-page"),
174
173
  icon: /* @__PURE__ */ G(g, { size: 16 })
175
174
  },
176
175
  {
177
176
  id: "planmagnet-templates",
178
- label: X("planmagnet.nav.projects.templates", "Templates"),
179
- path: l(Y, "templates/templates-page"),
177
+ label: Y("planmagnet.nav.projects.templates", "Templates"),
178
+ path: l(J, "templates/templates-page"),
180
179
  icon: /* @__PURE__ */ G(O, { size: 16 })
181
180
  },
182
181
  {
183
182
  id: "planmagnet-quality-gates",
184
- label: X("planmagnet.nav.projects.qualityGates", "Quality gates"),
185
- path: l(Y, "projects/quality-gates-page"),
183
+ label: Y("planmagnet.nav.projects.qualityGates", "Quality gates"),
184
+ path: l(J, "projects/quality-gates-page"),
186
185
  icon: /* @__PURE__ */ G(P, { size: 16 })
187
186
  },
188
187
  {
189
188
  id: "planmagnet-gantt",
190
- label: X("planmagnet.nav.projects.gantt", "Gantt"),
191
- path: l(Y, "projects/gantt-page"),
189
+ label: Y("planmagnet.nav.projects.gantt", "Gantt"),
190
+ path: l(J, "projects/gantt-page"),
192
191
  icon: /* @__PURE__ */ G(I, { size: 16 })
193
192
  },
194
193
  {
195
194
  id: "planmagnet-at-risk",
196
- label: X("planmagnet.nav.projects.atRisk", "At-risk work"),
197
- path: l(Y, "projects/at-risk-page"),
195
+ label: Y("planmagnet.nav.projects.atRisk", "At-risk work"),
196
+ path: l(J, "projects/at-risk-page"),
198
197
  icon: /* @__PURE__ */ G(N, { size: 16 })
199
198
  }
200
199
  ]
201
200
  },
202
201
  {
203
202
  id: "planmagnet-meetings",
204
- label: X("planmagnet.nav.meetings", "Meetings"),
205
- path: l(Y, "meetings/meetings-page"),
203
+ label: Y("planmagnet.nav.meetings", "Meetings"),
204
+ path: l(J, "meetings/meetings-page"),
206
205
  icon: /* @__PURE__ */ G(h, { size: 16 }),
207
206
  order: 3.2
208
207
  },
209
208
  {
210
209
  id: "planmagnet-goals",
211
- label: X("planmagnet.nav.goals", "Goals (OKRs)"),
212
- path: l(Y, "goals/goals-page"),
210
+ label: Y("planmagnet.nav.goals", "Goals (OKRs)"),
211
+ path: l(J, "goals/goals-page"),
213
212
  icon: /* @__PURE__ */ G(b, { size: 16 }),
214
213
  order: 3.5,
215
214
  children: [{
216
215
  id: "planmagnet-goals-all",
217
- label: X("planmagnet.nav.goals.all", "All Objectives"),
218
- path: l(Y, "goals/goals-page"),
216
+ label: Y("planmagnet.nav.goals.all", "All Objectives"),
217
+ path: l(J, "goals/goals-page"),
219
218
  icon: /* @__PURE__ */ G(b, { size: 16 })
220
219
  }, {
221
220
  id: "planmagnet-goals-create",
222
- label: X("planmagnet.nav.goals.create", "Create Objective"),
223
- path: l(Y, "goals/create-objective-page"),
221
+ label: Y("planmagnet.nav.goals.create", "Create Objective"),
222
+ path: l(J, "goals/create-objective-page"),
224
223
  icon: /* @__PURE__ */ G(b, { size: 16 })
225
224
  }]
226
225
  },
227
226
  {
228
227
  id: "planmagnet-tasks",
229
- label: X("planmagnet.nav.tasks", "Tasks"),
230
- path: l(Y, "tasks/tasks-page"),
228
+ label: Y("planmagnet.nav.tasks", "Tasks"),
229
+ path: l(J, "tasks/tasks-page"),
231
230
  icon: /* @__PURE__ */ G(_, { size: 16 }),
232
231
  order: 4,
233
232
  children: [
234
233
  {
235
234
  id: "planmagnet-tasks-my-dashboard",
236
- label: X("planmagnet.nav.tasks.myDashboard", "My dashboard"),
237
- path: l(Y, "tasks/my-dashboard-page"),
235
+ label: Y("planmagnet.nav.tasks.myDashboard", "My dashboard"),
236
+ path: l(J, "tasks/my-dashboard-page"),
238
237
  icon: /* @__PURE__ */ G(E, { size: 16 })
239
238
  },
240
239
  {
241
240
  id: "planmagnet-tasks-board",
242
- label: X("planmagnet.nav.tasks.board", "Task Board"),
243
- path: l(Y, "tasks/tasks-page"),
241
+ label: Y("planmagnet.nav.tasks.board", "Task Board"),
242
+ path: l(J, "tasks/tasks-page"),
244
243
  icon: /* @__PURE__ */ G(_, { size: 16 })
245
244
  },
246
245
  {
247
246
  id: "planmagnet-tasks-create",
248
- label: X("planmagnet.nav.tasks.create", "Create Task"),
249
- path: l(Y, "tasks/create-task-page"),
247
+ label: Y("planmagnet.nav.tasks.create", "Create Task"),
248
+ path: l(J, "tasks/create-task-page"),
250
249
  icon: /* @__PURE__ */ G(_, { size: 16 })
251
250
  }
252
251
  ]
253
252
  },
254
253
  {
255
254
  id: "planmagnet-sprints",
256
- label: X("planmagnet.nav.sprints", "Sprints"),
257
- path: l(Y, "sprints/start-sprint-page"),
255
+ label: Y("planmagnet.nav.sprints", "Sprints"),
256
+ path: l(J, "sprints/start-sprint-page"),
258
257
  icon: /* @__PURE__ */ G(W, { size: 16 }),
259
258
  order: 5
260
259
  },
261
260
  {
262
261
  id: "planmagnet-automation",
263
- label: X("planmagnet.nav.automation", "Automation"),
264
- path: l(Y, "automation/automation-rules-page"),
262
+ label: Y("planmagnet.nav.automation", "Automation"),
263
+ path: l(J, "automation/automation-rules-page"),
265
264
  icon: /* @__PURE__ */ G(p, { size: 16 }),
266
265
  order: 5.5,
267
266
  children: [{
268
267
  id: "planmagnet-automation-rules",
269
- label: X("planmagnet.nav.automation.rules", "Rules"),
270
- path: l(Y, "automation/automation-rules-page"),
268
+ label: Y("planmagnet.nav.automation.rules", "Rules"),
269
+ path: l(J, "automation/automation-rules-page"),
271
270
  icon: /* @__PURE__ */ G(p, { size: 16 })
272
271
  }, {
273
272
  id: "planmagnet-automation-create",
274
- label: X("planmagnet.nav.automation.create", "New rule"),
275
- path: l(Y, "automation/create-automation-rule-page"),
273
+ label: Y("planmagnet.nav.automation.create", "New rule"),
274
+ path: l(J, "automation/create-automation-rule-page"),
276
275
  icon: /* @__PURE__ */ G(p, { size: 16 })
277
276
  }]
278
277
  },
279
278
  {
280
279
  id: "planmagnet-ai",
281
- label: X("planmagnet.nav.ai", "AI planning"),
282
- path: l(Y, "ai/plan-page"),
280
+ label: Y("planmagnet.nav.ai", "AI planning"),
281
+ path: l(J, "ai/plan-page"),
283
282
  icon: /* @__PURE__ */ G(F, { size: 16 }),
284
283
  order: 5.7,
285
284
  children: [{
286
285
  id: "planmagnet-ai-plan",
287
- label: X("planmagnet.nav.ai.plan", "Break down work"),
288
- path: l(Y, "ai/plan-page"),
286
+ label: Y("planmagnet.nav.ai.plan", "Break down work"),
287
+ path: l(J, "ai/plan-page"),
289
288
  icon: /* @__PURE__ */ G(F, { size: 16 })
290
289
  }, {
291
290
  id: "planmagnet-ai-activity",
292
- label: X("planmagnet.nav.ai.activity", "My AI activity"),
293
- path: l(Y, "ai/activity-page"),
291
+ label: Y("planmagnet.nav.ai.activity", "My AI activity"),
292
+ path: l(J, "ai/activity-page"),
294
293
  icon: /* @__PURE__ */ G(w, { size: 16 })
295
294
  }]
296
295
  },
297
296
  {
298
297
  id: "planmagnet-activity",
299
- label: X("planmagnet.nav.activity", "Activity"),
300
- path: l(Y, "activity/activity-page"),
298
+ label: Y("planmagnet.nav.activity", "Activity"),
299
+ path: l(J, "activity/activity-page"),
301
300
  icon: /* @__PURE__ */ G(d, { size: 16 }),
302
301
  order: 6
303
302
  },
304
303
  {
305
304
  id: "planmagnet-reports",
306
- label: X("planmagnet.nav.reports", "Reports"),
307
- path: l(Y, "reports/reports-page"),
305
+ label: Y("planmagnet.nav.reports", "Reports"),
306
+ path: l(J, "reports/reports-page"),
308
307
  icon: /* @__PURE__ */ G(f, { size: 16 }),
309
308
  order: 8
310
309
  },
311
310
  {
312
311
  id: "planmagnet-team",
313
- label: X("planmagnet.nav.team", "Team"),
314
- path: l(Y, "team/team-page"),
312
+ label: Y("planmagnet.nav.team", "Team"),
313
+ path: l(J, "team/team-page"),
315
314
  icon: /* @__PURE__ */ G(H, { size: 16 }),
316
315
  order: 10,
317
316
  children: [
318
317
  {
319
318
  id: "planmagnet-teams",
320
- label: X("planmagnet.nav.team.teams", "Teams"),
321
- path: l(Y, "team/teams-page"),
319
+ label: Y("planmagnet.nav.team.teams", "Teams"),
320
+ path: l(J, "team/teams-page"),
322
321
  icon: /* @__PURE__ */ G(H, { size: 16 })
323
322
  },
324
323
  {
325
324
  id: "planmagnet-team-roster",
326
- label: X("planmagnet.nav.team.members", "Members"),
327
- path: l(Y, "team/team-page"),
325
+ label: Y("planmagnet.nav.team.members", "Members"),
326
+ path: l(J, "team/team-page"),
328
327
  icon: /* @__PURE__ */ G(H, { size: 16 })
329
328
  },
330
329
  {
331
330
  id: "planmagnet-team-invite",
332
- label: X("planmagnet.nav.team.invite", "Invite member"),
333
- path: l(Y, "team/invite-member-page"),
331
+ label: Y("planmagnet.nav.team.invite", "Invite member"),
332
+ path: l(J, "team/invite-member-page"),
334
333
  icon: /* @__PURE__ */ G(V, { size: 16 })
335
334
  }
336
335
  ]
337
336
  },
338
337
  {
339
338
  id: "planmagnet-analytics",
340
- label: X("planmagnet.nav.analytics", "Analytics"),
341
- path: l(Y, "analytics/analytics-page"),
339
+ label: Y("planmagnet.nav.analytics", "Analytics"),
340
+ path: l(J, "analytics/analytics-page"),
342
341
  icon: /* @__PURE__ */ G(B, { size: 16 }),
343
342
  order: 12
344
343
  }
@@ -346,25 +345,20 @@ var J = (t) => {
346
345
  });
347
346
  }, [
348
347
  n,
349
- Y,
350
- X
348
+ J,
349
+ Y
351
350
  ]), u(() => {
352
- if (J) return J([{
351
+ if (q) return q([{
353
352
  id: "planmagnet-status",
354
- label: X("planmagnet.footer.ready", "PlanMagnet Ready"),
353
+ label: Y("planmagnet.footer.ready", "PlanMagnet Ready"),
355
354
  type: "status",
356
355
  section: "left",
357
356
  order: 10
358
357
  }]);
359
- }, [J, X]), /* @__PURE__ */ G(K, {
360
- workspaceId: null,
361
- gateway: "global",
362
- defaultEnabled: !0,
363
- children: /* @__PURE__ */ G(e, {
364
- ...t,
365
- children: /* @__PURE__ */ G(q, { children: /* @__PURE__ */ G(c, {}) })
366
- })
358
+ }, [q, Y]), /* @__PURE__ */ G(e, {
359
+ ...t,
360
+ children: /* @__PURE__ */ G(K, { children: /* @__PURE__ */ G(c, {}) })
367
361
  });
368
362
  };
369
363
  //#endregion
370
- export { J as PlanMagnetRoot };
364
+ export { q as PlanMagnetRoot };
@@ -1,3 +1,5 @@
1
+ /** OVL-09 (BOFF-3532): the canonical workflow runs a RUN_WORKFLOW action started, as `key (run id)` labels. */
2
+ export declare function workflowRunsSummary(result: unknown): string | null;
1
3
  export declare function AutomationExecutionsPanel({ workspaceId, ruleId, }: {
2
4
  workspaceId: string | undefined;
3
5
  ruleId: string;
@@ -39,30 +39,37 @@ function c(e) {
39
39
  let t = e.dispatched;
40
40
  return !Array.isArray(t) || t.length === 0 ? null : t.join(", ");
41
41
  }
42
- function l({ workspaceId: t, ruleId: l }) {
43
- let { data: u, loading: d, error: f } = n(o, {
42
+ function l(e) {
43
+ if (!e || typeof e != "object") return null;
44
+ let t = e.workflowRuns;
45
+ if (!Array.isArray(t)) return null;
46
+ let n = t.filter((e) => !!e && typeof e == "object" && typeof e.workflowKey == "string" && typeof e.runId == "string").map((e) => `${e.workflowKey} (run ${e.runId})`);
47
+ return n.length > 0 ? n.join(", ") : null;
48
+ }
49
+ function u({ workspaceId: t, ruleId: u }) {
50
+ let { data: d, loading: f, error: p } = n(o, {
44
51
  variables: {
45
52
  workspaceId: t ?? "",
46
- filter: { ruleId: l },
53
+ filter: { ruleId: u },
47
54
  pagination: { first: 20 }
48
55
  },
49
56
  skip: !t,
50
57
  fetchPolicy: "cache-and-network"
51
- }), p = u?.planmagnetAutomationExecutions, m = p?.items ?? [];
52
- return d && !u ? /* @__PURE__ */ r("p", {
58
+ }), m = d?.planmagnetAutomationExecutions, h = m?.items ?? [];
59
+ return f && !d ? /* @__PURE__ */ r("p", {
53
60
  className: "text-sm text-muted-foreground",
54
61
  children: "Loading recent executions…"
55
- }) : f ? /* @__PURE__ */ i("p", {
62
+ }) : p ? /* @__PURE__ */ i("p", {
56
63
  role: "alert",
57
64
  className: "text-sm text-destructive",
58
- children: ["Recent executions could not be loaded: ", f.message]
59
- }) : m.length === 0 ? /* @__PURE__ */ r("p", {
65
+ children: ["Recent executions could not be loaded: ", p.message]
66
+ }) : h.length === 0 ? /* @__PURE__ */ r("p", {
60
67
  className: "text-sm text-muted-foreground",
61
68
  children: "No executions yet. They appear here once the rule fires or is run manually."
62
69
  }) : /* @__PURE__ */ i("div", {
63
70
  className: "space-y-2",
64
- children: [m.map((t) => {
65
- let n = c(t.result);
71
+ children: [h.map((t) => {
72
+ let n = c(t.result), o = l(t.result);
66
73
  return /* @__PURE__ */ r("div", {
67
74
  className: "flex flex-wrap items-start justify-between gap-2 rounded-md border p-3 text-sm",
68
75
  children: /* @__PURE__ */ i("div", {
@@ -82,6 +89,11 @@ function l({ workspaceId: t, ruleId: l }) {
82
89
  className: "text-xs text-muted-foreground",
83
90
  children: ["Ran: ", n]
84
91
  }),
92
+ o && /* @__PURE__ */ i("p", {
93
+ className: "text-xs text-muted-foreground",
94
+ "data-testid": "automation-workflow-runs",
95
+ children: ["Started workflow: ", o]
96
+ }),
85
97
  t.errorMessage && /* @__PURE__ */ r("ul", {
86
98
  className: "space-y-0.5",
87
99
  children: e(t.errorMessage).map((e, t) => /* @__PURE__ */ r("li", {
@@ -93,17 +105,17 @@ function l({ workspaceId: t, ruleId: l }) {
93
105
  ]
94
106
  })
95
107
  }, t.id);
96
- }), p && p.totalCount > m.length && /* @__PURE__ */ i("p", {
108
+ }), m && m.totalCount > h.length && /* @__PURE__ */ i("p", {
97
109
  className: "text-xs text-muted-foreground",
98
110
  children: [
99
111
  "Showing the ",
100
- m.length,
112
+ h.length,
101
113
  " most recent of ",
102
- p.totalCount,
114
+ m.totalCount,
103
115
  "."
104
116
  ]
105
117
  })]
106
118
  });
107
119
  }
108
120
  //#endregion
109
- export { l as AutomationExecutionsPanel };
121
+ export { u as AutomationExecutionsPanel };
@@ -13,11 +13,12 @@ export interface AutomationRuleFormState {
13
13
  scheduleNotUpdatedForDays: string;
14
14
  actions: RuleAction[];
15
15
  }
16
- /** The actions builder: the five types the engine can dispatch, trigger-aware (BOFF-8047 follow-up —
16
+ /** The actions builder: the types the engine can dispatch, trigger-aware (BOFF-8047 follow-up —
17
17
  * automationRuleTypes.ts's header has the full scope). `POST_TO_CHANNEL` is always visible but disabled (gated
18
18
  * off, BOFF-8240). For a trigger in `NO_WORK_ITEM_TRIGGER_TYPES` (the sprint and release triggers), no work-item
19
19
  * action can ever dispatch — existing rows stay visible (and removable) so a rule saved before this restriction
20
- * existed can still be cleaned up, but they are frozen and no new one can be added. */
20
+ * existed can still be cleaned up, but they are frozen, and a new action can only be "Run a workflow"
21
+ * (OVL-09, BOFF-3532), the one action that needs no work item. */
21
22
  export declare function ActionsEditor({ actions, triggerType, onChange, }: {
22
23
  actions: RuleAction[];
23
24
  triggerType: TriggerType;