@parallelworks/tandem-web 0.150.3 → 0.151.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.
Files changed (110) hide show
  1. package/_virtual/_virtual_i18n/en/common.js +32 -3
  2. package/_virtual/_virtual_i18n/es/common.js +32 -3
  3. package/_virtual/_virtual_i18n/ja/common.js +32 -3
  4. package/_virtual/_virtual_i18n/ko/common.js +32 -3
  5. package/_virtual/_virtual_i18n/zh/common.js +32 -3
  6. package/api/queries.js +88 -77
  7. package/components/AccessGrants.js +6 -6
  8. package/components/ActivityTimeline.js +4 -4
  9. package/components/AgentWork.js +111 -111
  10. package/components/AreaLink.js +32 -0
  11. package/components/AreaTiles.js +10 -13
  12. package/components/AreaWork.js +25 -1
  13. package/components/BugRotation.js +3 -3
  14. package/components/CodeHostSettings.js +30 -30
  15. package/components/CommandPalette.js +53 -53
  16. package/components/CustomFields.js +116 -116
  17. package/components/DateChip.js +11 -11
  18. package/components/DocButton.js +6 -6
  19. package/components/DocHistory.js +4 -4
  20. package/components/DocLinkPicker.js +8 -8
  21. package/components/DocProperties.js +15 -15
  22. package/components/DocTable.js +15 -15
  23. package/components/DocsTree.js +80 -80
  24. package/components/Editor.js +35 -35
  25. package/components/FavoritesNav.js +53 -53
  26. package/components/GitHub.js +18 -18
  27. package/components/Graph.js +15 -15
  28. package/components/HostActions.js +21 -21
  29. package/components/HostPanel.js +6 -6
  30. package/components/HoverCards.js +38 -38
  31. package/components/IssueBoard.js +4 -4
  32. package/components/IssueCode.js +14 -14
  33. package/components/IssueEvent.js +3 -3
  34. package/components/IssueFilters.js +71 -71
  35. package/components/IssueListBlock.js +32 -32
  36. package/components/IssueRow.js +21 -21
  37. package/components/IssueTemplates.js +118 -118
  38. package/components/IssueTypes.js +40 -40
  39. package/components/NewIssueDialog.js +76 -76
  40. package/components/NewProjectDialog.js +145 -145
  41. package/components/PersonActivity.js +4 -4
  42. package/components/SharedViewer.js +5 -5
  43. package/components/SlashMenu.js +29 -29
  44. package/components/TeamRepositories.js +51 -51
  45. package/components/TeamWorkflow.js +6 -6
  46. package/components/UnlinkedMentions.js +20 -20
  47. package/components/Updates.js +3 -3
  48. package/components/Widgets.js +20 -20
  49. package/components/columns.js +17 -17
  50. package/components/editorPlugins.js +80 -80
  51. package/components/mathDiagrams.js +17 -17
  52. package/lib/boardMove.js +5 -5
  53. package/lib/issueList.js +58 -58
  54. package/lib/issueMenu.js +27 -27
  55. package/lib/knowledge.js +106 -106
  56. package/lib/views.js +9 -9
  57. package/package.json +1 -1
  58. package/pages/area.js +291 -0
  59. package/pages/areas.js +258 -287
  60. package/pages/decisions.js +21 -21
  61. package/pages/issues.js +52 -52
  62. package/pages/projects.js +125 -125
  63. package/pages/triage.js +12 -12
  64. package/routeTree.gen.js +186 -180
  65. package/routes/_workspace/agents/_slug2.js +11 -11
  66. package/routes/_workspace/agents/index2.js +10 -10
  67. package/routes/_workspace/areas/_area.js +7 -8
  68. package/routes/_workspace/areas/_area2.js +3 -290
  69. package/routes/_workspace/areas/_area3.js +7 -8
  70. package/routes/_workspace/docs/_doc2.js +230 -230
  71. package/routes/_workspace/docs/space2._space.js +27 -27
  72. package/routes/_workspace/issues/_identifier2.js +222 -224
  73. package/routes/_workspace/knowledge/_term2.js +43 -43
  74. package/routes/_workspace/knowledge/index.js +6 -6
  75. package/routes/_workspace/knowledge/index2.js +15 -15
  76. package/routes/_workspace/measures3.js +70 -72
  77. package/routes/_workspace/notifications2.js +150 -150
  78. package/routes/_workspace/people/_username2.js +10 -10
  79. package/routes/_workspace/projects/_projectId3.js +276 -276
  80. package/routes/_workspace/settings/audit-log3.js +136 -138
  81. package/routes/_workspace/settings/fields2.js +11 -11
  82. package/routes/_workspace/settings/github2.js +6 -6
  83. package/routes/_workspace/settings/groups2.js +26 -26
  84. package/routes/_workspace/settings/import2.js +398 -147
  85. package/routes/_workspace/settings/import3.js +7 -3
  86. package/routes/_workspace/settings/index2.js +6 -6
  87. package/routes/_workspace/settings/labels2.js +21 -21
  88. package/routes/_workspace/settings/members2.js +27 -27
  89. package/routes/_workspace/settings/notifications2.js +8 -8
  90. package/routes/_workspace/settings/parallelworks2.js +32 -32
  91. package/routes/_workspace/settings/roles2.js +24 -24
  92. package/routes/_workspace/settings/runners2.js +15 -15
  93. package/routes/_workspace/settings/sessions2.js +17 -17
  94. package/routes/_workspace/settings/slack2.js +7 -7
  95. package/routes/_workspace/settings/sso2.js +31 -31
  96. package/routes/_workspace/settings/teams2.js +25 -25
  97. package/routes/_workspace/settings/tokens2.js +12 -12
  98. package/routes/_workspace/settings/webhooks2.js +13 -13
  99. package/routes/_workspace/teams/_key/areas/_area.js +8 -0
  100. package/routes/_workspace/teams/_key/areas/_area2.js +4 -0
  101. package/routes/_workspace/teams/_key/areas/_area3.js +9 -0
  102. package/routes/_workspace/teams/_key/areas/index.js +6 -0
  103. package/routes/_workspace/teams/_key/areas/index2.js +4 -0
  104. package/routes/_workspace/teams/_key/{areas3.js → areas/index3.js} +2 -2
  105. package/routes/_workspace/teams/_key/cycles/_number2.js +27 -27
  106. package/routes/_workspace/teams/_key/cycles/index2.js +24 -24
  107. package/routes/_workspace/teams/_key/settings2.js +29 -29
  108. package/routes/_workspace2.js +368 -368
  109. package/routes/_workspace/teams/_key/areas.js +0 -6
  110. package/routes/_workspace/teams/_key/areas2.js +0 -4
@@ -1,14 +1,14 @@
1
1
  import { api as e, unwrap as t } from "../api/client.js";
2
2
  import { Link as n, useNavigate as r } from "../lib/router.js";
3
3
  import { docQuery as i, docsQuery as a, knowledgeQuery as o, membersQuery as s, teamsQuery as c } from "../api/queries.js";
4
- import { FileTextIcon as l } from "./icons.js";
5
- import { termRef as u } from "../lib/knowledgeKinds.js";
6
- import { docKey as d, docRef as f } from "../lib/docs.js";
7
- import { glossary as p, headingAnchor as m } from "../lib/glossary.js";
8
- import { DocIcon as h } from "./DocIcon.js";
9
- import { docLooks as g } from "../lib/docLooks.js";
10
- import { issueRefs as _ } from "../lib/issueRefs.js";
11
- import { useTermRefs as v } from "../lib/knowledge.js";
4
+ import { docKey as l, docRef as u } from "../lib/docs.js";
5
+ import { FileTextIcon as d } from "./icons.js";
6
+ import { glossary as f, headingAnchor as p } from "../lib/glossary.js";
7
+ import { termRef as m } from "../lib/knowledgeKinds.js";
8
+ import { useTermRefs as h } from "../lib/knowledge.js";
9
+ import { DocIcon as g } from "./DocIcon.js";
10
+ import { docLooks as _ } from "../lib/docLooks.js";
11
+ import { issueRefs as v } from "../lib/issueRefs.js";
12
12
  import { mentionable as y } from "../lib/mentions.js";
13
13
  import { teamNames as b } from "../lib/teamNames.js";
14
14
  import { termCaretEvent as x } from "./editorPlugins.js";
@@ -43,27 +43,27 @@ function R(e) {
43
43
  return r?.[1] ? {
44
44
  kind: "doc",
45
45
  el: t,
46
- key: d(r[1])
46
+ key: l(r[1])
47
47
  } : null;
48
48
  }
49
49
  function z({ workspace: n }) {
50
- let [i, l] = O(null), d = D(null), f = D(void 0), { data: m } = N(o(n)), h = r(), v = D((e) => {});
51
- v.current = (e) => {
52
- let t = m?.find((t) => t.id === e);
50
+ let [i, l] = O(null), u = D(null), d = D(void 0), { data: p } = N(o(n)), h = r(), g = D((e) => {});
51
+ g.current = (e) => {
52
+ let t = p?.find((t) => t.id === e);
53
53
  h({
54
54
  to: "/$workspace/knowledge/$term",
55
55
  params: {
56
56
  workspace: n,
57
- term: t ? u(t) : e
57
+ term: t ? m(t) : e
58
58
  }
59
59
  });
60
60
  }, E(() => {
61
- p.set(m ?? []);
62
- }, [m]), E(() => () => p.set([]), []);
61
+ f.set(p ?? []);
62
+ }, [p]), E(() => () => f.set([]), []);
63
63
  let { data: w } = N(a(n));
64
64
  E(() => {
65
- g.set(w ?? []);
66
- }, [w]), E(() => () => g.set([]), []);
65
+ _.set(w ?? []);
66
+ }, [w]), E(() => () => _.set([]), []);
67
67
  let { data: T } = N(s(n));
68
68
  E(() => {
69
69
  y.set((T ?? []).map((e) => e.user.username));
@@ -74,7 +74,7 @@ function z({ workspace: n }) {
74
74
  }, [k]), E(() => () => b.set([]), []);
75
75
  let A = P();
76
76
  E(() => {
77
- _.set(n, async (r) => {
77
+ v.set(n, async (r) => {
78
78
  let { issues: i } = t(await e.POST("/api/v1/workspaces/{workspace}/issue-refs", {
79
79
  params: { path: { workspace: n } },
80
80
  body: { identifiers: r }
@@ -82,10 +82,10 @@ function z({ workspace: n }) {
82
82
  return new Map(i.map((e) => [e.identifier, e.issue]));
83
83
  });
84
84
  let r, i = A.getQueryCache().subscribe((e) => {
85
- e.type === "updated" && e.query.queryKey[2] === "issues" && (clearTimeout(r), r = setTimeout(() => _.refresh(), 1e3));
85
+ e.type === "updated" && e.query.queryKey[2] === "issues" && (clearTimeout(r), r = setTimeout(() => v.refresh(), 1e3));
86
86
  });
87
87
  return () => {
88
- clearTimeout(r), i(), _.set("", void 0);
88
+ clearTimeout(r), i(), v.set("", void 0);
89
89
  };
90
90
  }, [n, A]);
91
91
  let M = D((e) => {});
@@ -105,17 +105,17 @@ function z({ workspace: n }) {
105
105
  }
106
106
  }), E(() => {
107
107
  let e = (e, t) => {
108
- clearTimeout(f.current), f.current = setTimeout(e, t);
108
+ clearTimeout(d.current), d.current = setTimeout(e, t);
109
109
  }, t = (t) => {
110
110
  if (t.pointerType === "touch") return;
111
111
  let n = R(t.target);
112
112
  n && e(() => l(n), I);
113
113
  }, n = (t) => {
114
114
  let n = t.relatedTarget;
115
- n && d.current?.contains(n) || R(t.target) && e(() => l(null), L);
115
+ n && u.current?.contains(n) || R(t.target) && e(() => l(null), L);
116
116
  }, r = (e) => {
117
117
  let t = R(e.target);
118
- t && (clearTimeout(f.current), l(t));
118
+ t && (clearTimeout(d.current), l(t));
119
119
  }, i = (e) => {
120
120
  e.target.matches?.(".kb-term[tabindex], .prose-issue a[href*=\"/docs/\"]") && r(e);
121
121
  }, a = (e) => {
@@ -132,18 +132,18 @@ function z({ workspace: n }) {
132
132
  let o = e.target.closest?.(".kb-term");
133
133
  if (!o) return;
134
134
  let s = o.dataset.term;
135
- s && (!o.closest("[contenteditable=\"true\"]") || e.metaKey || e.ctrlKey) ? (e.preventDefault(), l(null), v.current(s)) : r(e);
135
+ s && (!o.closest("[contenteditable=\"true\"]") || e.metaKey || e.ctrlKey) ? (e.preventDefault(), l(null), g.current(s)) : r(e);
136
136
  }, o = (e) => {
137
- e.key === "Escape" && d.current?.isConnected && (e.stopPropagation(), e.preventDefault(), l((e) => (e?.el.tabIndex === 0 && e.el.focus(), null)));
137
+ e.key === "Escape" && u.current?.isConnected && (e.stopPropagation(), e.preventDefault(), l((e) => (e?.el.tabIndex === 0 && e.el.focus(), null)));
138
138
  };
139
139
  return document.addEventListener("pointerover", t), document.addEventListener("pointerout", n), document.addEventListener("focusin", i), document.addEventListener("click", a), document.addEventListener(x, r), document.addEventListener("keydown", o, !0), () => {
140
- clearTimeout(f.current), document.removeEventListener("pointerover", t), document.removeEventListener("pointerout", n), document.removeEventListener("focusin", i), document.removeEventListener("click", a), document.removeEventListener(x, r), document.removeEventListener("keydown", o, !0);
140
+ clearTimeout(d.current), document.removeEventListener("pointerover", t), document.removeEventListener("pointerout", n), document.removeEventListener("focusin", i), document.removeEventListener("click", a), document.removeEventListener(x, r), document.removeEventListener("keydown", o, !0);
141
141
  };
142
142
  }, []), E(() => {
143
143
  if (!i) return;
144
144
  let e = (e) => {
145
145
  let t = e.target;
146
- !d.current?.contains(t) && !i.el.contains(t) && l(null);
146
+ !u.current?.contains(t) && !i.el.contains(t) && l(null);
147
147
  };
148
148
  return document.addEventListener("pointerdown", e), () => document.removeEventListener("pointerdown", e);
149
149
  }, [i]);
@@ -154,18 +154,18 @@ function z({ workspace: n }) {
154
154
  onOpenChange: (e) => {
155
155
  e || l(null);
156
156
  },
157
- onPointerEnter: () => clearTimeout(f.current),
157
+ onPointerEnter: () => clearTimeout(d.current),
158
158
  onPointerLeave: () => {
159
- clearTimeout(f.current), f.current = setTimeout(() => l(null), L);
159
+ clearTimeout(d.current), d.current = setTimeout(() => l(null), L);
160
160
  },
161
161
  card: z && /* @__PURE__ */ j("div", {
162
- ref: d,
162
+ ref: u,
163
163
  role: "dialog",
164
164
  "aria-label": z.kind === "doc" ? z.key : z.kind === "person" ? z.username : void 0,
165
165
  className: z.kind === "person" ? "" : "w-80 max-w-[calc(100vw-16px)] p-3 text-sm",
166
166
  children: z.kind === "term" ? /* @__PURE__ */ j(H, {
167
167
  workspace: n,
168
- entry: m?.find((e) => e.id === z.id)
168
+ entry: p?.find((e) => e.id === z.id)
169
169
  }) : z.kind === "person" ? /* @__PURE__ */ j(S, {
170
170
  workspace: n,
171
171
  handle: z.username
@@ -193,7 +193,7 @@ function V({ status: e }) {
193
193
  });
194
194
  }
195
195
  function H({ workspace: e, entry: t }) {
196
- let r = k("knowledge"), i = v(e);
196
+ let r = k("knowledge"), i = h(e);
197
197
  if (!t) return /* @__PURE__ */ j("p", {
198
198
  className: "text-muted-foreground",
199
199
  children: r("gone")
@@ -207,7 +207,7 @@ function H({ workspace: e, entry: t }) {
207
207
  to: "/$workspace/knowledge/$term",
208
208
  params: {
209
209
  workspace: e,
210
- term: u(t)
210
+ term: m(t)
211
211
  },
212
212
  className: "font-semibold hover:underline",
213
213
  children: t.name
@@ -244,11 +244,11 @@ function H({ workspace: e, entry: t }) {
244
244
  to: "/$workspace/docs/$doc",
245
245
  params: {
246
246
  workspace: e,
247
- doc: f(a)
247
+ doc: u(a)
248
248
  },
249
- ...t.source.section && { hash: m(t.source.section) },
249
+ ...t.source.section && { hash: p(t.source.section) },
250
250
  className: "inline-flex items-center gap-1 hover:text-foreground",
251
- children: [/* @__PURE__ */ j(l, { className: "size-3" }), t.source.section ? r("sourceSection", {
251
+ children: [/* @__PURE__ */ j(d, { className: "size-3" }), t.source.section ? r("sourceSection", {
252
252
  doc: a.title,
253
253
  section: t.source.section
254
254
  }) : a.title]
@@ -266,7 +266,7 @@ function H({ workspace: e, entry: t }) {
266
266
  to: "/$workspace/knowledge/$term",
267
267
  params: {
268
268
  workspace: e,
269
- term: u(t)
269
+ term: m(t)
270
270
  },
271
271
  className: "mt-2 block text-xs text-primary hover:underline",
272
272
  children: r("openEntry")
@@ -286,7 +286,7 @@ function W({ workspace: e, docKey: t }) {
286
286
  children: n("unavailable")
287
287
  }) : r ? /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M("p", {
288
288
  className: "flex items-center gap-2 font-semibold",
289
- children: [/* @__PURE__ */ j(h, {
289
+ children: [/* @__PURE__ */ j(g, {
290
290
  icon: r.icon,
291
291
  className: "size-3.5",
292
292
  emojiClassName: "text-xs"
@@ -1,7 +1,7 @@
1
1
  import { Link as e } from "../lib/router.js";
2
2
  import { PriorityIcon as t, ProjectIcon as n } from "./icons.js";
3
- import { TypeIcon as r } from "./IssueTypes.js";
4
- import { usePeople as i } from "../lib/people.js";
3
+ import { usePeople as r } from "../lib/people.js";
4
+ import { TypeIcon as i } from "./IssueTypes.js";
5
5
  import { Avatar as a } from "@parallelworks/ui";
6
6
  import { useState as o } from "react";
7
7
  import { useTranslations as s } from "use-intl";
@@ -58,7 +58,7 @@ function u({ workspace: e, columns: t, onMove: n, onContextMenu: r }) {
58
58
  });
59
59
  }
60
60
  function d({ workspace: o, issue: s, draggable: u, onDragStart: d, onDragEnd: f, onContextMenu: p }) {
61
- let { nameOf: m, avatarOf: h } = i(o), g = s.assignees[0];
61
+ let { nameOf: m, avatarOf: h } = r(o), g = s.assignees[0];
62
62
  return /* @__PURE__ */ c("li", { children: /* @__PURE__ */ l(e, {
63
63
  to: "/$workspace/issues/$identifier",
64
64
  params: {
@@ -77,7 +77,7 @@ function d({ workspace: o, issue: s, draggable: u, onDragStart: d, onDragEnd: f,
77
77
  className: "flex items-center gap-2 text-xs text-muted-foreground",
78
78
  children: [
79
79
  /* @__PURE__ */ c(t, { priority: s.priority }),
80
- s.type && /* @__PURE__ */ c(r, {
80
+ s.type && /* @__PURE__ */ c(i, {
81
81
  type: s.type,
82
82
  className: "size-3.5"
83
83
  }),
@@ -1,10 +1,10 @@
1
1
  import { api as e, unwrap as t } from "../api/client.js";
2
2
  import { branchName as n } from "../lib/branch.js";
3
3
  import { branchesQuery as r, pullRequestsQuery as i, repositoriesQuery as a } from "../api/queries.js";
4
- import { BranchIcon as o, CloseIcon as s, PullRequestIcon as c } from "./icons.js";
5
- import { copyItem as l } from "../lib/menus.js";
6
- import { useCan as u } from "../lib/roles.js";
7
- import { externalUrl as d } from "../lib/externalUrl.js";
4
+ import { copyItem as o } from "../lib/menus.js";
5
+ import { externalUrl as s } from "../lib/externalUrl.js";
6
+ import { BranchIcon as c, CloseIcon as l, PullRequestIcon as u } from "./icons.js";
7
+ import { useCan as d } from "../lib/roles.js";
8
8
  import { Card as f, CopyButton as p, IconButton as m, useOpenMenu as h } from "@parallelworks/ui";
9
9
  import { useTranslations as g } from "use-intl";
10
10
  import { jsx as _, jsxs as v } from "react/jsx-runtime";
@@ -21,7 +21,7 @@ var C = {
21
21
  failing: "text-danger"
22
22
  }, T = (e) => e.state === "open" && e.draft ? "draft" : e.state;
23
23
  function E({ workspace: E, identifier: D, title: O }) {
24
- let k = g("code"), A = g("common"), { data: j } = S(i(E, D)), { data: M } = S(r(E, D)), N = h(), P = new Set(j.map((e) => `${e.repository} ${e.headRef}`)), F = M.filter((e) => !P.has(`${e.repository} ${e.name}`)), I = D.slice(0, D.lastIndexOf("-")), { data: L = [] } = b(a(E, I)), R = u(E, "edit_issues"), z = x(), B = y({
24
+ let k = g("code"), A = g("common"), { data: j } = S(i(E, D)), { data: M } = S(r(E, D)), N = h(), P = new Set(j.map((e) => `${e.repository} ${e.headRef}`)), F = M.filter((e) => !P.has(`${e.repository} ${e.name}`)), I = D.slice(0, D.lastIndexOf("-")), { data: L = [] } = b(a(E, I)), R = d(E, "edit_issues"), z = x(), B = y({
25
25
  mutationFn: async (n) => t(await e.DELETE("/api/v1/workspaces/{workspace}/issues/{identifier}/pull-requests/{pullRequestId}", { params: { path: {
26
26
  workspace: E,
27
27
  identifier: D,
@@ -43,7 +43,7 @@ function E({ workspace: E, identifier: D, title: O }) {
43
43
  }), /* @__PURE__ */ v("div", {
44
44
  className: "mt-1 flex items-start gap-3 rounded-xl border border-dashed border-border px-3 py-2",
45
45
  children: [
46
- /* @__PURE__ */ _(o, { className: "mt-0.5 size-4 shrink-0 text-muted-foreground" }),
46
+ /* @__PURE__ */ _(c, { className: "mt-0.5 size-4 shrink-0 text-muted-foreground" }),
47
47
  /* @__PURE__ */ v("div", {
48
48
  className: "min-w-0 flex-1",
49
49
  children: [/* @__PURE__ */ _("p", {
@@ -87,7 +87,7 @@ function E({ workspace: E, identifier: D, title: O }) {
87
87
  render: /* @__PURE__ */ _("ul", {}),
88
88
  className: "mt-1",
89
89
  children: [j.map((e) => {
90
- let t = T(e), n = d(e.url);
90
+ let t = T(e), n = s(e.url);
91
91
  return /* @__PURE__ */ v("li", {
92
92
  className: "group flex items-center hover:bg-muted",
93
93
  children: [/* @__PURE__ */ v("a", {
@@ -96,8 +96,8 @@ function E({ workspace: E, identifier: D, title: O }) {
96
96
  rel: "noopener noreferrer",
97
97
  onContextMenu: (t) => N(t, [
98
98
  V(n),
99
- l(A("copyLink"), e.url),
100
- l(k("copyBranch"), e.headRef),
99
+ o(A("copyLink"), e.url),
100
+ o(k("copyBranch"), e.headRef),
101
101
  ...R ? [{
102
102
  label: k("unlinkPullRequest"),
103
103
  onClick: () => B.mutate(e.id)
@@ -105,7 +105,7 @@ function E({ workspace: E, identifier: D, title: O }) {
105
105
  ]),
106
106
  className: "flex min-w-0 flex-1 flex-wrap items-center gap-x-3 gap-y-1 px-3 py-2 text-sm",
107
107
  children: [
108
- /* @__PURE__ */ _(c, { className: `size-4 ${C[t]}` }),
108
+ /* @__PURE__ */ _(u, { className: `size-4 ${C[t]}` }),
109
109
  /* @__PURE__ */ v("span", {
110
110
  className: "min-w-0 flex-1 truncate",
111
111
  children: [
@@ -139,7 +139,7 @@ function E({ workspace: E, identifier: D, title: O }) {
139
139
  })
140
140
  ]
141
141
  }), R && /* @__PURE__ */ _(m, {
142
- icon: /* @__PURE__ */ _(s, {}),
142
+ icon: /* @__PURE__ */ _(l, {}),
143
143
  label: k("unlinkPullRequest"),
144
144
  variant: "ghost",
145
145
  size: "sm",
@@ -149,15 +149,15 @@ function E({ workspace: E, identifier: D, title: O }) {
149
149
  })]
150
150
  }, `${e.repository}#${e.number}`);
151
151
  }), F.map((e) => {
152
- let t = d(e.url);
152
+ let t = s(e.url);
153
153
  return /* @__PURE__ */ _("li", { children: /* @__PURE__ */ v("a", {
154
154
  href: t,
155
155
  target: "_blank",
156
156
  rel: "noopener noreferrer",
157
- onContextMenu: (n) => N(n, [V(t), l(k("copyBranch"), e.name)]),
157
+ onContextMenu: (n) => N(n, [V(t), o(k("copyBranch"), e.name)]),
158
158
  className: "flex items-center gap-3 px-3 py-2 text-sm hover:bg-muted",
159
159
  children: [
160
- /* @__PURE__ */ _(o, { className: "size-4 text-muted-foreground" }),
160
+ /* @__PURE__ */ _(c, { className: "size-4 text-muted-foreground" }),
161
161
  /* @__PURE__ */ _("span", {
162
162
  className: "min-w-0 flex-1 truncate font-mono text-xs",
163
163
  children: e.name
@@ -1,6 +1,6 @@
1
1
  import { StatusIcon as e, usePriorityNames as t } from "./icons.js";
2
- import { useTime as n } from "../lib/time.js";
3
- import { usePeople as r } from "../lib/people.js";
2
+ import { usePeople as n } from "../lib/people.js";
3
+ import { useTime as r } from "../lib/time.js";
4
4
  import { useMoney as i } from "./AgentWork.js";
5
5
  import { TimelineItem as a, activityIcon as o } from "./ActivityTimeline.js";
6
6
  import { useFormatter as s, useTranslations as c } from "use-intl";
@@ -13,7 +13,7 @@ function d(e) {
13
13
  return e.type === "related" ? "related" : e.type === "blocks" ? e.outgoing ? "blocks" : "blockedBy" : e.outgoing ? "duplicates" : "duplicatedBy";
14
14
  }
15
15
  function f({ workspace: f, event: p }) {
16
- let m = c("relations"), h = c("flow"), g = c("issue.events"), _ = s(), v = i(), y = t(), b = n(), { nameOf: x, actorName: S } = r(f), C = p.data, w = () => x(String(C.kind), String(C.handle)), T = (t, n = {}) => g.rich(t, {
16
+ let m = c("relations"), h = c("flow"), g = c("issue.events"), _ = s(), v = i(), y = t(), b = r(), { nameOf: x, actorName: S } = n(f), C = p.data, w = () => x(String(C.kind), String(C.handle)), T = (t, n = {}) => g.rich(t, {
17
17
  ...n,
18
18
  name: S(p.actor),
19
19
  actor: (e) => /* @__PURE__ */ l("span", {