@parallelworks/tandem-web 0.174.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.
@@ -946,6 +946,7 @@ var e = {
946
946
  bodyChanged: "<actor>{name}</actor> edited the description",
947
947
  statusChanged: "<actor>{name}</actor> moved to <icon></icon> {status}",
948
948
  statusChangedByPullRequest: "Moved to <icon></icon> {status} by PR {ref}",
949
+ acceptedByPullRequest: "Accepted from triage and moved to <icon></icon> {status} by PR {ref}",
949
950
  autoClosed: "Closed after {days} days with no activity",
950
951
  archived: "Archived after it closed",
951
952
  priorityRemoved: "<actor>{name}</actor> removed the priority",
@@ -946,6 +946,7 @@ var e = {
946
946
  bodyChanged: "<actor>{name}</actor> editó la descripción",
947
947
  statusChanged: "<actor>{name}</actor> la movió a <icon></icon> {status}",
948
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}",
949
950
  autoClosed: "Cerrada tras {days} días sin actividad",
950
951
  archived: "Archivada después de cerrarse",
951
952
  priorityRemoved: "<actor>{name}</actor> quitó la prioridad",
@@ -946,6 +946,7 @@ var e = {
946
946
  bodyChanged: "<actor>{name}</actor> が説明を編集しました",
947
947
  statusChanged: "<actor>{name}</actor> が <icon></icon> {status} に移動しました",
948
948
  statusChangedByPullRequest: "PR {ref} により <icon></icon> {status} に移動しました",
949
+ acceptedByPullRequest: "PR {ref} によりトリアージから受け入れられ、<icon></icon> {status} に移動しました",
949
950
  autoClosed: "{days} 日間アクティビティがなかったためクローズされました",
950
951
  archived: "クローズ後にアーカイブされました",
951
952
  priorityRemoved: "<actor>{name}</actor> が優先度を削除しました",
@@ -946,6 +946,7 @@ var e = {
946
946
  bodyChanged: "<actor>{name}</actor>이(가) 설명을 편집함",
947
947
  statusChanged: "<actor>{name}</actor>이(가) <icon></icon> {status}(으)로 옮김",
948
948
  statusChangedByPullRequest: "PR {ref}에 의해 <icon></icon> {status}(으)로 옮겨짐",
949
+ acceptedByPullRequest: "PR {ref}에 의해 분류에서 수락되어 <icon></icon> {status}(으)로 옮겨짐",
949
950
  autoClosed: "{days}일 동안 활동이 없어 종료됨",
950
951
  archived: "종료 후 보관됨",
951
952
  priorityRemoved: "<actor>{name}</actor>이(가) 우선순위를 제거함",
@@ -946,6 +946,7 @@ var e = {
946
946
  bodyChanged: "<actor>{name}</actor> 编辑了描述",
947
947
  statusChanged: "<actor>{name}</actor> 移到了 <icon></icon> {status}",
948
948
  statusChangedByPullRequest: "由 PR {ref} 移到了 <icon></icon> {status}",
949
+ acceptedByPullRequest: "由 PR {ref} 从分诊中接受并移到了 <icon></icon> {status}",
949
950
  autoClosed: "{days} 天无活动后自动关闭",
950
951
  archived: "关闭后已归档",
951
952
  priorityRemoved: "<actor>{name}</actor> 移除了优先级",
@@ -71,7 +71,7 @@ function p({ workspace: p, event: m }) {
71
71
  if (w.reason === "inactive") return E("autoClosed", { days: String(w.days) });
72
72
  if (w.pullRequest) {
73
73
  let e = w.pullRequest;
74
- return E("statusChangedByPullRequest", {
74
+ return E(w.acceptedFromTriage ? "acceptedByPullRequest" : "statusChangedByPullRequest", {
75
75
  status: w.to.name,
76
76
  ref: `${e.provider === "gitlab" ? "!" : "#"}${e.number}`
77
77
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/tandem-web",
3
- "version": "0.174.0",
3
+ "version": "0.175.0",
4
4
  "description": "Tandem's pages, for a host app to render in its own",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -1070,7 +1070,7 @@ function Gt({ workspace: e, identifier: t }) {
1070
1070
  let n = G("issue.activity"), { data: r } = Q(c(e, t)), [i, a] = W(!1), o = At(() => {
1071
1071
  let e = [];
1072
1072
  for (let t of r) {
1073
- if (t.type.startsWith("comment.") || t.type.startsWith("issue.reaction_")) continue;
1073
+ if (t.type.startsWith("comment.") || t.type.startsWith("issue.reaction_") || t.type === "issue.triage_accepted" && t.data.pullRequest) continue;
1074
1074
  let n = e.at(-1);
1075
1075
  t.type === "issue.body_changed" && n?.type === "issue.body_changed" && n.actor.handle === t.actor.handle ? e[e.length - 1] = t : e.push(t);
1076
1076
  }