@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.
- package/_virtual/_virtual_i18n/en/common.js +32 -3
- package/_virtual/_virtual_i18n/es/common.js +32 -3
- package/_virtual/_virtual_i18n/ja/common.js +32 -3
- package/_virtual/_virtual_i18n/ko/common.js +32 -3
- package/_virtual/_virtual_i18n/zh/common.js +32 -3
- package/api/queries.js +88 -77
- package/components/AccessGrants.js +6 -6
- package/components/ActivityTimeline.js +4 -4
- package/components/AgentWork.js +111 -111
- package/components/AreaLink.js +32 -0
- package/components/AreaTiles.js +10 -13
- package/components/AreaWork.js +25 -1
- package/components/BugRotation.js +3 -3
- package/components/CodeHostSettings.js +30 -30
- package/components/CommandPalette.js +53 -53
- package/components/CustomFields.js +116 -116
- package/components/DateChip.js +11 -11
- package/components/DocButton.js +6 -6
- package/components/DocHistory.js +4 -4
- package/components/DocLinkPicker.js +8 -8
- package/components/DocProperties.js +15 -15
- package/components/DocTable.js +15 -15
- package/components/DocsTree.js +80 -80
- package/components/Editor.js +35 -35
- package/components/FavoritesNav.js +53 -53
- package/components/GitHub.js +18 -18
- package/components/Graph.js +15 -15
- package/components/HostActions.js +21 -21
- package/components/HostPanel.js +6 -6
- package/components/HoverCards.js +38 -38
- package/components/IssueBoard.js +4 -4
- package/components/IssueCode.js +14 -14
- package/components/IssueEvent.js +3 -3
- package/components/IssueFilters.js +71 -71
- package/components/IssueListBlock.js +32 -32
- package/components/IssueRow.js +21 -21
- package/components/IssueTemplates.js +118 -118
- package/components/IssueTypes.js +40 -40
- package/components/NewIssueDialog.js +76 -76
- package/components/NewProjectDialog.js +145 -145
- package/components/PersonActivity.js +4 -4
- package/components/SharedViewer.js +5 -5
- package/components/SlashMenu.js +29 -29
- package/components/TeamRepositories.js +51 -51
- package/components/TeamWorkflow.js +6 -6
- package/components/UnlinkedMentions.js +20 -20
- package/components/Updates.js +3 -3
- package/components/Widgets.js +20 -20
- package/components/columns.js +17 -17
- package/components/editorPlugins.js +80 -80
- package/components/mathDiagrams.js +17 -17
- package/lib/boardMove.js +5 -5
- package/lib/issueList.js +58 -58
- package/lib/issueMenu.js +27 -27
- package/lib/knowledge.js +106 -106
- package/lib/views.js +9 -9
- package/package.json +1 -1
- package/pages/area.js +291 -0
- package/pages/areas.js +258 -287
- package/pages/decisions.js +21 -21
- package/pages/issues.js +52 -52
- package/pages/projects.js +125 -125
- package/pages/triage.js +12 -12
- package/routeTree.gen.js +186 -180
- package/routes/_workspace/agents/_slug2.js +11 -11
- package/routes/_workspace/agents/index2.js +10 -10
- package/routes/_workspace/areas/_area.js +7 -8
- package/routes/_workspace/areas/_area2.js +3 -290
- package/routes/_workspace/areas/_area3.js +7 -8
- package/routes/_workspace/docs/_doc2.js +230 -230
- package/routes/_workspace/docs/space2._space.js +27 -27
- package/routes/_workspace/issues/_identifier2.js +222 -224
- package/routes/_workspace/knowledge/_term2.js +43 -43
- package/routes/_workspace/knowledge/index.js +6 -6
- package/routes/_workspace/knowledge/index2.js +15 -15
- package/routes/_workspace/measures3.js +70 -72
- package/routes/_workspace/notifications2.js +150 -150
- package/routes/_workspace/people/_username2.js +10 -10
- package/routes/_workspace/projects/_projectId3.js +276 -276
- package/routes/_workspace/settings/audit-log3.js +136 -138
- package/routes/_workspace/settings/fields2.js +11 -11
- package/routes/_workspace/settings/github2.js +6 -6
- package/routes/_workspace/settings/groups2.js +26 -26
- package/routes/_workspace/settings/import2.js +398 -147
- package/routes/_workspace/settings/import3.js +7 -3
- package/routes/_workspace/settings/index2.js +6 -6
- package/routes/_workspace/settings/labels2.js +21 -21
- package/routes/_workspace/settings/members2.js +27 -27
- package/routes/_workspace/settings/notifications2.js +8 -8
- package/routes/_workspace/settings/parallelworks2.js +32 -32
- package/routes/_workspace/settings/roles2.js +24 -24
- package/routes/_workspace/settings/runners2.js +15 -15
- package/routes/_workspace/settings/sessions2.js +17 -17
- package/routes/_workspace/settings/slack2.js +7 -7
- package/routes/_workspace/settings/sso2.js +31 -31
- package/routes/_workspace/settings/teams2.js +25 -25
- package/routes/_workspace/settings/tokens2.js +12 -12
- package/routes/_workspace/settings/webhooks2.js +13 -13
- package/routes/_workspace/teams/_key/areas/_area.js +8 -0
- package/routes/_workspace/teams/_key/areas/_area2.js +4 -0
- package/routes/_workspace/teams/_key/areas/_area3.js +9 -0
- package/routes/_workspace/teams/_key/areas/index.js +6 -0
- package/routes/_workspace/teams/_key/areas/index2.js +4 -0
- package/routes/_workspace/teams/_key/{areas3.js → areas/index3.js} +2 -2
- package/routes/_workspace/teams/_key/cycles/_number2.js +27 -27
- package/routes/_workspace/teams/_key/cycles/index2.js +24 -24
- package/routes/_workspace/teams/_key/settings2.js +29 -29
- package/routes/_workspace2.js +368 -368
- package/routes/_workspace/teams/_key/areas.js +0 -6
- package/routes/_workspace/teams/_key/areas2.js +0 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { usePageTitle as e } from "../../../lib/pageTitle.js";
|
|
2
2
|
import { teamsQuery as t, workspaceQuery as n } from "../../../api/queries.js";
|
|
3
3
|
import { BoardIcon as r, ListViewIcon as i } from "../../../components/icons.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { usePeople as a } from "../../../lib/people.js";
|
|
5
|
+
import { docPropertiesQuery as o, docViewsQuery as s, readConfig as c, useDocPropertyActions as l } from "../../../lib/docProperties.js";
|
|
6
|
+
import { DocTable as u, groupable as d } from "../../../components/DocTable.js";
|
|
7
|
+
import { Route as f } from "./space._space.js";
|
|
8
8
|
import { Breadcrumbs as p, Button as m, ErrorText as h, Input as g, Popover as _, SegmentedControl as v, Select as y, useClosePopover as b } from "@parallelworks/ui";
|
|
9
9
|
import { useNavigate as x } from "@tanstack/react-router";
|
|
10
10
|
import { useEffect as S, useState as C } from "react";
|
|
@@ -14,7 +14,7 @@ import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
|
14
14
|
import { useQuery as O, useSuspenseQuery as k } from "@tanstack/react-query";
|
|
15
15
|
// src/routes/$workspace/docs/space.$space.tsx?tsr-split=component
|
|
16
16
|
function A() {
|
|
17
|
-
let
|
|
17
|
+
let a = T("docViews"), g = w(), { workspace: _, space: b } = f.useParams(), { view: A } = f.useSearch(), N = x(), P = (e) => N({
|
|
18
18
|
to: "/$workspace/docs/space/$space",
|
|
19
19
|
params: {
|
|
20
20
|
workspace: _,
|
|
@@ -22,19 +22,19 @@ function A() {
|
|
|
22
22
|
},
|
|
23
23
|
search: e ? { view: e } : {}
|
|
24
24
|
}), { data: F } = k(t(_)), { data: I } = k(n(_)), L = b === "workspace" ? I.name : F.find((e) => e.key === b)?.name ?? b;
|
|
25
|
-
e(
|
|
26
|
-
let { data: R = [] } = O(
|
|
25
|
+
e(a("title"), L);
|
|
26
|
+
let { data: R = [] } = O(o(_, b)), { data: z = [] } = O(s(_, b)), B = l(_), V = z.find((e) => e.id === A), [H, U] = C("table"), [W, G] = C({});
|
|
27
27
|
S(() => {
|
|
28
|
-
V && (U(V.layout), G(
|
|
28
|
+
V && (U(V.layout), G(c(V.config)));
|
|
29
29
|
}, [V]);
|
|
30
30
|
let K = (e) => G(e), q = [
|
|
31
31
|
{
|
|
32
32
|
value: "title",
|
|
33
|
-
label:
|
|
33
|
+
label: a("docTitle")
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
value: "updated",
|
|
37
|
-
label:
|
|
37
|
+
label: a("updated")
|
|
38
38
|
},
|
|
39
39
|
...R.map((e) => ({
|
|
40
40
|
value: e.id,
|
|
@@ -49,7 +49,7 @@ function A() {
|
|
|
49
49
|
children: [
|
|
50
50
|
/* @__PURE__ */ E(p, {
|
|
51
51
|
crumbs: [{
|
|
52
|
-
label:
|
|
52
|
+
label: a("docs"),
|
|
53
53
|
href: `/${_}/docs`
|
|
54
54
|
}, { label: L }],
|
|
55
55
|
className: "min-w-0 flex-1"
|
|
@@ -58,13 +58,13 @@ function A() {
|
|
|
58
58
|
value: A ?? "",
|
|
59
59
|
items: [{
|
|
60
60
|
value: "",
|
|
61
|
-
label:
|
|
61
|
+
label: a("unsaved")
|
|
62
62
|
}, ...z.map((e) => ({
|
|
63
63
|
value: e.id,
|
|
64
64
|
label: e.name
|
|
65
65
|
}))],
|
|
66
66
|
onValueChange: (e) => P(e || void 0),
|
|
67
|
-
"aria-label":
|
|
67
|
+
"aria-label": a("savedViews"),
|
|
68
68
|
size: "sm",
|
|
69
69
|
width: "content"
|
|
70
70
|
}),
|
|
@@ -76,7 +76,7 @@ function A() {
|
|
|
76
76
|
layout: H,
|
|
77
77
|
config: { ...W }
|
|
78
78
|
}),
|
|
79
|
-
children:
|
|
79
|
+
children: a("update")
|
|
80
80
|
}) : /* @__PURE__ */ E(M, {
|
|
81
81
|
onSave: async (e) => {
|
|
82
82
|
let t = await B.saveView.mutateAsync({
|
|
@@ -90,17 +90,17 @@ function A() {
|
|
|
90
90
|
pending: B.saveView.isPending
|
|
91
91
|
}),
|
|
92
92
|
/* @__PURE__ */ E(v, {
|
|
93
|
-
label:
|
|
93
|
+
label: a("layout"),
|
|
94
94
|
size: "sm",
|
|
95
95
|
value: H,
|
|
96
96
|
onValueChange: U,
|
|
97
97
|
options: [{
|
|
98
98
|
value: "table",
|
|
99
|
-
label:
|
|
99
|
+
label: a("table"),
|
|
100
100
|
icon: /* @__PURE__ */ E(i, {})
|
|
101
101
|
}, {
|
|
102
102
|
value: "board",
|
|
103
|
-
label:
|
|
103
|
+
label: a("board"),
|
|
104
104
|
icon: /* @__PURE__ */ E(r, {})
|
|
105
105
|
}]
|
|
106
106
|
})
|
|
@@ -113,8 +113,8 @@ function A() {
|
|
|
113
113
|
value: W.groupBy ?? "",
|
|
114
114
|
items: [{
|
|
115
115
|
value: "",
|
|
116
|
-
label:
|
|
117
|
-
}, ...R.filter(
|
|
116
|
+
label: a("groupBy")
|
|
117
|
+
}, ...R.filter(d).map((e) => ({
|
|
118
118
|
value: e.id,
|
|
119
119
|
label: e.name
|
|
120
120
|
}))],
|
|
@@ -122,7 +122,7 @@ function A() {
|
|
|
122
122
|
...W,
|
|
123
123
|
...e ? { groupBy: e } : { groupBy: void 0 }
|
|
124
124
|
}),
|
|
125
|
-
"aria-label":
|
|
125
|
+
"aria-label": a("groupBy"),
|
|
126
126
|
size: "sm",
|
|
127
127
|
width: "content"
|
|
128
128
|
}) : /* @__PURE__ */ E(y, {
|
|
@@ -136,8 +136,8 @@ function A() {
|
|
|
136
136
|
...W,
|
|
137
137
|
columns: e
|
|
138
138
|
}),
|
|
139
|
-
"aria-label":
|
|
140
|
-
placeholder:
|
|
139
|
+
"aria-label": a("columns"),
|
|
140
|
+
placeholder: a("columns"),
|
|
141
141
|
size: "sm",
|
|
142
142
|
width: "content"
|
|
143
143
|
}),
|
|
@@ -148,7 +148,7 @@ function A() {
|
|
|
148
148
|
...W,
|
|
149
149
|
sort: e
|
|
150
150
|
}),
|
|
151
|
-
"aria-label":
|
|
151
|
+
"aria-label": a("sortBy"),
|
|
152
152
|
size: "sm",
|
|
153
153
|
width: "content"
|
|
154
154
|
}),
|
|
@@ -159,7 +159,7 @@ function A() {
|
|
|
159
159
|
...W,
|
|
160
160
|
desc: !W.desc
|
|
161
161
|
}),
|
|
162
|
-
children: W.desc ?
|
|
162
|
+
children: W.desc ? a("descending") : a("ascending")
|
|
163
163
|
}),
|
|
164
164
|
R.map((e) => /* @__PURE__ */ E(j, {
|
|
165
165
|
workspace: _,
|
|
@@ -181,7 +181,7 @@ function A() {
|
|
|
181
181
|
}),
|
|
182
182
|
/* @__PURE__ */ E("div", {
|
|
183
183
|
className: "min-h-0 flex-1 overflow-y-auto",
|
|
184
|
-
children: /* @__PURE__ */ E(
|
|
184
|
+
children: /* @__PURE__ */ E(u, {
|
|
185
185
|
workspace: _,
|
|
186
186
|
space: b,
|
|
187
187
|
layout: H,
|
|
@@ -192,10 +192,10 @@ function A() {
|
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
194
|
function j({ workspace: e, property: t, value: n, onChange: r }) {
|
|
195
|
-
let i = T("docViews"), { members:
|
|
195
|
+
let i = T("docViews"), { members: o } = a(e), s = t.kind === "select" || t.kind === "multi_select" ? t.options.map((e) => ({
|
|
196
196
|
value: e.id ?? "",
|
|
197
197
|
label: e.name
|
|
198
|
-
})) : t.kind === "person" ?
|
|
198
|
+
})) : t.kind === "person" ? o.map((e) => ({
|
|
199
199
|
value: e.user.username,
|
|
200
200
|
label: e.user.name
|
|
201
201
|
})) : t.kind === "checkbox" ? [{
|