@burdenoff/microfe-planmagnet 2026.1031.1 → 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.
- package/dist/generated/global-types.d.ts +307 -2
- package/dist/generated/wspace-types.d.ts +1333 -9
- package/dist/planmagnet/PlanMagnetRoot.js +111 -117
- package/dist/planmagnet/controls/FeatureTriage.d.ts +2 -2
- package/dist/planmagnet/dependency/DependencyPanel.js +1 -1
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +17 -17
- package/dist/planmagnet/pages/DashboardDashboardPagePage.js +6 -6
- package/dist/planmagnet/pages/GoalsCreateObjectivePagePage.js +1 -1
- package/dist/planmagnet/pages/GoalsGoalsPagePage.js +6 -6
- package/dist/planmagnet/pages/GoalsObjectiveDetailPagePage.js +5 -5
- package/dist/planmagnet/pages/ProductsFeatureAnalyticsPagePage.js +9 -9
- package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.js +16 -13
- package/dist/planmagnet/pages/ProductsFeaturesPagePage.js +10 -10
- package/dist/planmagnet/pages/ProductsProductsPagePage.js +3 -3
- package/dist/planmagnet/pages/ProductsReleaseDetailPagePage.js +9 -9
- package/dist/planmagnet/pages/ProductsReleasesPagePage.js +9 -9
- package/dist/planmagnet/pages/ProductsRoadmapAnalyticsPagePage.js +15 -15
- package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js +7 -7
- package/dist/planmagnet/pages/ProjectsActiveProjectsPagePage.js +1 -1
- package/dist/planmagnet/pages/ProjectsCriticalPathPagePage.js +1 -1
- package/dist/planmagnet/pages/ProjectsCustomFieldsPagePage.js +1 -1
- package/dist/planmagnet/pages/ProjectsGanttPagePage.js +1 -1
- package/dist/planmagnet/pages/ProjectsMilestoneDetailPagePage.js +13 -10
- package/dist/planmagnet/pages/ProjectsMilestonesPagePage.js +6 -6
- package/dist/planmagnet/pages/ProjectsPlanningDetailPagePage.js +3 -3
- package/dist/planmagnet/pages/ProjectsPlanningPagePage.js +8 -8
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +26 -23
- package/dist/planmagnet/pages/ProjectsProjectsPagePage.js +8 -8
- package/dist/planmagnet/pages/RisksRiskDetailPagePage.js +7 -7
- package/dist/planmagnet/pages/RisksRiskRegisterPagePage.js +13 -13
- package/dist/planmagnet/pages/SprintsStartSprintPagePage.js +1 -1
- package/dist/planmagnet/pages/TasksTaskDetailPagePage.js +5 -5
- package/dist/planmagnet/pages/TasksTasksPagePage.js +16 -16
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.js +6 -6
- package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js +5 -5
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
20
|
-
let { registerNavItems: n, registerFooterItems:
|
|
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:
|
|
25
|
-
path:
|
|
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:
|
|
33
|
-
path: l(
|
|
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:
|
|
40
|
-
path: l(
|
|
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:
|
|
47
|
-
path: l(
|
|
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:
|
|
53
|
-
path: l(
|
|
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:
|
|
59
|
-
path: l(
|
|
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:
|
|
65
|
-
path: l(
|
|
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:
|
|
73
|
-
path: l(
|
|
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:
|
|
80
|
-
path: l(
|
|
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:
|
|
86
|
-
path: l(
|
|
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:
|
|
92
|
-
path: l(
|
|
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:
|
|
98
|
-
path: l(
|
|
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:
|
|
104
|
-
path: l(
|
|
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:
|
|
110
|
-
path: l(
|
|
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:
|
|
116
|
-
path: l(
|
|
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:
|
|
122
|
-
path: l(
|
|
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:
|
|
128
|
-
path: l(
|
|
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:
|
|
134
|
-
path: l(
|
|
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:
|
|
142
|
-
path: l(
|
|
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:
|
|
149
|
-
path: l(
|
|
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:
|
|
155
|
-
path: l(
|
|
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:
|
|
161
|
-
path: l(
|
|
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:
|
|
167
|
-
path: l(
|
|
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:
|
|
173
|
-
path: l(
|
|
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:
|
|
179
|
-
path: l(
|
|
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:
|
|
185
|
-
path: l(
|
|
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:
|
|
191
|
-
path: l(
|
|
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:
|
|
197
|
-
path: l(
|
|
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:
|
|
205
|
-
path: l(
|
|
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:
|
|
212
|
-
path: l(
|
|
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:
|
|
218
|
-
path: l(
|
|
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:
|
|
223
|
-
path: l(
|
|
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:
|
|
230
|
-
path: l(
|
|
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:
|
|
237
|
-
path: l(
|
|
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:
|
|
243
|
-
path: l(
|
|
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:
|
|
249
|
-
path: l(
|
|
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:
|
|
257
|
-
path: l(
|
|
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:
|
|
264
|
-
path: l(
|
|
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:
|
|
270
|
-
path: l(
|
|
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:
|
|
275
|
-
path: l(
|
|
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:
|
|
282
|
-
path: l(
|
|
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:
|
|
288
|
-
path: l(
|
|
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:
|
|
293
|
-
path: l(
|
|
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:
|
|
300
|
-
path: l(
|
|
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:
|
|
307
|
-
path: l(
|
|
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:
|
|
314
|
-
path: l(
|
|
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:
|
|
321
|
-
path: l(
|
|
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:
|
|
327
|
-
path: l(
|
|
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:
|
|
333
|
-
path: l(
|
|
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:
|
|
341
|
-
path: l(
|
|
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
|
-
|
|
350
|
-
|
|
348
|
+
J,
|
|
349
|
+
Y
|
|
351
350
|
]), u(() => {
|
|
352
|
-
if (
|
|
351
|
+
if (q) return q([{
|
|
353
352
|
id: "planmagnet-status",
|
|
354
|
-
label:
|
|
353
|
+
label: Y("planmagnet.footer.ready", "PlanMagnet Ready"),
|
|
355
354
|
type: "status",
|
|
356
355
|
section: "left",
|
|
357
356
|
order: 10
|
|
358
357
|
}]);
|
|
359
|
-
}, [
|
|
360
|
-
|
|
361
|
-
|
|
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 {
|
|
364
|
+
export { q as PlanMagnetRoot };
|
|
@@ -8,8 +8,8 @@ export interface TriageFeature {
|
|
|
8
8
|
}
|
|
9
9
|
/** True while the request waits for a decision (accept, decline and merge apply). */
|
|
10
10
|
export declare const isOpenRequest: (status: string) => boolean;
|
|
11
|
-
/** A snooze that has not passed yet. */
|
|
12
|
-
export declare const isSnoozed: (snoozedUntil: string | null | undefined, now: number) =>
|
|
11
|
+
/** A snooze that has not passed yet. Type guard: narrows `snoozedUntil` to the date string callers then format. */
|
|
12
|
+
export declare const isSnoozed: (snoozedUntil: string | null | undefined, now: number) => snoozedUntil is string;
|
|
13
13
|
/**
|
|
14
14
|
* The four triage actions for an undecided request. Snooze applies only while it waits for triage (SUBMITTED);
|
|
15
15
|
* a snoozed request offers "Back to triage" instead.
|
|
@@ -282,7 +282,7 @@ function k({ workspaceId: r, workItemId: a, projectId: u }) {
|
|
|
282
282
|
children: "Loading dependencies…"
|
|
283
283
|
}),
|
|
284
284
|
M && /* @__PURE__ */ h("p", {
|
|
285
|
-
className: "text-sm text-
|
|
285
|
+
className: "text-sm text-status-error-text",
|
|
286
286
|
children: ["Error: ", M.message]
|
|
287
287
|
}),
|
|
288
288
|
E && /* @__PURE__ */ m(n, { message: E }),
|
|
@@ -166,13 +166,13 @@ var Me = f`
|
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
`, w = {
|
|
169
|
-
BACKLOG: "
|
|
170
|
-
TODO: "
|
|
171
|
-
IN_PROGRESS: "
|
|
172
|
-
IN_REVIEW: "
|
|
173
|
-
TESTING: "
|
|
174
|
-
DONE: "
|
|
175
|
-
CANCELLED: "
|
|
169
|
+
BACKLOG: "var(--color-text-muted)",
|
|
170
|
+
TODO: "var(--color-chart-1)",
|
|
171
|
+
IN_PROGRESS: "var(--color-chart-4)",
|
|
172
|
+
IN_REVIEW: "var(--color-chart-3)",
|
|
173
|
+
TESTING: "var(--color-chart-11)",
|
|
174
|
+
DONE: "var(--color-chart-2)",
|
|
175
|
+
CANCELLED: "var(--color-chart-5)"
|
|
176
176
|
};
|
|
177
177
|
function T(e) {
|
|
178
178
|
let t = new Date(e);
|
|
@@ -260,7 +260,7 @@ function E() {
|
|
|
260
260
|
children: /* @__PURE__ */ m("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
261
261
|
});
|
|
262
262
|
if (Ze) return /* @__PURE__ */ h("div", {
|
|
263
|
-
className: "p-6 text-
|
|
263
|
+
className: "p-6 text-status-error-text",
|
|
264
264
|
children: [
|
|
265
265
|
E("planmagnet.analytics.errorLoading", "Error loading analytics"),
|
|
266
266
|
": ",
|
|
@@ -408,7 +408,7 @@ function E() {
|
|
|
408
408
|
children: e.value
|
|
409
409
|
}),
|
|
410
410
|
/* @__PURE__ */ m("p", {
|
|
411
|
-
className: "text-xs text-
|
|
411
|
+
className: "text-xs text-status-success-text mt-1",
|
|
412
412
|
children: e.trend
|
|
413
413
|
})
|
|
414
414
|
]
|
|
@@ -529,7 +529,7 @@ function E() {
|
|
|
529
529
|
type: "monotone",
|
|
530
530
|
dataKey: "remaining",
|
|
531
531
|
name: E("planmagnet.analytics.burndown.remaining", "Remaining points"),
|
|
532
|
-
stroke: "
|
|
532
|
+
stroke: "var(--color-chart-4)",
|
|
533
533
|
strokeWidth: 2,
|
|
534
534
|
dot: { r: 2 }
|
|
535
535
|
}),
|
|
@@ -537,7 +537,7 @@ function E() {
|
|
|
537
537
|
type: "monotone",
|
|
538
538
|
dataKey: "completed",
|
|
539
539
|
name: E("planmagnet.analytics.burndown.completed", "Completed points"),
|
|
540
|
-
stroke: "
|
|
540
|
+
stroke: "var(--color-chart-7)",
|
|
541
541
|
strokeWidth: 2,
|
|
542
542
|
dot: { r: 2 }
|
|
543
543
|
})
|
|
@@ -591,16 +591,16 @@ function E() {
|
|
|
591
591
|
/* @__PURE__ */ m(i, {
|
|
592
592
|
dataKey: "planned",
|
|
593
593
|
name: E("planmagnet.analytics.velocity.planned", "Planned"),
|
|
594
|
-
fill: "
|
|
594
|
+
fill: "var(--color-border-strong)"
|
|
595
595
|
}),
|
|
596
596
|
/* @__PURE__ */ m(i, {
|
|
597
597
|
dataKey: "completed",
|
|
598
598
|
name: E("planmagnet.analytics.velocity.completed", "Completed"),
|
|
599
|
-
fill: "
|
|
599
|
+
fill: "var(--color-chart-12)"
|
|
600
600
|
}),
|
|
601
601
|
/* @__PURE__ */ m(ee, {
|
|
602
602
|
y: bt,
|
|
603
|
-
stroke: "
|
|
603
|
+
stroke: "var(--color-chart-7)",
|
|
604
604
|
strokeDasharray: "4 4",
|
|
605
605
|
label: {
|
|
606
606
|
value: E("planmagnet.analytics.velocity.avgLabel", "avg"),
|
|
@@ -674,8 +674,8 @@ function E() {
|
|
|
674
674
|
dataKey: e,
|
|
675
675
|
name: e.toLowerCase().replace("_", " "),
|
|
676
676
|
stackId: "cfd",
|
|
677
|
-
stroke: w[e] ?? "
|
|
678
|
-
fill: w[e] ?? "
|
|
677
|
+
stroke: w[e] ?? "var(--color-text-muted)",
|
|
678
|
+
fill: w[e] ?? "var(--color-text-muted)",
|
|
679
679
|
fillOpacity: .7
|
|
680
680
|
}, e))
|
|
681
681
|
]
|
|
@@ -754,7 +754,7 @@ function E() {
|
|
|
754
754
|
children: /* @__PURE__ */ m("div", {
|
|
755
755
|
className: "w-full h-2 rounded-full bg-muted overflow-hidden",
|
|
756
756
|
children: /* @__PURE__ */ m("div", {
|
|
757
|
-
className: `h-full rounded-full ${n === "at_risk" ? "bg-
|
|
757
|
+
className: `h-full rounded-full ${n === "at_risk" ? "bg-status-warning" : n === "on_track" ? "bg-status-success" : "bg-status-info"}`,
|
|
758
758
|
style: { width: `${t}%` }
|
|
759
759
|
})
|
|
760
760
|
})
|
|
@@ -134,7 +134,7 @@ function I() {
|
|
|
134
134
|
children: /* @__PURE__ */ E("div", { className: "animate-spin h-8 w-8 border-2 border-primary border-t-transparent rounded-full" })
|
|
135
135
|
});
|
|
136
136
|
if (z) return /* @__PURE__ */ D("div", {
|
|
137
|
-
className: "p-6 text-
|
|
137
|
+
className: "p-6 text-status-error-text",
|
|
138
138
|
children: [
|
|
139
139
|
I("planmagnet.dashboard.errorLoading", "Error loading dashboard"),
|
|
140
140
|
": ",
|
|
@@ -205,7 +205,7 @@ function I() {
|
|
|
205
205
|
className: "lg:col-span-8",
|
|
206
206
|
children: [/* @__PURE__ */ E(j, { children: /* @__PURE__ */ D(M, {
|
|
207
207
|
className: "flex items-center gap-2 text-base",
|
|
208
|
-
children: [/* @__PURE__ */ E(S, { className: "h-5 w-5 text-
|
|
208
|
+
children: [/* @__PURE__ */ E(S, { className: "h-5 w-5 text-status-info-text" }), I("planmagnet.dashboard.activeSprints.title", "Active Sprints")]
|
|
209
209
|
}) }), /* @__PURE__ */ D(A, {
|
|
210
210
|
className: "space-y-4",
|
|
211
211
|
children: [K.map((e) => {
|
|
@@ -275,7 +275,7 @@ function I() {
|
|
|
275
275
|
className: "lg:col-span-4 space-y-6",
|
|
276
276
|
children: [G.length > 0 && /* @__PURE__ */ D(k, { children: [/* @__PURE__ */ E(j, { children: /* @__PURE__ */ D(M, {
|
|
277
277
|
className: "flex items-center gap-2 text-base",
|
|
278
|
-
children: [/* @__PURE__ */ E(m, { className: "h-5 w-5 text-
|
|
278
|
+
children: [/* @__PURE__ */ E(m, { className: "h-5 w-5 text-status-warning-text" }), I("planmagnet.dashboard.onHoldProjects.title", "On-Hold Projects")]
|
|
279
279
|
}) }), /* @__PURE__ */ E(A, {
|
|
280
280
|
className: "space-y-3",
|
|
281
281
|
children: G.map((e) => /* @__PURE__ */ D("div", {
|
|
@@ -290,7 +290,7 @@ function I() {
|
|
|
290
290
|
}, e.id))
|
|
291
291
|
})] }), /* @__PURE__ */ D(k, { children: [/* @__PURE__ */ E(j, { children: /* @__PURE__ */ D(M, {
|
|
292
292
|
className: "flex items-center gap-2 text-base",
|
|
293
|
-
children: [/* @__PURE__ */ E(g, { className: "h-5 w-5 text-
|
|
293
|
+
children: [/* @__PURE__ */ E(g, { className: "h-5 w-5 text-status-success-text" }), I("planmagnet.dashboard.upcomingMilestones.title", "Upcoming Milestones")]
|
|
294
294
|
}) }), /* @__PURE__ */ D(A, {
|
|
295
295
|
className: "space-y-3",
|
|
296
296
|
children: [q.map((e) => /* @__PURE__ */ D("div", {
|
|
@@ -337,7 +337,7 @@ function I() {
|
|
|
337
337
|
className: "grid gap-6 lg:grid-cols-2",
|
|
338
338
|
children: [/* @__PURE__ */ D(k, { children: [/* @__PURE__ */ E(j, { children: /* @__PURE__ */ D(M, {
|
|
339
339
|
className: "flex items-center gap-2 text-base",
|
|
340
|
-
children: [/* @__PURE__ */ E(_, { className: "h-5 w-5 text-
|
|
340
|
+
children: [/* @__PURE__ */ E(_, { className: "h-5 w-5 text-chart-3" }), I("planmagnet.dashboard.recentWorkItems.title", "Recent Work Items")]
|
|
341
341
|
}) }), /* @__PURE__ */ D(A, {
|
|
342
342
|
className: "space-y-3",
|
|
343
343
|
children: [J.map((e) => /* @__PURE__ */ D("div", {
|
|
@@ -381,7 +381,7 @@ function I() {
|
|
|
381
381
|
})]
|
|
382
382
|
})] }), /* @__PURE__ */ D(k, { children: [/* @__PURE__ */ E(j, { children: /* @__PURE__ */ D(M, {
|
|
383
383
|
className: "flex items-center gap-2 text-base",
|
|
384
|
-
children: [/* @__PURE__ */ E(v, { className: "h-5 w-5 text-
|
|
384
|
+
children: [/* @__PURE__ */ E(v, { className: "h-5 w-5 text-chart-1" }), I("planmagnet.dashboard.projectStatus.title", "Project Status")]
|
|
385
385
|
}) }), /* @__PURE__ */ D(A, {
|
|
386
386
|
className: "space-y-3",
|
|
387
387
|
children: [W.map((e) => /* @__PURE__ */ D("div", {
|