@burdenoff/microfe-planmagnet 2026.930.2 → 2026.930.4

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 (28) hide show
  1. package/dist/planmagnet/links/IssueLinksPanel.d.ts +10 -0
  2. package/dist/planmagnet/links/IssueLinksPanel.d.ts.map +1 -0
  3. package/dist/planmagnet/links/IssueLinksPanel.js +221 -0
  4. package/dist/planmagnet/links/IssueLinksPanel.js.map +1 -0
  5. package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.d.ts.map +1 -1
  6. package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.js +184 -166
  7. package/dist/planmagnet/pages/ProductsFeatureDetailPagePage.js.map +1 -1
  8. package/dist/planmagnet/pages/ProductsReleaseDetailPagePage.d.ts.map +1 -1
  9. package/dist/planmagnet/pages/ProductsReleaseDetailPagePage.js +112 -107
  10. package/dist/planmagnet/pages/ProductsReleaseDetailPagePage.js.map +1 -1
  11. package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.d.ts.map +1 -1
  12. package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js +18 -0
  13. package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js.map +1 -1
  14. package/dist/planmagnet/pages/TasksTaskDetailPagePage.d.ts.map +1 -1
  15. package/dist/planmagnet/pages/TasksTaskDetailPagePage.js +141 -139
  16. package/dist/planmagnet/pages/TasksTaskDetailPagePage.js.map +1 -1
  17. package/dist/planmagnet/releases/ReleaseChecklistCard.d.ts +5 -0
  18. package/dist/planmagnet/releases/ReleaseChecklistCard.d.ts.map +1 -0
  19. package/dist/planmagnet/releases/ReleaseChecklistCard.js +268 -0
  20. package/dist/planmagnet/releases/ReleaseChecklistCard.js.map +1 -0
  21. package/dist/planmagnet/releases/ReleaseReadinessCard.d.ts.map +1 -1
  22. package/dist/planmagnet/releases/ReleaseReadinessCard.js +7 -4
  23. package/dist/planmagnet/releases/ReleaseReadinessCard.js.map +1 -1
  24. package/dist/planmagnet/roadmaps/FeatureInitiativeCard.d.ts +14 -0
  25. package/dist/planmagnet/roadmaps/FeatureInitiativeCard.d.ts.map +1 -0
  26. package/dist/planmagnet/roadmaps/FeatureInitiativeCard.js +166 -0
  27. package/dist/planmagnet/roadmaps/FeatureInitiativeCard.js.map +1 -0
  28. package/package.json +1 -1
@@ -4,15 +4,16 @@ import { detailPath as r } from "../utils/rowNavigation.js";
4
4
  import { CompetitorLinkCard as i } from "../controls/CompetitorControls.js";
5
5
  import { FeatureTriageActions as a, isOpenRequest as o, isSnoozed as s } from "../controls/FeatureTriage.js";
6
6
  import { FeatureHeaderActions as c, FeatureVoteButton as l } from "../controls/FeatureControls.js";
7
- import { useState as u } from "react";
8
- import { Loader2 as d, MessageSquare as f, Star as p, Target as m, ThumbsUp as h } from "lucide-react";
9
- import { useParams as g } from "react-router";
10
- import { gql as _ } from "@apollo/client";
11
- import { useQuery as v } from "@apollo/client/react";
12
- import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
13
- import { Badge as S, Card as C, CardContent as w, CardHeader as T, CardTitle as E } from "@burdenoff/fe-libs/ui";
7
+ import { FeatureInitiativeCard as u } from "../roadmaps/FeatureInitiativeCard.js";
8
+ import { useState as d } from "react";
9
+ import { Loader2 as f, MessageSquare as p, Star as m, Target as h, ThumbsUp as g } from "lucide-react";
10
+ import { useParams as _ } from "react-router";
11
+ import { gql as v } from "@apollo/client";
12
+ import { useQuery as y } from "@apollo/client/react";
13
+ import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
14
+ import { Badge as C, Card as w, CardContent as T, CardHeader as E, CardTitle as D } from "@burdenoff/fe-libs/ui";
14
15
  //#region src/planmagnet/pages/ProductsFeatureDetailPagePage.tsx
15
- var D = _`
16
+ var O = v`
16
17
  query GetFeatureRequest($id: ID!) {
17
18
  planmagnetFeatureRequest(id: $id) {
18
19
  id
@@ -39,6 +40,15 @@ var D = _`
39
40
  triagedBy
40
41
  createdAt
41
42
  updatedAt
43
+ productId
44
+ roadmapItem {
45
+ id
46
+ title
47
+ roadmap {
48
+ id
49
+ name
50
+ }
51
+ }
42
52
  votes {
43
53
  id
44
54
  voterId
@@ -55,88 +65,88 @@ var D = _`
55
65
  }
56
66
  }
57
67
  `;
58
- function O() {
59
- let { workspaceId: _, currentUser: O } = e(), k = t(), [A] = u(() => Date.now()), j = g().id ?? "", { data: M, loading: N, error: P } = v(D, {
60
- variables: { id: j },
61
- skip: !j
68
+ function k() {
69
+ let { workspaceId: v, currentUser: k } = e(), A = t(), [j] = d(() => Date.now()), M = _().id ?? "", { data: N, loading: P, error: F } = y(O, {
70
+ variables: { id: M },
71
+ skip: !M
62
72
  });
63
- if (N && !M) return /* @__PURE__ */ b("div", {
73
+ if (P && !N) return /* @__PURE__ */ x("div", {
64
74
  className: "flex items-center justify-center p-12",
65
- children: /* @__PURE__ */ b(d, { className: "h-8 w-8 animate-spin text-muted-foreground" })
75
+ children: /* @__PURE__ */ x(f, { className: "h-8 w-8 animate-spin text-muted-foreground" })
66
76
  });
67
- if (P) return /* @__PURE__ */ x("div", {
77
+ if (F) return /* @__PURE__ */ S("div", {
68
78
  className: "p-6 text-destructive",
69
- children: ["Failed to load feature: ", P.message]
79
+ children: ["Failed to load feature: ", F.message]
70
80
  });
71
- let F = M?.planmagnetFeatureRequest;
72
- if (!F) return /* @__PURE__ */ b("div", {
81
+ let I = N?.planmagnetFeatureRequest;
82
+ if (!I) return /* @__PURE__ */ x("div", {
73
83
  className: "p-6 text-muted-foreground",
74
84
  children: "Feature not found."
75
85
  });
76
- let I = F.votes ?? [], L = F.competitors ?? [];
77
- return /* @__PURE__ */ x("div", {
86
+ let L = I.votes ?? [], R = I.competitors ?? [];
87
+ return /* @__PURE__ */ S("div", {
78
88
  className: "space-y-6 p-6",
79
89
  children: [
80
- /* @__PURE__ */ x("div", {
90
+ /* @__PURE__ */ S("div", {
81
91
  className: "flex items-center justify-between",
82
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("h1", {
92
+ children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("h1", {
83
93
  className: "text-2xl font-semibold",
84
- children: F.title
85
- }), /* @__PURE__ */ x("p", {
94
+ children: I.title
95
+ }), /* @__PURE__ */ S("p", {
86
96
  className: "text-sm text-muted-foreground",
87
97
  children: [
88
98
  "Submitted by: ",
89
- /* @__PURE__ */ b(n, { id: F.submittedBy }),
99
+ /* @__PURE__ */ x(n, { id: I.submittedBy }),
90
100
  " · Effort:",
91
101
  " ",
92
- F.effortEstimate ?? "N/A"
102
+ I.effortEstimate ?? "N/A"
93
103
  ]
94
- })] }), /* @__PURE__ */ x("div", {
104
+ })] }), /* @__PURE__ */ S("div", {
95
105
  className: "flex flex-col items-end gap-2",
96
- children: [/* @__PURE__ */ b(l, {
97
- featureId: F.id,
98
- voted: I.some((e) => e.voterId === O?.id)
99
- }), /* @__PURE__ */ b(c, { feature: F })]
106
+ children: [/* @__PURE__ */ x(l, {
107
+ featureId: I.id,
108
+ voted: L.some((e) => e.voterId === k?.id)
109
+ }), /* @__PURE__ */ x(c, { feature: I })]
100
110
  })]
101
111
  }),
102
- o(F.status) && /* @__PURE__ */ x(C, {
112
+ o(I.status) && /* @__PURE__ */ S(w, {
103
113
  "data-testid": "triage-card",
104
- children: [/* @__PURE__ */ b(T, { children: /* @__PURE__ */ b(E, { children: "Triage" }) }), /* @__PURE__ */ x(w, {
114
+ children: [/* @__PURE__ */ x(E, { children: /* @__PURE__ */ x(D, { children: "Triage" }) }), /* @__PURE__ */ S(T, {
105
115
  className: "space-y-2",
106
- children: [/* @__PURE__ */ b("p", {
116
+ children: [/* @__PURE__ */ x("p", {
107
117
  className: "text-sm text-muted-foreground",
108
- children: s(F.snoozedUntil, A) ? `Snoozed until ${new Date(F.snoozedUntil).toLocaleString()} — it returns to the triage queue then.` : F.status === "SUBMITTED" ? "Waiting for a decision." : "Under review: accept it as planned, decline it, or merge it into its original."
109
- }), /* @__PURE__ */ b(a, {
110
- feature: F,
111
- now: A
118
+ children: s(I.snoozedUntil, j) ? `Snoozed until ${new Date(I.snoozedUntil).toLocaleString()} — it returns to the triage queue then.` : I.status === "SUBMITTED" ? "Waiting for a decision." : "Under review: accept it as planned, decline it, or merge it into its original."
119
+ }), /* @__PURE__ */ x(a, {
120
+ feature: I,
121
+ now: j
112
122
  })]
113
123
  })]
114
124
  }),
115
- F.status === "DECLINED" && F.declineReason && /* @__PURE__ */ b(C, {
125
+ I.status === "DECLINED" && I.declineReason && /* @__PURE__ */ x(w, {
116
126
  "data-testid": "decline-reason",
117
- children: /* @__PURE__ */ x(w, {
127
+ children: /* @__PURE__ */ S(T, {
118
128
  className: "pt-4 text-sm",
119
- children: [/* @__PURE__ */ b("span", {
129
+ children: [/* @__PURE__ */ x("span", {
120
130
  className: "font-medium",
121
131
  children: "Declined: "
122
- }), F.declineReason]
132
+ }), I.declineReason]
123
133
  })
124
134
  }),
125
- F.status === "DUPLICATE" && F.duplicateOfId && /* @__PURE__ */ b(C, {
135
+ I.status === "DUPLICATE" && I.duplicateOfId && /* @__PURE__ */ x(w, {
126
136
  "data-testid": "duplicate-of",
127
- children: /* @__PURE__ */ x(w, {
137
+ children: /* @__PURE__ */ S(T, {
128
138
  className: "pt-4 text-sm",
129
139
  children: [
130
- /* @__PURE__ */ b("span", {
140
+ /* @__PURE__ */ x("span", {
131
141
  className: "font-medium",
132
142
  children: "Duplicate of "
133
143
  }),
134
- F.duplicateOf ? /* @__PURE__ */ b("button", {
144
+ I.duplicateOf ? /* @__PURE__ */ x("button", {
135
145
  type: "button",
136
146
  className: "text-primary underline-offset-2 hover:underline",
137
- onClick: () => k(r("/products/feature-detail-page", F.duplicateOf.id)),
138
- children: F.duplicateOf.title
139
- }) : /* @__PURE__ */ b("span", {
147
+ onClick: () => A(r("/products/feature-detail-page", I.duplicateOf.id)),
148
+ children: I.duplicateOf.title
149
+ }) : /* @__PURE__ */ x("span", {
140
150
  className: "text-muted-foreground",
141
151
  children: "a request that has since been deleted"
142
152
  }),
@@ -145,60 +155,60 @@ function O() {
145
155
  ]
146
156
  })
147
157
  }),
148
- /* @__PURE__ */ x("div", {
158
+ /* @__PURE__ */ S("div", {
149
159
  className: "grid grid-cols-2 md:grid-cols-4 gap-4",
150
160
  children: [
151
- /* @__PURE__ */ b(C, { children: /* @__PURE__ */ x(w, {
161
+ /* @__PURE__ */ x(w, { children: /* @__PURE__ */ S(T, {
152
162
  className: "pt-4 text-center",
153
163
  children: [
154
- /* @__PURE__ */ b(m, { className: "h-5 w-5 mx-auto text-primary" }),
155
- /* @__PURE__ */ b("p", {
164
+ /* @__PURE__ */ x(h, { className: "h-5 w-5 mx-auto text-primary" }),
165
+ /* @__PURE__ */ x("p", {
156
166
  className: "text-2xl font-bold mt-1",
157
- children: F.priorityScore ?? 0
167
+ children: I.priorityScore ?? 0
158
168
  }),
159
- /* @__PURE__ */ b("p", {
169
+ /* @__PURE__ */ x("p", {
160
170
  className: "text-xs text-muted-foreground",
161
171
  children: "Priority Score"
162
172
  })
163
173
  ]
164
174
  }) }),
165
- /* @__PURE__ */ b(C, { children: /* @__PURE__ */ x(w, {
175
+ /* @__PURE__ */ x(w, { children: /* @__PURE__ */ S(T, {
166
176
  className: "pt-4 text-center",
167
177
  children: [
168
- /* @__PURE__ */ b(h, { className: "h-5 w-5 mx-auto text-green-500" }),
169
- /* @__PURE__ */ b("p", {
178
+ /* @__PURE__ */ x(g, { className: "h-5 w-5 mx-auto text-green-500" }),
179
+ /* @__PURE__ */ x("p", {
170
180
  className: "text-2xl font-bold mt-1",
171
- children: F.voteCount
181
+ children: I.voteCount
172
182
  }),
173
- /* @__PURE__ */ b("p", {
183
+ /* @__PURE__ */ x("p", {
174
184
  className: "text-xs text-muted-foreground",
175
185
  children: "Votes"
176
186
  })
177
187
  ]
178
188
  }) }),
179
- /* @__PURE__ */ b(C, { children: /* @__PURE__ */ x(w, {
189
+ /* @__PURE__ */ x(w, { children: /* @__PURE__ */ S(T, {
180
190
  className: "pt-4 text-center",
181
191
  children: [
182
- /* @__PURE__ */ b(p, { className: "h-5 w-5 mx-auto text-yellow-500" }),
183
- /* @__PURE__ */ b("p", {
192
+ /* @__PURE__ */ x(m, { className: "h-5 w-5 mx-auto text-yellow-500" }),
193
+ /* @__PURE__ */ x("p", {
184
194
  className: "text-2xl font-bold mt-1",
185
- children: F.businessValue ?? 0
195
+ children: I.businessValue ?? 0
186
196
  }),
187
- /* @__PURE__ */ b("p", {
197
+ /* @__PURE__ */ x("p", {
188
198
  className: "text-xs text-muted-foreground",
189
199
  children: "Business Value"
190
200
  })
191
201
  ]
192
202
  }) }),
193
- /* @__PURE__ */ b(C, { children: /* @__PURE__ */ x(w, {
203
+ /* @__PURE__ */ x(w, { children: /* @__PURE__ */ S(T, {
194
204
  className: "pt-4 text-center",
195
205
  children: [
196
- /* @__PURE__ */ b(f, { className: "h-5 w-5 mx-auto text-blue-500" }),
197
- /* @__PURE__ */ b("p", {
206
+ /* @__PURE__ */ x(p, { className: "h-5 w-5 mx-auto text-blue-500" }),
207
+ /* @__PURE__ */ x("p", {
198
208
  className: "text-2xl font-bold mt-1",
199
- children: L.length
209
+ children: R.length
200
210
  }),
201
- /* @__PURE__ */ b("p", {
211
+ /* @__PURE__ */ x("p", {
202
212
  className: "text-xs text-muted-foreground",
203
213
  children: "Competitors"
204
214
  })
@@ -206,133 +216,141 @@ function O() {
206
216
  }) })
207
217
  ]
208
218
  }),
209
- /* @__PURE__ */ x("div", {
219
+ /* @__PURE__ */ S("div", {
210
220
  className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
211
- children: [/* @__PURE__ */ x("div", {
221
+ children: [/* @__PURE__ */ S("div", {
212
222
  className: "lg:col-span-2 space-y-6",
213
223
  children: [
214
- /* @__PURE__ */ x(C, { children: [/* @__PURE__ */ b(T, { children: /* @__PURE__ */ b(E, { children: "Description" }) }), /* @__PURE__ */ b(w, { children: /* @__PURE__ */ b("p", {
224
+ /* @__PURE__ */ S(w, { children: [/* @__PURE__ */ x(E, { children: /* @__PURE__ */ x(D, { children: "Description" }) }), /* @__PURE__ */ x(T, { children: /* @__PURE__ */ x("p", {
215
225
  className: "text-sm",
216
- children: F.description ?? "No description provided."
226
+ children: I.description ?? "No description provided."
217
227
  }) })] }),
218
- /* @__PURE__ */ x(C, { children: [/* @__PURE__ */ b(T, { children: /* @__PURE__ */ x(E, { children: [
228
+ /* @__PURE__ */ S(w, { children: [/* @__PURE__ */ x(E, { children: /* @__PURE__ */ S(D, { children: [
219
229
  "Votes (",
220
- I.length,
230
+ L.length,
221
231
  ")"
222
- ] }) }), /* @__PURE__ */ x(w, {
232
+ ] }) }), /* @__PURE__ */ S(T, {
223
233
  className: "space-y-3",
224
- children: [I.length === 0 && /* @__PURE__ */ b("p", {
234
+ children: [L.length === 0 && /* @__PURE__ */ x("p", {
225
235
  className: "text-sm text-muted-foreground",
226
236
  children: "No votes yet."
227
- }), I.map((e) => /* @__PURE__ */ x("div", {
237
+ }), L.map((e) => /* @__PURE__ */ S("div", {
228
238
  className: "flex items-start justify-between border rounded-md p-3",
229
- children: [/* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("p", {
239
+ children: [/* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("p", {
230
240
  className: "text-sm font-medium",
231
- children: ["Voter: ", /* @__PURE__ */ b(n, { id: e.voterId })]
232
- }), e.comment && /* @__PURE__ */ b("p", {
241
+ children: ["Voter: ", /* @__PURE__ */ x(n, { id: e.voterId })]
242
+ }), e.comment && /* @__PURE__ */ x("p", {
233
243
  className: "text-xs text-muted-foreground mt-1",
234
244
  children: e.comment
235
- })] }), /* @__PURE__ */ x("div", {
245
+ })] }), /* @__PURE__ */ S("div", {
236
246
  className: "flex items-center gap-1",
237
- children: [/* @__PURE__ */ b(h, { className: "h-3 w-3 text-green-500" }), /* @__PURE__ */ b("span", {
247
+ children: [/* @__PURE__ */ x(g, { className: "h-3 w-3 text-green-500" }), /* @__PURE__ */ x("span", {
238
248
  className: "text-sm font-bold",
239
249
  children: e.weight
240
250
  })]
241
251
  })]
242
252
  }, e.id))]
243
253
  })] }),
244
- /* @__PURE__ */ x(C, { children: [/* @__PURE__ */ b(T, { children: /* @__PURE__ */ x(E, { children: [
254
+ /* @__PURE__ */ S(w, { children: [/* @__PURE__ */ x(E, { children: /* @__PURE__ */ S(D, { children: [
245
255
  "Competitors (",
246
- L.length,
256
+ R.length,
247
257
  ")"
248
- ] }) }), /* @__PURE__ */ b(w, { children: /* @__PURE__ */ b(i, {
249
- featureRequestId: F.id,
250
- competitors: L
258
+ ] }) }), /* @__PURE__ */ x(T, { children: /* @__PURE__ */ x(i, {
259
+ featureRequestId: I.id,
260
+ competitors: R
251
261
  }) })] })
252
262
  ]
253
- }), /* @__PURE__ */ x("div", {
263
+ }), /* @__PURE__ */ S("div", {
254
264
  className: "space-y-6",
255
- children: [/* @__PURE__ */ x(C, { children: [/* @__PURE__ */ b(T, { children: /* @__PURE__ */ b(E, { children: "Details" }) }), /* @__PURE__ */ x(w, {
256
- className: "space-y-3 text-sm",
257
- children: [
258
- /* @__PURE__ */ x("div", {
259
- className: "flex justify-between",
260
- children: [/* @__PURE__ */ b("span", {
261
- className: "text-muted-foreground",
262
- children: "Status"
263
- }), /* @__PURE__ */ b(S, {
264
- variant: "secondary",
265
- className: "capitalize",
266
- children: F.status.toLowerCase().replace("_", " ")
267
- })]
268
- }),
269
- /* @__PURE__ */ x("div", {
270
- className: "flex justify-between",
271
- children: [/* @__PURE__ */ b("span", {
272
- className: "text-muted-foreground",
273
- children: "Priority Score"
274
- }), /* @__PURE__ */ b(S, {
275
- variant: "outline",
276
- children: F.priorityScore ?? "N/A"
277
- })]
278
- }),
279
- /* @__PURE__ */ x("div", {
280
- className: "flex justify-between",
281
- children: [/* @__PURE__ */ b("span", {
282
- className: "text-muted-foreground",
283
- children: "Effort"
284
- }), /* @__PURE__ */ b(S, {
285
- variant: "outline",
286
- className: "capitalize",
287
- children: F.effortEstimate ?? "N/A"
288
- })]
289
- }),
290
- /* @__PURE__ */ x("div", {
291
- className: "flex justify-between",
292
- children: [/* @__PURE__ */ b("span", {
293
- className: "text-muted-foreground",
294
- children: "Business Value"
295
- }), /* @__PURE__ */ b("span", {
296
- className: "font-medium",
297
- children: F.businessValue ?? "N/A"
298
- })]
299
- }),
300
- /* @__PURE__ */ x("div", {
301
- className: "flex justify-between",
302
- children: [/* @__PURE__ */ b("span", {
303
- className: "text-muted-foreground",
304
- children: "Submitted By"
305
- }), /* @__PURE__ */ b(n, { id: F.submittedBy })]
306
- }),
307
- F.triagedAt && /* @__PURE__ */ x("div", {
308
- className: "flex justify-between",
309
- children: [/* @__PURE__ */ b("span", {
310
- className: "text-muted-foreground",
311
- children: "Decided"
312
- }), /* @__PURE__ */ x("span", { children: [new Date(F.triagedAt).toLocaleDateString(), F.triagedBy && /* @__PURE__ */ x(y, { children: [" by ", /* @__PURE__ */ b(n, { id: F.triagedBy })] })] })]
313
- }),
314
- /* @__PURE__ */ x("div", {
315
- className: "flex justify-between",
316
- children: [/* @__PURE__ */ b("span", {
317
- className: "text-muted-foreground",
318
- children: "Updated"
319
- }), /* @__PURE__ */ b("span", { children: new Date(F.updatedAt).toLocaleDateString() })]
320
- })
321
- ]
322
- })] }), F.tags?.length > 0 && /* @__PURE__ */ x(C, { children: [/* @__PURE__ */ b(T, { children: /* @__PURE__ */ b(E, { children: "Tags" }) }), /* @__PURE__ */ b(w, {
323
- className: "flex flex-wrap gap-1",
324
- children: F.tags.map((e) => /* @__PURE__ */ b(S, {
325
- variant: "outline",
326
- className: "text-xs",
327
- children: e
328
- }, e))
329
- })] })]
265
+ children: [
266
+ /* @__PURE__ */ x(u, {
267
+ featureId: I.id,
268
+ productId: I.productId ?? null,
269
+ initiative: I.roadmapItem ?? null
270
+ }),
271
+ /* @__PURE__ */ S(w, { children: [/* @__PURE__ */ x(E, { children: /* @__PURE__ */ x(D, { children: "Details" }) }), /* @__PURE__ */ S(T, {
272
+ className: "space-y-3 text-sm",
273
+ children: [
274
+ /* @__PURE__ */ S("div", {
275
+ className: "flex justify-between",
276
+ children: [/* @__PURE__ */ x("span", {
277
+ className: "text-muted-foreground",
278
+ children: "Status"
279
+ }), /* @__PURE__ */ x(C, {
280
+ variant: "secondary",
281
+ className: "capitalize",
282
+ children: I.status.toLowerCase().replace("_", " ")
283
+ })]
284
+ }),
285
+ /* @__PURE__ */ S("div", {
286
+ className: "flex justify-between",
287
+ children: [/* @__PURE__ */ x("span", {
288
+ className: "text-muted-foreground",
289
+ children: "Priority Score"
290
+ }), /* @__PURE__ */ x(C, {
291
+ variant: "outline",
292
+ children: I.priorityScore ?? "N/A"
293
+ })]
294
+ }),
295
+ /* @__PURE__ */ S("div", {
296
+ className: "flex justify-between",
297
+ children: [/* @__PURE__ */ x("span", {
298
+ className: "text-muted-foreground",
299
+ children: "Effort"
300
+ }), /* @__PURE__ */ x(C, {
301
+ variant: "outline",
302
+ className: "capitalize",
303
+ children: I.effortEstimate ?? "N/A"
304
+ })]
305
+ }),
306
+ /* @__PURE__ */ S("div", {
307
+ className: "flex justify-between",
308
+ children: [/* @__PURE__ */ x("span", {
309
+ className: "text-muted-foreground",
310
+ children: "Business Value"
311
+ }), /* @__PURE__ */ x("span", {
312
+ className: "font-medium",
313
+ children: I.businessValue ?? "N/A"
314
+ })]
315
+ }),
316
+ /* @__PURE__ */ S("div", {
317
+ className: "flex justify-between",
318
+ children: [/* @__PURE__ */ x("span", {
319
+ className: "text-muted-foreground",
320
+ children: "Submitted By"
321
+ }), /* @__PURE__ */ x(n, { id: I.submittedBy })]
322
+ }),
323
+ I.triagedAt && /* @__PURE__ */ S("div", {
324
+ className: "flex justify-between",
325
+ children: [/* @__PURE__ */ x("span", {
326
+ className: "text-muted-foreground",
327
+ children: "Decided"
328
+ }), /* @__PURE__ */ S("span", { children: [new Date(I.triagedAt).toLocaleDateString(), I.triagedBy && /* @__PURE__ */ S(b, { children: [" by ", /* @__PURE__ */ x(n, { id: I.triagedBy })] })] })]
329
+ }),
330
+ /* @__PURE__ */ S("div", {
331
+ className: "flex justify-between",
332
+ children: [/* @__PURE__ */ x("span", {
333
+ className: "text-muted-foreground",
334
+ children: "Updated"
335
+ }), /* @__PURE__ */ x("span", { children: new Date(I.updatedAt).toLocaleDateString() })]
336
+ })
337
+ ]
338
+ })] }),
339
+ I.tags?.length > 0 && /* @__PURE__ */ S(w, { children: [/* @__PURE__ */ x(E, { children: /* @__PURE__ */ x(D, { children: "Tags" }) }), /* @__PURE__ */ x(T, {
340
+ className: "flex flex-wrap gap-1",
341
+ children: I.tags.map((e) => /* @__PURE__ */ x(C, {
342
+ variant: "outline",
343
+ className: "text-xs",
344
+ children: e
345
+ }, e))
346
+ })] })
347
+ ]
330
348
  })]
331
349
  })
332
350
  ]
333
351
  });
334
352
  }
335
353
  //#endregion
336
- export { O as ProductsFeatureDetailPagePage };
354
+ export { k as ProductsFeatureDetailPagePage };
337
355
 
338
356
  //# sourceMappingURL=ProductsFeatureDetailPagePage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductsFeatureDetailPagePage.js","names":[],"sources":["../../../src/planmagnet/pages/ProductsFeatureDetailPagePage.tsx"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport { useState } from 'react';\nimport { gql } from '@apollo/client';\nimport { useQuery } from '@apollo/client/react';\nimport { Card, CardContent, CardHeader, CardTitle, Badge } from '@burdenoff/fe-libs/ui';\nimport { Star, ThumbsUp, MessageSquare, Target, Loader2 } from 'lucide-react';\nimport { usePlanMagnet, usePlanMagnetNavigate } from '../providers/PlanMagnetProvider';\nimport { detailPath } from '../utils/rowNavigation';\nimport { FeatureTriageActions, isOpenRequest, isSnoozed } from '../controls/FeatureTriage';\nimport { useParams } from 'react-router';\nimport { PersonName } from '../people/People';\nimport { FeatureHeaderActions, FeatureVoteButton } from '../controls/FeatureControls';\nimport { CompetitorLinkCard } from '../controls/CompetitorControls';\n\nconst GET_FEATURE_REQUEST = gql`\n query GetFeatureRequest($id: ID!) {\n planmagnetFeatureRequest(id: $id) {\n id\n workspaceId\n projectId\n title\n description\n status\n businessValue\n effortEstimate\n priorityScore\n voteCount\n submittedBy\n workItemId\n tags\n snoozedUntil\n declineReason\n duplicateOfId\n duplicateOf {\n id\n title\n }\n triagedAt\n triagedBy\n createdAt\n updatedAt\n votes {\n id\n voterId\n weight\n comment\n createdAt\n }\n competitors {\n id\n name\n description\n website\n }\n }\n }\n`;\n\ninterface FeatureVoteNode {\n id: string;\n voterId: string;\n weight: number;\n comment: string | null;\n createdAt: string;\n}\n\ninterface CompetitorNode {\n id: string;\n name: string;\n description: string | null;\n website: string | null;\n}\n\nexport function ProductsFeatureDetailPagePage() {\n const { workspaceId, currentUser } = usePlanMagnet();\n const navigate = usePlanMagnetNavigate();\n // Snooze state is read against the moment the page opened (Date.now() may not run during render).\n const [now] = useState(() => Date.now());\n const params = useParams<{ id: string }>();\n const featureId = params.id ?? '';\n\n const {\n data,\n loading,\n error,\n } = // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n useQuery<Record<string, any>>(GET_FEATURE_REQUEST, {\n variables: { id: featureId },\n skip: !featureId,\n });\n\n // Only before the first load: a refetch must not blank the page (it\n\n // unmounts every component on it and loses their state).\n\n if (loading && !data) {\n return (\n <div className=\"flex items-center justify-center p-12\">\n <Loader2 className=\"h-8 w-8 animate-spin text-muted-foreground\" />\n </div>\n );\n }\n\n if (error) {\n return <div className=\"p-6 text-destructive\">Failed to load feature: {error.message}</div>;\n }\n\n const feature = data?.planmagnetFeatureRequest;\n if (!feature) return <div className=\"p-6 text-muted-foreground\">Feature not found.</div>;\n\n const votes: FeatureVoteNode[] = feature.votes ?? [];\n const competitors: CompetitorNode[] = feature.competitors ?? [];\n\n return (\n <div className=\"space-y-6 p-6\">\n <div className=\"flex items-center justify-between\">\n <div>\n <h1 className=\"text-2xl font-semibold\">{feature.title}</h1>\n <p className=\"text-sm text-muted-foreground\">\n Submitted by: <PersonName id={feature.submittedBy} /> &middot; Effort:{' '}\n {feature.effortEstimate ?? 'N/A'}\n </p>\n </div>\n {/* Vote, status, Edit and Delete (BOFF-7951): the request was read-only. */}\n <div className=\"flex flex-col items-end gap-2\">\n <FeatureVoteButton\n featureId={feature.id}\n voted={votes.some((v) => v.voterId === currentUser?.id)}\n />\n <FeatureHeaderActions feature={feature} />\n </div>\n </div>\n\n {/* Triage (P1.3): an undecided request is accepted, declined, snoozed or merged from here. */}\n {isOpenRequest(feature.status) && (\n <Card data-testid=\"triage-card\">\n <CardHeader>\n <CardTitle>Triage</CardTitle>\n </CardHeader>\n <CardContent className=\"space-y-2\">\n <p className=\"text-sm text-muted-foreground\">\n {isSnoozed(feature.snoozedUntil, now)\n ? `Snoozed until ${new Date(feature.snoozedUntil).toLocaleString()} — it returns to the triage queue then.`\n : feature.status === 'SUBMITTED'\n ? 'Waiting for a decision.'\n : 'Under review: accept it as planned, decline it, or merge it into its original.'}\n </p>\n <FeatureTriageActions feature={feature} now={now} />\n </CardContent>\n </Card>\n )}\n {feature.status === 'DECLINED' && feature.declineReason && (\n <Card data-testid=\"decline-reason\">\n <CardContent className=\"pt-4 text-sm\">\n <span className=\"font-medium\">Declined: </span>\n {feature.declineReason}\n </CardContent>\n </Card>\n )}\n {feature.status === 'DUPLICATE' && feature.duplicateOfId && (\n <Card data-testid=\"duplicate-of\">\n <CardContent className=\"pt-4 text-sm\">\n <span className=\"font-medium\">Duplicate of </span>\n {feature.duplicateOf ? (\n <button\n type=\"button\"\n className=\"text-primary underline-offset-2 hover:underline\"\n onClick={() =>\n navigate(detailPath('/products/feature-detail-page', feature.duplicateOf.id))\n }\n >\n {feature.duplicateOf.title}\n </button>\n ) : (\n <span className=\"text-muted-foreground\">a request that has since been deleted</span>\n )}{' '}\n — its votes were moved there.\n </CardContent>\n </Card>\n )}\n\n <div className=\"grid grid-cols-2 md:grid-cols-4 gap-4\">\n <Card>\n <CardContent className=\"pt-4 text-center\">\n <Target className=\"h-5 w-5 mx-auto text-primary\" />\n <p className=\"text-2xl font-bold mt-1\">{feature.priorityScore ?? 0}</p>\n <p className=\"text-xs text-muted-foreground\">Priority Score</p>\n </CardContent>\n </Card>\n <Card>\n <CardContent className=\"pt-4 text-center\">\n <ThumbsUp className=\"h-5 w-5 mx-auto text-green-500\" />\n <p className=\"text-2xl font-bold mt-1\">{feature.voteCount}</p>\n <p className=\"text-xs text-muted-foreground\">Votes</p>\n </CardContent>\n </Card>\n <Card>\n <CardContent className=\"pt-4 text-center\">\n <Star className=\"h-5 w-5 mx-auto text-yellow-500\" />\n <p className=\"text-2xl font-bold mt-1\">{feature.businessValue ?? 0}</p>\n <p className=\"text-xs text-muted-foreground\">Business Value</p>\n </CardContent>\n </Card>\n <Card>\n <CardContent className=\"pt-4 text-center\">\n <MessageSquare className=\"h-5 w-5 mx-auto text-blue-500\" />\n <p className=\"text-2xl font-bold mt-1\">{competitors.length}</p>\n <p className=\"text-xs text-muted-foreground\">Competitors</p>\n </CardContent>\n </Card>\n </div>\n\n <div className=\"grid grid-cols-1 lg:grid-cols-3 gap-6\">\n <div className=\"lg:col-span-2 space-y-6\">\n <Card>\n <CardHeader>\n <CardTitle>Description</CardTitle>\n </CardHeader>\n <CardContent>\n <p className=\"text-sm\">{feature.description ?? 'No description provided.'}</p>\n </CardContent>\n </Card>\n\n <Card>\n <CardHeader>\n <CardTitle>Votes ({votes.length})</CardTitle>\n </CardHeader>\n <CardContent className=\"space-y-3\">\n {votes.length === 0 && <p className=\"text-sm text-muted-foreground\">No votes yet.</p>}\n {votes.map((vote) => (\n <div\n key={vote.id}\n className=\"flex items-start justify-between border rounded-md p-3\"\n >\n <div>\n <p className=\"text-sm font-medium\">\n Voter: <PersonName id={vote.voterId} />\n </p>\n {vote.comment && (\n <p className=\"text-xs text-muted-foreground mt-1\">{vote.comment}</p>\n )}\n </div>\n <div className=\"flex items-center gap-1\">\n <ThumbsUp className=\"h-3 w-3 text-green-500\" />\n <span className=\"text-sm font-bold\">{vote.weight}</span>\n </div>\n </div>\n ))}\n </CardContent>\n </Card>\n\n {/* Competitor tracking (BOFF-8047): add, remove and browse to the competitors linked here. */}\n <Card>\n <CardHeader>\n <CardTitle>Competitors ({competitors.length})</CardTitle>\n </CardHeader>\n <CardContent>\n <CompetitorLinkCard featureRequestId={feature.id} competitors={competitors} />\n </CardContent>\n </Card>\n </div>\n\n <div className=\"space-y-6\">\n <Card>\n <CardHeader>\n <CardTitle>Details</CardTitle>\n </CardHeader>\n <CardContent className=\"space-y-3 text-sm\">\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Status</span>\n <Badge variant=\"secondary\" className=\"capitalize\">\n {feature.status.toLowerCase().replace('_', ' ')}\n </Badge>\n </div>\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Priority Score</span>\n <Badge variant=\"outline\">{feature.priorityScore ?? 'N/A'}</Badge>\n </div>\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Effort</span>\n <Badge variant=\"outline\" className=\"capitalize\">\n {feature.effortEstimate ?? 'N/A'}\n </Badge>\n </div>\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Business Value</span>\n <span className=\"font-medium\">{feature.businessValue ?? 'N/A'}</span>\n </div>\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Submitted By</span>\n <PersonName id={feature.submittedBy} />\n </div>\n {feature.triagedAt && (\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Decided</span>\n <span>\n {new Date(feature.triagedAt).toLocaleDateString()}\n {feature.triagedBy && (\n <>\n {' by '}\n <PersonName id={feature.triagedBy} />\n </>\n )}\n </span>\n </div>\n )}\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Updated</span>\n <span>{new Date(feature.updatedAt).toLocaleDateString()}</span>\n </div>\n </CardContent>\n </Card>\n\n {feature.tags?.length > 0 && (\n <Card>\n <CardHeader>\n <CardTitle>Tags</CardTitle>\n </CardHeader>\n <CardContent className=\"flex flex-wrap gap-1\">\n {feature.tags.map((tag: string) => (\n <Badge key={tag} variant=\"outline\" className=\"text-xs\">\n {tag}\n </Badge>\n ))}\n </CardContent>\n </Card>\n )}\n </div>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AAeA,IAAM,IAAsB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2D/B,SAAgB,IAAgC;CAC9C,IAAM,EAAE,gBAAa,mBAAgB,GAAe,EAC9C,IAAW,GAAuB,EAElC,CAAC,KAAO,QAAe,KAAK,KAAK,CAAC,EAElC,IADS,GAA2B,CACjB,MAAM,IAEzB,EACJ,SACA,YACA,aAGA,EAA8B,GAAqB;EACjD,WAAW,EAAE,IAAI,GAAW;EAC5B,MAAM,CAAC;EACR,CAAC;AAMJ,KAAI,KAAW,CAAC,EACd,QACE,kBAAC,OAAD;EAAK,WAAU;YACb,kBAAC,GAAD,EAAS,WAAU,8CAA+C,CAAA;EAC9D,CAAA;AAIV,KAAI,EACF,QAAO,kBAAC,OAAD;EAAK,WAAU;YAAf,CAAsC,4BAAyB,EAAM,QAAc;;CAG5F,IAAM,IAAU,GAAM;AACtB,KAAI,CAAC,EAAS,QAAO,kBAAC,OAAD;EAAK,WAAU;YAA4B;EAAwB,CAAA;CAExF,IAAM,IAA2B,EAAQ,SAAS,EAAE,EAC9C,IAAgC,EAAQ,eAAe,EAAE;AAE/D,QACE,kBAAC,OAAD;EAAK,WAAU;YAAf;GACE,kBAAC,OAAD;IAAK,WAAU;cAAf,CACE,kBAAC,OAAD,EAAA,UAAA,CACE,kBAAC,MAAD;KAAI,WAAU;eAA0B,EAAQ;KAAW,CAAA,EAC3D,kBAAC,KAAD;KAAG,WAAU;eAAb;MAA6C;MAC7B,kBAAC,GAAD,EAAY,IAAI,EAAQ,aAAe,CAAA;;MAAkB;MACtE,EAAQ,kBAAkB;MACzB;OACA,EAAA,CAAA,EAEN,kBAAC,OAAD;KAAK,WAAU;eAAf,C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AC3D;;OACM;QACT,EAAA,CAAA,EAEN,EAAQ,MAAM,SAAS,KACtB,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD,EAAA,UAAW,QAAgB,CAAA,EAChB,CAAA,EACb,kBAAC,GAAD;MAAa,WAAU;gBACpB,EAAQ,KAAK,KAAK,MACjB,kBAAC,GAAD;OAAiB,SAAQ;OAAU,WAAU;iBAC1C;OACK,EAFI,EAEJ,CACR;MACU,CAAA,CACT,EAAA,CAAA,CAEL;OACF;;GACF"}
1
+ {"version":3,"file":"ProductsFeatureDetailPagePage.js","names":[],"sources":["../../../src/planmagnet/pages/ProductsFeatureDetailPagePage.tsx"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport { useState } from 'react';\nimport { gql } from '@apollo/client';\nimport { useQuery } from '@apollo/client/react';\nimport { Card, CardContent, CardHeader, CardTitle, Badge } from '@burdenoff/fe-libs/ui';\nimport { Star, ThumbsUp, MessageSquare, Target, Loader2 } from 'lucide-react';\nimport { usePlanMagnet, usePlanMagnetNavigate } from '../providers/PlanMagnetProvider';\nimport { detailPath } from '../utils/rowNavigation';\nimport { FeatureTriageActions, isOpenRequest, isSnoozed } from '../controls/FeatureTriage';\nimport { useParams } from 'react-router';\nimport { PersonName } from '../people/People';\nimport { FeatureHeaderActions, FeatureVoteButton } from '../controls/FeatureControls';\nimport { CompetitorLinkCard } from '../controls/CompetitorControls';\nimport { FeatureInitiativeCard } from '../roadmaps/FeatureInitiativeCard';\n\nconst GET_FEATURE_REQUEST = gql`\n query GetFeatureRequest($id: ID!) {\n planmagnetFeatureRequest(id: $id) {\n id\n workspaceId\n projectId\n title\n description\n status\n businessValue\n effortEstimate\n priorityScore\n voteCount\n submittedBy\n workItemId\n tags\n snoozedUntil\n declineReason\n duplicateOfId\n duplicateOf {\n id\n title\n }\n triagedAt\n triagedBy\n createdAt\n updatedAt\n productId\n roadmapItem {\n id\n title\n roadmap {\n id\n name\n }\n }\n votes {\n id\n voterId\n weight\n comment\n createdAt\n }\n competitors {\n id\n name\n description\n website\n }\n }\n }\n`;\n\ninterface FeatureVoteNode {\n id: string;\n voterId: string;\n weight: number;\n comment: string | null;\n createdAt: string;\n}\n\ninterface CompetitorNode {\n id: string;\n name: string;\n description: string | null;\n website: string | null;\n}\n\nexport function ProductsFeatureDetailPagePage() {\n const { workspaceId, currentUser } = usePlanMagnet();\n const navigate = usePlanMagnetNavigate();\n // Snooze state is read against the moment the page opened (Date.now() may not run during render).\n const [now] = useState(() => Date.now());\n const params = useParams<{ id: string }>();\n const featureId = params.id ?? '';\n\n const {\n data,\n loading,\n error,\n } = // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n useQuery<Record<string, any>>(GET_FEATURE_REQUEST, {\n variables: { id: featureId },\n skip: !featureId,\n });\n\n // Only before the first load: a refetch must not blank the page (it\n\n // unmounts every component on it and loses their state).\n\n if (loading && !data) {\n return (\n <div className=\"flex items-center justify-center p-12\">\n <Loader2 className=\"h-8 w-8 animate-spin text-muted-foreground\" />\n </div>\n );\n }\n\n if (error) {\n return <div className=\"p-6 text-destructive\">Failed to load feature: {error.message}</div>;\n }\n\n const feature = data?.planmagnetFeatureRequest;\n if (!feature) return <div className=\"p-6 text-muted-foreground\">Feature not found.</div>;\n\n const votes: FeatureVoteNode[] = feature.votes ?? [];\n const competitors: CompetitorNode[] = feature.competitors ?? [];\n\n return (\n <div className=\"space-y-6 p-6\">\n <div className=\"flex items-center justify-between\">\n <div>\n <h1 className=\"text-2xl font-semibold\">{feature.title}</h1>\n <p className=\"text-sm text-muted-foreground\">\n Submitted by: <PersonName id={feature.submittedBy} /> &middot; Effort:{' '}\n {feature.effortEstimate ?? 'N/A'}\n </p>\n </div>\n {/* Vote, status, Edit and Delete (BOFF-7951): the request was read-only. */}\n <div className=\"flex flex-col items-end gap-2\">\n <FeatureVoteButton\n featureId={feature.id}\n voted={votes.some((v) => v.voterId === currentUser?.id)}\n />\n <FeatureHeaderActions feature={feature} />\n </div>\n </div>\n\n {/* Triage (P1.3): an undecided request is accepted, declined, snoozed or merged from here. */}\n {isOpenRequest(feature.status) && (\n <Card data-testid=\"triage-card\">\n <CardHeader>\n <CardTitle>Triage</CardTitle>\n </CardHeader>\n <CardContent className=\"space-y-2\">\n <p className=\"text-sm text-muted-foreground\">\n {isSnoozed(feature.snoozedUntil, now)\n ? `Snoozed until ${new Date(feature.snoozedUntil).toLocaleString()} — it returns to the triage queue then.`\n : feature.status === 'SUBMITTED'\n ? 'Waiting for a decision.'\n : 'Under review: accept it as planned, decline it, or merge it into its original.'}\n </p>\n <FeatureTriageActions feature={feature} now={now} />\n </CardContent>\n </Card>\n )}\n {feature.status === 'DECLINED' && feature.declineReason && (\n <Card data-testid=\"decline-reason\">\n <CardContent className=\"pt-4 text-sm\">\n <span className=\"font-medium\">Declined: </span>\n {feature.declineReason}\n </CardContent>\n </Card>\n )}\n {feature.status === 'DUPLICATE' && feature.duplicateOfId && (\n <Card data-testid=\"duplicate-of\">\n <CardContent className=\"pt-4 text-sm\">\n <span className=\"font-medium\">Duplicate of </span>\n {feature.duplicateOf ? (\n <button\n type=\"button\"\n className=\"text-primary underline-offset-2 hover:underline\"\n onClick={() =>\n navigate(detailPath('/products/feature-detail-page', feature.duplicateOf.id))\n }\n >\n {feature.duplicateOf.title}\n </button>\n ) : (\n <span className=\"text-muted-foreground\">a request that has since been deleted</span>\n )}{' '}\n — its votes were moved there.\n </CardContent>\n </Card>\n )}\n\n <div className=\"grid grid-cols-2 md:grid-cols-4 gap-4\">\n <Card>\n <CardContent className=\"pt-4 text-center\">\n <Target className=\"h-5 w-5 mx-auto text-primary\" />\n <p className=\"text-2xl font-bold mt-1\">{feature.priorityScore ?? 0}</p>\n <p className=\"text-xs text-muted-foreground\">Priority Score</p>\n </CardContent>\n </Card>\n <Card>\n <CardContent className=\"pt-4 text-center\">\n <ThumbsUp className=\"h-5 w-5 mx-auto text-green-500\" />\n <p className=\"text-2xl font-bold mt-1\">{feature.voteCount}</p>\n <p className=\"text-xs text-muted-foreground\">Votes</p>\n </CardContent>\n </Card>\n <Card>\n <CardContent className=\"pt-4 text-center\">\n <Star className=\"h-5 w-5 mx-auto text-yellow-500\" />\n <p className=\"text-2xl font-bold mt-1\">{feature.businessValue ?? 0}</p>\n <p className=\"text-xs text-muted-foreground\">Business Value</p>\n </CardContent>\n </Card>\n <Card>\n <CardContent className=\"pt-4 text-center\">\n <MessageSquare className=\"h-5 w-5 mx-auto text-blue-500\" />\n <p className=\"text-2xl font-bold mt-1\">{competitors.length}</p>\n <p className=\"text-xs text-muted-foreground\">Competitors</p>\n </CardContent>\n </Card>\n </div>\n\n <div className=\"grid grid-cols-1 lg:grid-cols-3 gap-6\">\n <div className=\"lg:col-span-2 space-y-6\">\n <Card>\n <CardHeader>\n <CardTitle>Description</CardTitle>\n </CardHeader>\n <CardContent>\n <p className=\"text-sm\">{feature.description ?? 'No description provided.'}</p>\n </CardContent>\n </Card>\n\n <Card>\n <CardHeader>\n <CardTitle>Votes ({votes.length})</CardTitle>\n </CardHeader>\n <CardContent className=\"space-y-3\">\n {votes.length === 0 && <p className=\"text-sm text-muted-foreground\">No votes yet.</p>}\n {votes.map((vote) => (\n <div\n key={vote.id}\n className=\"flex items-start justify-between border rounded-md p-3\"\n >\n <div>\n <p className=\"text-sm font-medium\">\n Voter: <PersonName id={vote.voterId} />\n </p>\n {vote.comment && (\n <p className=\"text-xs text-muted-foreground mt-1\">{vote.comment}</p>\n )}\n </div>\n <div className=\"flex items-center gap-1\">\n <ThumbsUp className=\"h-3 w-3 text-green-500\" />\n <span className=\"text-sm font-bold\">{vote.weight}</span>\n </div>\n </div>\n ))}\n </CardContent>\n </Card>\n\n {/* Competitor tracking (BOFF-8047): add, remove and browse to the competitors linked here. */}\n <Card>\n <CardHeader>\n <CardTitle>Competitors ({competitors.length})</CardTitle>\n </CardHeader>\n <CardContent>\n <CompetitorLinkCard featureRequestId={feature.id} competitors={competitors} />\n </CardContent>\n </Card>\n </div>\n\n <div className=\"space-y-6\">\n {/* PRM-24: the roadmap initiative that addresses this request. */}\n <FeatureInitiativeCard\n featureId={feature.id}\n productId={feature.productId ?? null}\n initiative={feature.roadmapItem ?? null}\n />\n <Card>\n <CardHeader>\n <CardTitle>Details</CardTitle>\n </CardHeader>\n <CardContent className=\"space-y-3 text-sm\">\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Status</span>\n <Badge variant=\"secondary\" className=\"capitalize\">\n {feature.status.toLowerCase().replace('_', ' ')}\n </Badge>\n </div>\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Priority Score</span>\n <Badge variant=\"outline\">{feature.priorityScore ?? 'N/A'}</Badge>\n </div>\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Effort</span>\n <Badge variant=\"outline\" className=\"capitalize\">\n {feature.effortEstimate ?? 'N/A'}\n </Badge>\n </div>\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Business Value</span>\n <span className=\"font-medium\">{feature.businessValue ?? 'N/A'}</span>\n </div>\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Submitted By</span>\n <PersonName id={feature.submittedBy} />\n </div>\n {feature.triagedAt && (\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Decided</span>\n <span>\n {new Date(feature.triagedAt).toLocaleDateString()}\n {feature.triagedBy && (\n <>\n {' by '}\n <PersonName id={feature.triagedBy} />\n </>\n )}\n </span>\n </div>\n )}\n <div className=\"flex justify-between\">\n <span className=\"text-muted-foreground\">Updated</span>\n <span>{new Date(feature.updatedAt).toLocaleDateString()}</span>\n </div>\n </CardContent>\n </Card>\n\n {feature.tags?.length > 0 && (\n <Card>\n <CardHeader>\n <CardTitle>Tags</CardTitle>\n </CardHeader>\n <CardContent className=\"flex flex-wrap gap-1\">\n {feature.tags.map((tag: string) => (\n <Badge key={tag} variant=\"outline\" className=\"text-x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AK,EAAQ,UAAU,CAAC,oBAAoB,EAAQ,CAAA,CAC3D;;QACM;SACT,EAAA,CAAA;MAEN,EAAQ,MAAM,SAAS,KACtB,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD,EAAA,UAAW,QAAgB,CAAA,EAChB,CAAA,EACb,kBAAC,GAAD;OAAa,WAAU;iBACpB,EAAQ,KAAK,KAAK,MACjB,kBAAC,GAAD;QAAiB,SAAQ;QAAU,WAAU;kBAC1C;QACK,EAFI,EAEJ,CACR;OACU,CAAA,CACT,EAAA,CAAA;MAEL;OACF;;GACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductsReleaseDetailPagePage.d.ts","sourceRoot":"","sources":["../../../src/planmagnet/pages/ProductsReleaseDetailPagePage.tsx"],"names":[],"mappings":"AA+DA,wBAAgB,6BAA6B,4CAqM5C"}
1
+ {"version":3,"file":"ProductsReleaseDetailPagePage.d.ts","sourceRoot":"","sources":["../../../src/planmagnet/pages/ProductsReleaseDetailPagePage.tsx"],"names":[],"mappings":"AAgEA,wBAAgB,6BAA6B,4CAuM5C"}