@parallelworks/tandem-web 0.173.0 → 0.175.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 +3 -0
- package/_virtual/_virtual_i18n/es/common.js +3 -0
- package/_virtual/_virtual_i18n/ja/common.js +3 -0
- package/_virtual/_virtual_i18n/ko/common.js +3 -0
- package/_virtual/_virtual_i18n/zh/common.js +3 -0
- package/components/ActivityTimeline.js +1 -0
- package/components/CommandPalette.js +1 -0
- package/components/DocLinkPicker.js +1 -0
- package/components/FavoritesNav.js +1 -0
- package/components/IssueEvent.js +2 -1
- package/components/IssueFilters.js +1 -0
- package/components/IssueGroup.js +24 -31
- package/components/IssueInsights.js +120 -117
- package/components/IssueRelations.js +2 -0
- package/components/IssueRow.js +1 -0
- package/components/NewIssueDialog.js +2 -0
- package/components/Reports.js +1 -0
- package/components/TeamWorkflow.js +1 -0
- package/components/editorPlugins.js +103 -102
- package/components/icons.js +24 -23
- package/lib/boardMove.js +63 -62
- package/lib/issueList.js +51 -57
- package/lib/issueMenu.js +2 -0
- package/lib/issuePicker.js +1 -0
- package/lib/pagedGroups.js +8 -0
- package/lib/statusGroup.js +14 -0
- package/package.json +1 -1
- package/pages/triage.js +2 -0
- package/routes/_workspace/docs/_doc2.js +2 -0
- package/routes/_workspace/issues/_identifier2.js +3 -1
- package/routes/_workspace/notifications2.js +2 -0
- package/styles.css +9 -0
|
@@ -831,6 +831,7 @@ var e = {
|
|
|
831
831
|
groups: {
|
|
832
832
|
triage: "Triage",
|
|
833
833
|
started: "In progress",
|
|
834
|
+
review: "In review",
|
|
834
835
|
unstarted: "To do",
|
|
835
836
|
backlog: "Backlog",
|
|
836
837
|
completed: "Done",
|
|
@@ -945,6 +946,7 @@ var e = {
|
|
|
945
946
|
bodyChanged: "<actor>{name}</actor> edited the description",
|
|
946
947
|
statusChanged: "<actor>{name}</actor> moved to <icon></icon> {status}",
|
|
947
948
|
statusChangedByPullRequest: "Moved to <icon></icon> {status} by PR {ref}",
|
|
949
|
+
acceptedByPullRequest: "Accepted from triage and moved to <icon></icon> {status} by PR {ref}",
|
|
948
950
|
autoClosed: "Closed after {days} days with no activity",
|
|
949
951
|
archived: "Archived after it closed",
|
|
950
952
|
priorityRemoved: "<actor>{name}</actor> removed the priority",
|
|
@@ -3494,6 +3496,7 @@ var e = {
|
|
|
3494
3496
|
backlog: "Backlog",
|
|
3495
3497
|
unstarted: "Todo",
|
|
3496
3498
|
started: "In progress",
|
|
3499
|
+
review: "In review",
|
|
3497
3500
|
completed: "Done",
|
|
3498
3501
|
canceled: "Canceled"
|
|
3499
3502
|
},
|
|
@@ -831,6 +831,7 @@ var e = {
|
|
|
831
831
|
groups: {
|
|
832
832
|
triage: "Triaje",
|
|
833
833
|
started: "En curso",
|
|
834
|
+
review: "En revisión",
|
|
834
835
|
unstarted: "Por hacer",
|
|
835
836
|
backlog: "Backlog",
|
|
836
837
|
completed: "Hechas",
|
|
@@ -945,6 +946,7 @@ var e = {
|
|
|
945
946
|
bodyChanged: "<actor>{name}</actor> editó la descripción",
|
|
946
947
|
statusChanged: "<actor>{name}</actor> la movió a <icon></icon> {status}",
|
|
947
948
|
statusChangedByPullRequest: "Movida a <icon></icon> {status} por el PR {ref}",
|
|
949
|
+
acceptedByPullRequest: "Aceptada desde triaje y movida a <icon></icon> {status} por el PR {ref}",
|
|
948
950
|
autoClosed: "Cerrada tras {days} días sin actividad",
|
|
949
951
|
archived: "Archivada después de cerrarse",
|
|
950
952
|
priorityRemoved: "<actor>{name}</actor> quitó la prioridad",
|
|
@@ -3494,6 +3496,7 @@ var e = {
|
|
|
3494
3496
|
backlog: "Pendientes",
|
|
3495
3497
|
unstarted: "Por hacer",
|
|
3496
3498
|
started: "En curso",
|
|
3499
|
+
review: "En revisión",
|
|
3497
3500
|
completed: "Hecho",
|
|
3498
3501
|
canceled: "Cancelado"
|
|
3499
3502
|
},
|
|
@@ -831,6 +831,7 @@ var e = {
|
|
|
831
831
|
groups: {
|
|
832
832
|
triage: "トリアージ",
|
|
833
833
|
started: "進行中",
|
|
834
|
+
review: "レビュー中",
|
|
834
835
|
unstarted: "未着手",
|
|
835
836
|
backlog: "バックログ",
|
|
836
837
|
completed: "完了",
|
|
@@ -945,6 +946,7 @@ var e = {
|
|
|
945
946
|
bodyChanged: "<actor>{name}</actor> が説明を編集しました",
|
|
946
947
|
statusChanged: "<actor>{name}</actor> が <icon></icon> {status} に移動しました",
|
|
947
948
|
statusChangedByPullRequest: "PR {ref} により <icon></icon> {status} に移動しました",
|
|
949
|
+
acceptedByPullRequest: "PR {ref} によりトリアージから受け入れられ、<icon></icon> {status} に移動しました",
|
|
948
950
|
autoClosed: "{days} 日間アクティビティがなかったためクローズされました",
|
|
949
951
|
archived: "クローズ後にアーカイブされました",
|
|
950
952
|
priorityRemoved: "<actor>{name}</actor> が優先度を削除しました",
|
|
@@ -3494,6 +3496,7 @@ var e = {
|
|
|
3494
3496
|
backlog: "バックログ",
|
|
3495
3497
|
unstarted: "未着手",
|
|
3496
3498
|
started: "進行中",
|
|
3499
|
+
review: "レビュー中",
|
|
3497
3500
|
completed: "完了",
|
|
3498
3501
|
canceled: "キャンセル"
|
|
3499
3502
|
},
|
|
@@ -831,6 +831,7 @@ var e = {
|
|
|
831
831
|
groups: {
|
|
832
832
|
triage: "트리아지",
|
|
833
833
|
started: "진행 중",
|
|
834
|
+
review: "리뷰 중",
|
|
834
835
|
unstarted: "할 일",
|
|
835
836
|
backlog: "백로그",
|
|
836
837
|
completed: "완료",
|
|
@@ -945,6 +946,7 @@ var e = {
|
|
|
945
946
|
bodyChanged: "<actor>{name}</actor>이(가) 설명을 편집함",
|
|
946
947
|
statusChanged: "<actor>{name}</actor>이(가) <icon></icon> {status}(으)로 옮김",
|
|
947
948
|
statusChangedByPullRequest: "PR {ref}에 의해 <icon></icon> {status}(으)로 옮겨짐",
|
|
949
|
+
acceptedByPullRequest: "PR {ref}에 의해 분류에서 수락되어 <icon></icon> {status}(으)로 옮겨짐",
|
|
948
950
|
autoClosed: "{days}일 동안 활동이 없어 종료됨",
|
|
949
951
|
archived: "종료 후 보관됨",
|
|
950
952
|
priorityRemoved: "<actor>{name}</actor>이(가) 우선순위를 제거함",
|
|
@@ -3494,6 +3496,7 @@ var e = {
|
|
|
3494
3496
|
backlog: "백로그",
|
|
3495
3497
|
unstarted: "할 일",
|
|
3496
3498
|
started: "진행 중",
|
|
3499
|
+
review: "리뷰 중",
|
|
3497
3500
|
completed: "완료",
|
|
3498
3501
|
canceled: "취소됨"
|
|
3499
3502
|
},
|
|
@@ -831,6 +831,7 @@ var e = {
|
|
|
831
831
|
groups: {
|
|
832
832
|
triage: "分诊",
|
|
833
833
|
started: "进行中",
|
|
834
|
+
review: "评审中",
|
|
834
835
|
unstarted: "待办",
|
|
835
836
|
backlog: "待规划",
|
|
836
837
|
completed: "已完成",
|
|
@@ -945,6 +946,7 @@ var e = {
|
|
|
945
946
|
bodyChanged: "<actor>{name}</actor> 编辑了描述",
|
|
946
947
|
statusChanged: "<actor>{name}</actor> 移到了 <icon></icon> {status}",
|
|
947
948
|
statusChangedByPullRequest: "由 PR {ref} 移到了 <icon></icon> {status}",
|
|
949
|
+
acceptedByPullRequest: "由 PR {ref} 从分诊中接受并移到了 <icon></icon> {status}",
|
|
948
950
|
autoClosed: "{days} 天无活动后自动关闭",
|
|
949
951
|
archived: "关闭后已归档",
|
|
950
952
|
priorityRemoved: "<actor>{name}</actor> 移除了优先级",
|
|
@@ -3494,6 +3496,7 @@ var e = {
|
|
|
3494
3496
|
backlog: "待办池",
|
|
3495
3497
|
unstarted: "待处理",
|
|
3496
3498
|
started: "进行中",
|
|
3499
|
+
review: "评审中",
|
|
3497
3500
|
completed: "已完成",
|
|
3498
3501
|
canceled: "已取消"
|
|
3499
3502
|
},
|
|
@@ -122,6 +122,7 @@ function E({ workspace: _, open: E, onClose: D, selection: O }) {
|
|
|
122
122
|
label: `${e.identifier} ${e.title}`,
|
|
123
123
|
icon: /* @__PURE__ */ x(xe, {
|
|
124
124
|
category: e.status.category,
|
|
125
|
+
review: e.status.review,
|
|
125
126
|
step: e.status.step
|
|
126
127
|
}),
|
|
127
128
|
run: X(`/${_}/issues/${e.identifier}`)
|
package/components/IssueEvent.js
CHANGED
|
@@ -29,6 +29,7 @@ function p({ workspace: p, event: m }) {
|
|
|
29
29
|
let e = w.to;
|
|
30
30
|
return /* @__PURE__ */ u(o, {
|
|
31
31
|
category: e.category,
|
|
32
|
+
review: e.review,
|
|
32
33
|
step: Number(e.step) || 0,
|
|
33
34
|
className: "inline align-[-2px]"
|
|
34
35
|
});
|
|
@@ -70,7 +71,7 @@ function p({ workspace: p, event: m }) {
|
|
|
70
71
|
if (w.reason === "inactive") return E("autoClosed", { days: String(w.days) });
|
|
71
72
|
if (w.pullRequest) {
|
|
72
73
|
let e = w.pullRequest;
|
|
73
|
-
return E("statusChangedByPullRequest", {
|
|
74
|
+
return E(w.acceptedFromTriage ? "acceptedByPullRequest" : "statusChangedByPullRequest", {
|
|
74
75
|
status: w.to.name,
|
|
75
76
|
ref: `${e.provider === "gitlab" ? "!" : "#"}${e.number}`
|
|
76
77
|
});
|
package/components/IssueGroup.js
CHANGED
|
@@ -1,45 +1,38 @@
|
|
|
1
1
|
import { teamsQuery as e } from "../api/queries.js";
|
|
2
2
|
import { useIssueMenu as t } from "../lib/issueMenu.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
3
|
+
import { statusGroup as n, statusGroupOrder as r } from "../lib/statusGroup.js";
|
|
4
|
+
import { IssueRow as i } from "./IssueRow.js";
|
|
5
|
+
import { IssueSection as a } from "./IssueSection.js";
|
|
6
|
+
import { StatusIcon as o } from "./icons.js";
|
|
7
|
+
import { useOpenMenu as s } from "@parallelworks/ui";
|
|
8
|
+
import { useTranslations as c } from "use-intl";
|
|
9
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
10
|
+
import { useQuery as u } from "@tanstack/react-query";
|
|
10
11
|
// src/components/IssueGroup.tsx
|
|
11
|
-
function
|
|
12
|
-
let { data: d = [] } =
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
label:
|
|
15
|
-
icon:
|
|
16
|
-
count:
|
|
17
|
-
children:
|
|
12
|
+
function d({ workspace: n, title: r, icon: o, issues: c }) {
|
|
13
|
+
let { data: d = [] } = u(e(n)), f = s(), p = t(n);
|
|
14
|
+
return /* @__PURE__ */ l(a, {
|
|
15
|
+
label: r,
|
|
16
|
+
icon: o,
|
|
17
|
+
count: c.length,
|
|
18
|
+
children: c.map((e) => /* @__PURE__ */ l(i, {
|
|
18
19
|
issue: e,
|
|
19
20
|
team: d.find((t) => t.id === e.teamId),
|
|
20
|
-
workspace:
|
|
21
|
+
workspace: n,
|
|
21
22
|
onContextMenu: (t) => f(t, p([e]))
|
|
22
23
|
}, e.id))
|
|
23
24
|
});
|
|
24
25
|
}
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"completed",
|
|
31
|
-
"canceled"
|
|
32
|
-
];
|
|
33
|
-
function d({ workspace: e, issues: t }) {
|
|
34
|
-
let n = o("issues.groups");
|
|
35
|
-
return u.map((r) => {
|
|
36
|
-
let a = t.filter((e) => e.status.category === r);
|
|
37
|
-
return a.length > 0 ? /* @__PURE__ */ s(l, {
|
|
26
|
+
function f({ workspace: e, issues: t }) {
|
|
27
|
+
let i = c("issues.groups");
|
|
28
|
+
return r.map((r) => {
|
|
29
|
+
let a = t.filter((e) => n(e.status) === r);
|
|
30
|
+
return a.length > 0 ? /* @__PURE__ */ l(d, {
|
|
38
31
|
workspace: e,
|
|
39
|
-
title:
|
|
40
|
-
icon: /* @__PURE__ */
|
|
32
|
+
title: i(r),
|
|
33
|
+
icon: /* @__PURE__ */ l(o, { category: r }),
|
|
41
34
|
issues: a
|
|
42
35
|
}, r) : null;
|
|
43
36
|
});
|
|
44
37
|
}
|
|
45
|
-
export {
|
|
38
|
+
export { d as IssueGroup, f as StatusGroups };
|