@parallelworks/tandem-web 0.184.0 → 0.185.0
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/_virtual/_virtual_i18n/en/common.js +2 -0
- package/_virtual/_virtual_i18n/es/common.js +2 -0
- package/_virtual/_virtual_i18n/ja/common.js +2 -0
- package/_virtual/_virtual_i18n/ko/common.js +2 -0
- package/_virtual/_virtual_i18n/zh/common.js +2 -0
- package/components/FavoritesNav.js +125 -106
- package/components/NewProjectDialog.js +170 -163
- package/components/ParentProjectSelect.js +35 -0
- package/lib/projects.js +9 -1
- package/package.json +1 -1
- package/pages/projects.js +62 -57
- package/routes/_workspace/projects/_projectId3.js +286 -287
package/pages/projects.js
CHANGED
|
@@ -11,25 +11,25 @@ import { usePageTitle as y } from "../lib/pageTitle.js";
|
|
|
11
11
|
import { usePeople as b } from "../lib/people.js";
|
|
12
12
|
import { storeLayout as x, storedLayout as S } from "../lib/projectList.js";
|
|
13
13
|
import { healthStates as C, projectStatuses as ee, shownStatus as te } from "../lib/projectStates.js";
|
|
14
|
-
import { projectRef as w, projectTree as T, projectsUnder as E } from "../lib/projects.js";
|
|
15
|
-
import { useCan as
|
|
16
|
-
import { Link as
|
|
17
|
-
import { useTime as
|
|
18
|
-
import { Avatar as
|
|
19
|
-
import { useParams as
|
|
20
|
-
import { useEffect as P, useId as
|
|
14
|
+
import { projectLevel as ne, projectRef as w, projectTree as T, projectsUnder as E } from "../lib/projects.js";
|
|
15
|
+
import { useCan as D } from "../lib/roles.js";
|
|
16
|
+
import { Link as O, useNavigate as re } from "../lib/router.js";
|
|
17
|
+
import { useTime as k } from "../lib/time.js";
|
|
18
|
+
import { Avatar as A, Button as j, Combobox as ie, EmptyState as ae, PageHeaderAddButton as oe, Switch as se, Tabs as M, ToggleGroup as ce, Tooltip as N, menuDivider as le, useOpenMenu as ue } from "@parallelworks/ui";
|
|
19
|
+
import { useParams as de, useSearch as fe } from "@tanstack/react-router";
|
|
20
|
+
import { useEffect as P, useId as pe, useRef as F, useState as I } from "react";
|
|
21
21
|
import { useFormatter as L, useTranslations as R } from "use-intl";
|
|
22
22
|
import { jsx as z, jsxs as B } from "react/jsx-runtime";
|
|
23
23
|
import { useSuspenseQuery as V } from "@tanstack/react-query";
|
|
24
24
|
import { MoreButton as H } from "@parallelworks/ui/list";
|
|
25
25
|
// src/pages/projects.tsx
|
|
26
26
|
function U() {
|
|
27
|
-
let { workspace: r, key: a } =
|
|
27
|
+
let { workspace: r, key: a } = de({ strict: !1 }), s = fe({ strict: !1 }), u = a ? {
|
|
28
28
|
...s,
|
|
29
29
|
team: a
|
|
30
30
|
} : s, f = R("planning"), p = R("common"), { data: m } = V(e(r)), { data: b } = V(t(r)), C = b.find((e) => e.key === u.team);
|
|
31
31
|
y(C ? f("teamProjects", { team: C.name }) : f("projects"));
|
|
32
|
-
let T = a ? "list" : "timeline",
|
|
32
|
+
let T = a ? "list" : "timeline", O = u.view ?? S(!!a) ?? T, k = m.filter((e) => (!C || e.teamIds.includes(C.id)) && !!e.template == (O === "templates")), A = D(r, "manage_projects"), [M, N] = I(null), P = pe(), F = re(), L = ue(), H = v(), U = u.parent ? m.find((e) => e.id === u.parent) : void 0, W = U && new Set(E(m, U.id).map((e) => e.id)), G = te(u.status, O === "templates"), K = k.filter((e) => (!G || e.status === G) && (!u.health || h(e) === u.health) && (!W || W.has(e.id))), q = k.length > 0 && (!!G || !!u.health), J = (e) => {
|
|
33
33
|
let { team: t, ...n } = Object.fromEntries(Object.entries({
|
|
34
34
|
...u,
|
|
35
35
|
...e
|
|
@@ -74,6 +74,10 @@ function U() {
|
|
|
74
74
|
label: Y.find("project", e.id) ? X("remove") : X("add"),
|
|
75
75
|
onClick: () => Y.toggle("project", e.id)
|
|
76
76
|
},
|
|
77
|
+
...A && !e.template && ne(m, e.id) < 5 ? [{
|
|
78
|
+
label: f("newSubProject"),
|
|
79
|
+
onClick: () => N(e.id)
|
|
80
|
+
}] : [],
|
|
77
81
|
le,
|
|
78
82
|
...H(`/${r}/projects/${w(e)}`),
|
|
79
83
|
_(p("copyName"), e.name)
|
|
@@ -101,7 +105,7 @@ function U() {
|
|
|
101
105
|
/* @__PURE__ */ z("span", {
|
|
102
106
|
className: "ml-auto flex items-center gap-1",
|
|
103
107
|
children: /* @__PURE__ */ z(n, {
|
|
104
|
-
...
|
|
108
|
+
...O !== "templates" && {
|
|
105
109
|
layouts: [{
|
|
106
110
|
value: "list",
|
|
107
111
|
label: f("views.list"),
|
|
@@ -111,12 +115,12 @@ function U() {
|
|
|
111
115
|
label: f("views.timeline"),
|
|
112
116
|
icon: /* @__PURE__ */ z(l, {})
|
|
113
117
|
}],
|
|
114
|
-
layout:
|
|
118
|
+
layout: O,
|
|
115
119
|
onLayoutChange: (e) => {
|
|
116
120
|
x(!!a, e), J({ view: e });
|
|
117
121
|
}
|
|
118
122
|
},
|
|
119
|
-
changed:
|
|
123
|
+
changed: O !== T,
|
|
120
124
|
children: /* @__PURE__ */ B("div", {
|
|
121
125
|
className: "flex items-center justify-between gap-3",
|
|
122
126
|
children: [/* @__PURE__ */ z("span", {
|
|
@@ -125,16 +129,16 @@ function U() {
|
|
|
125
129
|
children: f("showTemplates")
|
|
126
130
|
}), /* @__PURE__ */ z(se, {
|
|
127
131
|
size: "sm",
|
|
128
|
-
checked:
|
|
132
|
+
checked: O === "templates",
|
|
129
133
|
onCheckedChange: (e) => J({ view: e ? "templates" : void 0 }),
|
|
130
134
|
"aria-labelledby": P
|
|
131
135
|
})]
|
|
132
136
|
})
|
|
133
137
|
})
|
|
134
138
|
}),
|
|
135
|
-
|
|
139
|
+
A && /* @__PURE__ */ z(oe, {
|
|
136
140
|
label: f("newProject"),
|
|
137
|
-
onClick: () =>
|
|
141
|
+
onClick: () => N("")
|
|
138
142
|
})
|
|
139
143
|
]
|
|
140
144
|
}),
|
|
@@ -144,23 +148,23 @@ function U() {
|
|
|
144
148
|
/* @__PURE__ */ z(ce, {
|
|
145
149
|
label: f("filterStatus"),
|
|
146
150
|
multiple: !1,
|
|
147
|
-
all: { count:
|
|
151
|
+
all: { count: k.length },
|
|
148
152
|
options: ee.map((e) => ({
|
|
149
153
|
value: e,
|
|
150
154
|
label: f(`status.${e}`),
|
|
151
|
-
count:
|
|
155
|
+
count: k.filter((t) => t.status === e).length
|
|
152
156
|
})),
|
|
153
157
|
value: G ? [G] : [],
|
|
154
158
|
onValueChange: ([e]) => J({ status: e ?? "all" })
|
|
155
159
|
}),
|
|
156
|
-
u.health && /* @__PURE__ */ z(
|
|
160
|
+
u.health && /* @__PURE__ */ z(j, {
|
|
157
161
|
variant: "outline",
|
|
158
162
|
size: "sm",
|
|
159
163
|
"aria-pressed": !0,
|
|
160
164
|
onClick: () => J({ health: void 0 }),
|
|
161
165
|
children: f("healthFilter", { health: f(`health.${u.health}`) })
|
|
162
166
|
}),
|
|
163
|
-
|
|
167
|
+
k.some((e) => e.parentId) && /* @__PURE__ */ z(ie, {
|
|
164
168
|
items: [{
|
|
165
169
|
value: "",
|
|
166
170
|
label: f("anyParent")
|
|
@@ -172,7 +176,7 @@ function U() {
|
|
|
172
176
|
onValueChange: (e) => J({ parent: e || void 0 }),
|
|
173
177
|
placeholder: f("parentProject"),
|
|
174
178
|
"aria-label": f("parentProject"),
|
|
175
|
-
trigger: /* @__PURE__ */ z(
|
|
179
|
+
trigger: /* @__PURE__ */ z(j, {
|
|
176
180
|
variant: "outline",
|
|
177
181
|
size: "sm",
|
|
178
182
|
className: U ? "border-(--theme-link) text-(--theme-app)" : void 0,
|
|
@@ -189,40 +193,41 @@ function U() {
|
|
|
189
193
|
className: "p-6",
|
|
190
194
|
children: /* @__PURE__ */ z(ae, {
|
|
191
195
|
icon: /* @__PURE__ */ z(c, {}),
|
|
192
|
-
title: f(q ? "noProjectsWithStatus" :
|
|
193
|
-
...!q && { description: f(
|
|
194
|
-
...
|
|
196
|
+
title: f(q ? "noProjectsWithStatus" : O === "templates" ? "noTemplates" : "noProjects"),
|
|
197
|
+
...!q && { description: f(O === "templates" ? "noTemplatesDescription" : "noProjectsDescription") },
|
|
198
|
+
...A && !q && O !== "templates" && { action: /* @__PURE__ */ z(j, {
|
|
195
199
|
type: "button",
|
|
196
200
|
variant: "primary",
|
|
197
|
-
onClick: () =>
|
|
201
|
+
onClick: () => N(""),
|
|
198
202
|
children: f("newProject")
|
|
199
203
|
}) }
|
|
200
204
|
})
|
|
201
|
-
}) :
|
|
205
|
+
}) : O === "timeline" ? /* @__PURE__ */ z(_e, {
|
|
202
206
|
workspace: r,
|
|
203
207
|
projects: K,
|
|
204
208
|
rowProps: Q
|
|
205
|
-
}) : /* @__PURE__ */ z(
|
|
209
|
+
}) : /* @__PURE__ */ z(me, {
|
|
206
210
|
projects: K,
|
|
207
211
|
rowProps: Q
|
|
208
212
|
})
|
|
209
|
-
}), /* @__PURE__ */ z(
|
|
213
|
+
}), /* @__PURE__ */ z(ye, {
|
|
210
214
|
workspace: r,
|
|
211
|
-
projects:
|
|
215
|
+
projects: k,
|
|
212
216
|
health: u.health,
|
|
213
217
|
onHealth: (e) => J({ health: e === u.health ? void 0 : e })
|
|
214
218
|
})]
|
|
215
219
|
}),
|
|
216
|
-
|
|
220
|
+
M !== null && /* @__PURE__ */ z(d, {
|
|
217
221
|
workspace: r,
|
|
218
222
|
teamId: C?.id,
|
|
219
|
-
|
|
223
|
+
parentId: M || void 0,
|
|
224
|
+
onClose: () => N(null)
|
|
220
225
|
})
|
|
221
226
|
]
|
|
222
227
|
});
|
|
223
228
|
}
|
|
224
229
|
var W = "@4xl:grid @4xl:grid-cols-[minmax(0,1fr)_10rem_2rem_2rem_6rem_8rem_2rem]";
|
|
225
|
-
function
|
|
230
|
+
function me({ projects: e, rowProps: t }) {
|
|
226
231
|
let n = R("planning"), [r, i] = I(/* @__PURE__ */ new Set()), a = new Set([...r].flatMap((t) => E(e, t).map((e) => e.id))), o = (e) => i((t) => {
|
|
227
232
|
let n = new Set(t);
|
|
228
233
|
return n.delete(e) || n.add(e), n;
|
|
@@ -234,14 +239,14 @@ function pe({ projects: e, rowProps: t }) {
|
|
|
234
239
|
children: [
|
|
235
240
|
/* @__PURE__ */ z("span", { children: n("name") }),
|
|
236
241
|
/* @__PURE__ */ z("span", { children: n("healthLabel") }),
|
|
237
|
-
/* @__PURE__ */ z(
|
|
242
|
+
/* @__PURE__ */ z(N, {
|
|
238
243
|
content: n("priority"),
|
|
239
244
|
children: /* @__PURE__ */ z("span", { children: /* @__PURE__ */ z("span", {
|
|
240
245
|
className: "sr-only",
|
|
241
246
|
children: n("priority")
|
|
242
247
|
}) })
|
|
243
248
|
}),
|
|
244
|
-
/* @__PURE__ */ z(
|
|
249
|
+
/* @__PURE__ */ z(N, {
|
|
245
250
|
content: n("lead"),
|
|
246
251
|
children: /* @__PURE__ */ z("span", { children: /* @__PURE__ */ z("span", {
|
|
247
252
|
className: "sr-only",
|
|
@@ -269,7 +274,7 @@ function G({ project: e }) {
|
|
|
269
274
|
}) : /* @__PURE__ */ z(c, { className: "size-4 text-muted-foreground" });
|
|
270
275
|
}
|
|
271
276
|
function K({ workspace: e, project: t, onContextMenu: n, menu: r, depth: i = 0, childCount: o = 0, folded: c = !1, onFold: l }) {
|
|
272
|
-
let d = R("planning"), g = R("common"), _ =
|
|
277
|
+
let d = R("planning"), g = R("common"), _ = k(), v = u(), { person: y } = b(e), x = t.lead ? y(t.lead) : void 0, S = h(t);
|
|
273
278
|
return /* @__PURE__ */ B("li", {
|
|
274
279
|
className: "group flex items-center border-b border-border pr-2 hover:bg-muted/60",
|
|
275
280
|
children: [
|
|
@@ -285,7 +290,7 @@ function K({ workspace: e, project: t, onContextMenu: n, menu: r, depth: i = 0,
|
|
|
285
290
|
children: /* @__PURE__ */ z(a, { className: `size-3.5 transition-transform ${c ? "-rotate-90" : ""}` })
|
|
286
291
|
})
|
|
287
292
|
}),
|
|
288
|
-
/* @__PURE__ */ B(
|
|
293
|
+
/* @__PURE__ */ B(O, {
|
|
289
294
|
to: "/$workspace/projects/$projectId",
|
|
290
295
|
params: {
|
|
291
296
|
workspace: e,
|
|
@@ -311,7 +316,7 @@ function K({ workspace: e, project: t, onContextMenu: n, menu: r, depth: i = 0,
|
|
|
311
316
|
className: "flex items-center gap-1.5 whitespace-nowrap text-xs text-muted-foreground",
|
|
312
317
|
children: [/* @__PURE__ */ z(f, { state: S }), d(`health.${S}`)]
|
|
313
318
|
}),
|
|
314
|
-
/* @__PURE__ */ z(
|
|
319
|
+
/* @__PURE__ */ z(N, {
|
|
315
320
|
content: v[t.priority],
|
|
316
321
|
children: /* @__PURE__ */ z("span", {
|
|
317
322
|
role: "img",
|
|
@@ -322,9 +327,9 @@ function K({ workspace: e, project: t, onContextMenu: n, menu: r, depth: i = 0,
|
|
|
322
327
|
}),
|
|
323
328
|
/* @__PURE__ */ z("span", {
|
|
324
329
|
className: "flex",
|
|
325
|
-
children: x && /* @__PURE__ */ z(
|
|
330
|
+
children: x && /* @__PURE__ */ z(N, {
|
|
326
331
|
content: d("leadIs", { name: x.name }),
|
|
327
|
-
children: /* @__PURE__ */ z("span", { children: /* @__PURE__ */ z(
|
|
332
|
+
children: /* @__PURE__ */ z("span", { children: /* @__PURE__ */ z(A, {
|
|
328
333
|
name: x.name,
|
|
329
334
|
src: x.avatarUrl,
|
|
330
335
|
size: "sm"
|
|
@@ -339,7 +344,7 @@ function K({ workspace: e, project: t, onContextMenu: n, menu: r, depth: i = 0,
|
|
|
339
344
|
progress: o > 0 ? t.treeProgress : t.progress,
|
|
340
345
|
compact: !0
|
|
341
346
|
}) }),
|
|
342
|
-
/* @__PURE__ */ z(
|
|
347
|
+
/* @__PURE__ */ z(N, {
|
|
343
348
|
content: d(`status.${t.status}`),
|
|
344
349
|
children: /* @__PURE__ */ z("span", {
|
|
345
350
|
role: "img",
|
|
@@ -360,15 +365,15 @@ function K({ workspace: e, project: t, onContextMenu: n, menu: r, depth: i = 0,
|
|
|
360
365
|
var q = 864e5, J = 5, Y = 64, X = 256, Z = 56, Q = (e) => Date.parse(`${e}T00:00:00Z`), $ = (e) => {
|
|
361
366
|
let t = new Date(e);
|
|
362
367
|
return Date.UTC(t.getUTCFullYear(), t.getUTCMonth(), 1);
|
|
363
|
-
},
|
|
368
|
+
}, he = () => {
|
|
364
369
|
let e = /* @__PURE__ */ new Date();
|
|
365
370
|
return Date.UTC(e.getFullYear(), e.getMonth(), e.getDate());
|
|
366
|
-
},
|
|
367
|
-
function
|
|
371
|
+
}, ge = (e) => e - (new Date(e).getUTCDay() + 6) % 7 * q;
|
|
372
|
+
function _e({ workspace: e, projects: t, rowProps: n }) {
|
|
368
373
|
let r = R("planning"), i = L(), a = F(null), [o, s] = I({
|
|
369
374
|
left: 0,
|
|
370
375
|
width: 0
|
|
371
|
-
}), c =
|
|
376
|
+
}), c = he(), l = t.map((e) => {
|
|
372
377
|
let t = e.targetDate ? Q(e.targetDate) : void 0;
|
|
373
378
|
return {
|
|
374
379
|
p: e,
|
|
@@ -378,7 +383,7 @@ function ge({ workspace: e, projects: t, rowProps: n }) {
|
|
|
378
383
|
}), u = l.flatMap((e) => [e.start, e.end].filter((e) => e !== void 0)), d = $(Math.min(c - 90 * q, ...u)), f = $(Math.max(c + 300 * q, ...u) + 40 * q), p = (e) => (e - d) / q * J, m = p(f), h = [];
|
|
379
384
|
for (let e = d; e < f; e = $(e + 32 * q)) h.push(e);
|
|
380
385
|
let g = [];
|
|
381
|
-
for (let e =
|
|
386
|
+
for (let e = ge(d) + 7 * q; e < f; e += 7 * q) g.push(e);
|
|
382
387
|
let _ = (e, t) => i.dateTime(new Date(e), {
|
|
383
388
|
...t,
|
|
384
389
|
timeZone: "UTC"
|
|
@@ -423,7 +428,7 @@ function ge({ workspace: e, projects: t, rowProps: n }) {
|
|
|
423
428
|
children: [/* @__PURE__ */ z("div", {
|
|
424
429
|
className: "sticky left-0 z-[3] flex shrink-0 items-end border-r border-border bg-background px-4 pb-2",
|
|
425
430
|
style: { width: X },
|
|
426
|
-
children: /* @__PURE__ */ z(
|
|
431
|
+
children: /* @__PURE__ */ z(j, {
|
|
427
432
|
type: "button",
|
|
428
433
|
size: "xs",
|
|
429
434
|
onClick: () => b(),
|
|
@@ -488,12 +493,12 @@ function ge({ workspace: e, projects: t, rowProps: n }) {
|
|
|
488
493
|
return /* @__PURE__ */ B("li", {
|
|
489
494
|
className: "group flex hover:bg-muted/40",
|
|
490
495
|
style: { height: Y },
|
|
491
|
-
children: [/* @__PURE__ */ z(
|
|
496
|
+
children: [/* @__PURE__ */ z(ve, { ...n(t) }), /* @__PURE__ */ B("div", {
|
|
492
497
|
className: "relative",
|
|
493
498
|
style: { width: m },
|
|
494
|
-
children: [a && !u && !d && /* @__PURE__ */ z(
|
|
499
|
+
children: [a && !u && !d && /* @__PURE__ */ z(N, {
|
|
495
500
|
content: `${t.name}, ${v(r, i)}`,
|
|
496
|
-
children: /* @__PURE__ */ B(
|
|
501
|
+
children: /* @__PURE__ */ B(O, {
|
|
497
502
|
to: "/$workspace/projects/$projectId",
|
|
498
503
|
params: {
|
|
499
504
|
workspace: e,
|
|
@@ -522,7 +527,7 @@ function ge({ workspace: e, projects: t, rowProps: n }) {
|
|
|
522
527
|
})]
|
|
523
528
|
})]
|
|
524
529
|
})
|
|
525
|
-
}), (u || d) && /* @__PURE__ */ B(
|
|
530
|
+
}), (u || d) && /* @__PURE__ */ B(O, {
|
|
526
531
|
to: "/$workspace/projects/$projectId",
|
|
527
532
|
params: {
|
|
528
533
|
workspace: e,
|
|
@@ -553,9 +558,9 @@ function ge({ workspace: e, projects: t, rowProps: n }) {
|
|
|
553
558
|
})
|
|
554
559
|
});
|
|
555
560
|
}
|
|
556
|
-
function
|
|
561
|
+
function ve({ workspace: e, project: t, onContextMenu: n }) {
|
|
557
562
|
let r = R("planning"), { person: i } = b(e), a = t.lead ? i(t.lead) : void 0, o = h(t);
|
|
558
|
-
return /* @__PURE__ */ B(
|
|
563
|
+
return /* @__PURE__ */ B(O, {
|
|
559
564
|
to: "/$workspace/projects/$projectId",
|
|
560
565
|
params: {
|
|
561
566
|
workspace: e,
|
|
@@ -570,7 +575,7 @@ function _e({ workspace: e, project: t, onContextMenu: n }) {
|
|
|
570
575
|
className: "min-w-0 flex-1 truncate text-sm",
|
|
571
576
|
children: t.name
|
|
572
577
|
}),
|
|
573
|
-
/* @__PURE__ */ z(
|
|
578
|
+
/* @__PURE__ */ z(N, {
|
|
574
579
|
content: r(`status.${t.status}`),
|
|
575
580
|
children: /* @__PURE__ */ z("span", {
|
|
576
581
|
role: "img",
|
|
@@ -579,7 +584,7 @@ function _e({ workspace: e, project: t, onContextMenu: n }) {
|
|
|
579
584
|
children: /* @__PURE__ */ z(m, { status: t.status })
|
|
580
585
|
})
|
|
581
586
|
}),
|
|
582
|
-
/* @__PURE__ */ z(
|
|
587
|
+
/* @__PURE__ */ z(N, {
|
|
583
588
|
content: r(`health.${o}`),
|
|
584
589
|
children: /* @__PURE__ */ z("span", {
|
|
585
590
|
role: "img",
|
|
@@ -587,7 +592,7 @@ function _e({ workspace: e, project: t, onContextMenu: n }) {
|
|
|
587
592
|
children: /* @__PURE__ */ z(f, { state: o })
|
|
588
593
|
})
|
|
589
594
|
}),
|
|
590
|
-
a && /* @__PURE__ */ z(
|
|
595
|
+
a && /* @__PURE__ */ z(A, {
|
|
591
596
|
name: a.name,
|
|
592
597
|
src: a.avatarUrl,
|
|
593
598
|
size: "xs",
|
|
@@ -596,12 +601,12 @@ function _e({ workspace: e, project: t, onContextMenu: n }) {
|
|
|
596
601
|
]
|
|
597
602
|
});
|
|
598
603
|
}
|
|
599
|
-
function
|
|
604
|
+
function ye({ workspace: e, projects: n, health: i, onHealth: a }) {
|
|
600
605
|
let o = R("planning"), { data: s } = V(t(e)), { person: c } = b(e), [l, u] = I("health"), d = (e) => n.filter(e).length, p = "flex h-9 w-full items-center gap-2.5 rounded-md px-2 text-sm", m = [...new Set(n.map((e) => e.lead ?? ""))];
|
|
601
606
|
return /* @__PURE__ */ B("aside", {
|
|
602
607
|
"aria-label": o("breakdown"),
|
|
603
608
|
className: "hidden w-72 shrink-0 overflow-y-auto border-l border-border p-3 xl:block",
|
|
604
|
-
children: [/* @__PURE__ */ z(
|
|
609
|
+
children: [/* @__PURE__ */ z(M, {
|
|
605
610
|
variant: "segmented",
|
|
606
611
|
size: "sm",
|
|
607
612
|
label: o("breakdown"),
|
|
@@ -664,7 +669,7 @@ function ve({ workspace: e, projects: n, health: i, onHealth: a }) {
|
|
|
664
669
|
return /* @__PURE__ */ B("li", {
|
|
665
670
|
className: p,
|
|
666
671
|
children: [
|
|
667
|
-
t ? /* @__PURE__ */ z(
|
|
672
|
+
t ? /* @__PURE__ */ z(A, {
|
|
668
673
|
name: t.name,
|
|
669
674
|
src: t.avatarUrl,
|
|
670
675
|
size: "xs",
|