@parallelworks/tandem-web 0.164.1 → 0.165.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.
@@ -660,7 +660,8 @@ var e = {
660
660
  copyTitle: "Copy title",
661
661
  copyBranch: "Copy branch name",
662
662
  archive: "Archive",
663
- restore: "Restore"
663
+ restore: "Restore",
664
+ bulkFailed: "{count, plural, one {# issue wasn't changed} other {# issues weren't changed}}: {reason}"
664
665
  },
665
666
  issueTemplates: {
666
667
  title: "Issue templates",
@@ -885,7 +886,12 @@ var e = {
885
886
  select: "Select {identifier}",
886
887
  actions: "Actions",
887
888
  selectIssue: "Select issue",
888
- requestCount: "{count, plural, one {# customer asked for this} other {# customers asked for this}}"
889
+ requestCount: "{count, plural, one {# customer asked for this} other {# customers asked for this}}",
890
+ selectingAll: "Selecting all {count, number}…",
891
+ selectAllMatching: "Select all",
892
+ archiveTitle: "Archive {count, plural, one {this issue} other {# issues}}?",
893
+ archiveDescription: "Archived issues leave lists and boards. You can restore them from the archive.",
894
+ archiveConfirm: "Archive"
889
895
  },
890
896
  issueFilters: {
891
897
  team: "Team",
@@ -3902,6 +3908,35 @@ var e = {
3902
3908
  use: "Run agents here",
3903
3909
  useHelp: "Agents in this workspace run in pods on this cluster."
3904
3910
  },
3905
- video: { linkHint: "Link your GitHub account to play this video" }
3911
+ video: { linkHint: "Link your GitHub account to play this video" },
3912
+ shortcuts: {
3913
+ title: "Keyboard shortcuts",
3914
+ lists: "Lists",
3915
+ move: "Move down or up",
3916
+ open: "Open the highlighted issue",
3917
+ search: "Search the list",
3918
+ clear: "Clear the selection",
3919
+ selecting: "Selecting",
3920
+ pick: "Select the highlighted issue",
3921
+ pickRange: "Extend the selection down or up",
3922
+ pickTo: "Select up to the highlighted issue",
3923
+ pickAll: "Select every issue in the list",
3924
+ pickNone: "Clear the selection",
3925
+ pickClick: "Select or unselect a row",
3926
+ changing: "Changing the selection, or the highlighted issue",
3927
+ status: "Status",
3928
+ priority: "Priority",
3929
+ assignees: "Assignees",
3930
+ labels: "Labels",
3931
+ project: "Project",
3932
+ dueDate: "Due date",
3933
+ archive: "Archive",
3934
+ anywhere: "Anywhere",
3935
+ newIssue: "New issue",
3936
+ palette: "Command palette",
3937
+ find: "Find",
3938
+ submit: "Send or save what you're writing",
3939
+ sheet: "Show these shortcuts"
3940
+ }
3906
3941
  };
3907
3942
  export { e as default };
@@ -660,7 +660,8 @@ var e = {
660
660
  copyTitle: "Copiar título",
661
661
  copyBranch: "Copiar nombre de la rama",
662
662
  archive: "Archivar",
663
- restore: "Restaurar"
663
+ restore: "Restaurar",
664
+ bulkFailed: "{count, plural, one {# incidencia no cambió} other {# incidencias no cambiaron}}: {reason}"
664
665
  },
665
666
  issueTemplates: {
666
667
  title: "Plantillas de incidencias",
@@ -885,7 +886,12 @@ var e = {
885
886
  select: "Seleccionar {identifier}",
886
887
  actions: "Acciones",
887
888
  selectIssue: "Seleccionar incidencia",
888
- requestCount: "{count, plural, one {# cliente lo pidió} other {# clientes lo pidieron}}"
889
+ requestCount: "{count, plural, one {# cliente lo pidió} other {# clientes lo pidieron}}",
890
+ selectingAll: "Seleccionando las {count, number}…",
891
+ selectAllMatching: "Seleccionar todas",
892
+ archiveTitle: "¿Archivar {count, plural, one {esta incidencia} other {# incidencias}}?",
893
+ archiveDescription: "Las incidencias archivadas salen de las listas y los tableros. Puedes restaurarlas desde el archivo.",
894
+ archiveConfirm: "Archivar"
889
895
  },
890
896
  issueFilters: {
891
897
  team: "Equipo",
@@ -3902,6 +3908,35 @@ var e = {
3902
3908
  use: "Ejecutar agentes aquí",
3903
3909
  useHelp: "Los agentes de este espacio de trabajo se ejecutan en pods de este clúster."
3904
3910
  },
3905
- video: { linkHint: "Vincula tu cuenta de GitHub para reproducir este video" }
3911
+ video: { linkHint: "Vincula tu cuenta de GitHub para reproducir este video" },
3912
+ shortcuts: {
3913
+ title: "Atajos de teclado",
3914
+ lists: "Listas",
3915
+ move: "Bajar o subir",
3916
+ open: "Abrir la incidencia resaltada",
3917
+ search: "Buscar en la lista",
3918
+ clear: "Quitar la selección",
3919
+ selecting: "Seleccionar",
3920
+ pick: "Seleccionar la incidencia resaltada",
3921
+ pickRange: "Ampliar la selección hacia abajo o arriba",
3922
+ pickTo: "Seleccionar hasta la incidencia resaltada",
3923
+ pickAll: "Seleccionar todas las incidencias de la lista",
3924
+ pickNone: "Quitar la selección",
3925
+ pickClick: "Seleccionar o deseleccionar una fila",
3926
+ changing: "Cambiar la selección o la incidencia resaltada",
3927
+ status: "Estado",
3928
+ priority: "Prioridad",
3929
+ assignees: "Responsables",
3930
+ labels: "Etiquetas",
3931
+ project: "Proyecto",
3932
+ dueDate: "Fecha de vencimiento",
3933
+ archive: "Archivar",
3934
+ anywhere: "En cualquier lugar",
3935
+ newIssue: "Nueva incidencia",
3936
+ palette: "Paleta de comandos",
3937
+ find: "Buscar",
3938
+ submit: "Enviar o guardar lo que escribes",
3939
+ sheet: "Mostrar estos atajos"
3940
+ }
3906
3941
  };
3907
3942
  export { e as default };
@@ -660,7 +660,8 @@ var e = {
660
660
  copyTitle: "タイトルをコピー",
661
661
  copyBranch: "ブランチ名をコピー",
662
662
  archive: "アーカイブ",
663
- restore: "復元"
663
+ restore: "復元",
664
+ bulkFailed: "{count} 件の課題は変更されませんでした: {reason}"
664
665
  },
665
666
  issueTemplates: {
666
667
  title: "課題テンプレート",
@@ -885,7 +886,12 @@ var e = {
885
886
  select: "{identifier} を選択",
886
887
  actions: "操作",
887
888
  selectIssue: "課題を選択",
888
- requestCount: "{count} 社の顧客が要望"
889
+ requestCount: "{count} 社の顧客が要望",
890
+ selectingAll: "{count, number} 件すべてを選択中…",
891
+ selectAllMatching: "すべて選択",
892
+ archiveTitle: "{count, plural, one {この課題} other {# 件の課題}}をアーカイブしますか?",
893
+ archiveDescription: "アーカイブした課題はリストとボードから外れます。アーカイブから元に戻せます。",
894
+ archiveConfirm: "アーカイブ"
889
895
  },
890
896
  issueFilters: {
891
897
  team: "チーム",
@@ -3902,6 +3908,35 @@ var e = {
3902
3908
  use: "ここでエージェントを実行",
3903
3909
  useHelp: "このワークスペースのエージェントは、このクラスターのポッドで実行されます。"
3904
3910
  },
3905
- video: { linkHint: "この動画を再生するには GitHub アカウントを連携してください" }
3911
+ video: { linkHint: "この動画を再生するには GitHub アカウントを連携してください" },
3912
+ shortcuts: {
3913
+ title: "キーボードショートカット",
3914
+ lists: "リスト",
3915
+ move: "下または上へ移動",
3916
+ open: "強調表示中の課題を開く",
3917
+ search: "リストを検索",
3918
+ clear: "選択を解除",
3919
+ selecting: "選択",
3920
+ pick: "強調表示中の課題を選択",
3921
+ pickRange: "選択を下または上へ広げる",
3922
+ pickTo: "強調表示中の課題まで選択",
3923
+ pickAll: "リストのすべての課題を選択",
3924
+ pickNone: "選択を解除",
3925
+ pickClick: "行の選択を切り替える",
3926
+ changing: "選択中または強調表示中の課題を変更",
3927
+ status: "ステータス",
3928
+ priority: "優先度",
3929
+ assignees: "担当者",
3930
+ labels: "ラベル",
3931
+ project: "プロジェクト",
3932
+ dueDate: "期日",
3933
+ archive: "アーカイブ",
3934
+ anywhere: "どこでも",
3935
+ newIssue: "新しい課題",
3936
+ palette: "コマンドパレット",
3937
+ find: "検索",
3938
+ submit: "書いている内容を送信または保存",
3939
+ sheet: "このショートカット一覧を表示"
3940
+ }
3906
3941
  };
3907
3942
  export { e as default };
@@ -660,7 +660,8 @@ var e = {
660
660
  copyTitle: "제목 복사",
661
661
  copyBranch: "브랜치 이름 복사",
662
662
  archive: "보관",
663
- restore: "복원"
663
+ restore: "복원",
664
+ bulkFailed: "이슈 {count}개가 변경되지 않았습니다: {reason}"
664
665
  },
665
666
  issueTemplates: {
666
667
  title: "이슈 템플릿",
@@ -885,7 +886,12 @@ var e = {
885
886
  select: "{identifier} 선택",
886
887
  actions: "작업",
887
888
  selectIssue: "이슈 선택",
888
- requestCount: "고객 {count}곳이 요청함"
889
+ requestCount: "고객 {count}곳이 요청함",
890
+ selectingAll: "{count, number}개 모두 선택하는 중…",
891
+ selectAllMatching: "모두 선택",
892
+ archiveTitle: "{count, plural, one {이 이슈를} other {이슈 #개를}} 보관할까요?",
893
+ archiveDescription: "보관한 이슈는 목록과 보드에서 빠집니다. 보관함에서 복원할 수 있습니다.",
894
+ archiveConfirm: "보관"
889
895
  },
890
896
  issueFilters: {
891
897
  team: "팀",
@@ -3902,6 +3908,35 @@ var e = {
3902
3908
  use: "여기서 에이전트 실행",
3903
3909
  useHelp: "이 워크스페이스의 에이전트가 이 클러스터의 파드에서 실행됩니다."
3904
3910
  },
3905
- video: { linkHint: "이 동영상을 재생하려면 GitHub 계정을 연결하세요" }
3911
+ video: { linkHint: "이 동영상을 재생하려면 GitHub 계정을 연결하세요" },
3912
+ shortcuts: {
3913
+ title: "키보드 단축키",
3914
+ lists: "목록",
3915
+ move: "아래 또는 위로 이동",
3916
+ open: "강조된 이슈 열기",
3917
+ search: "목록 검색",
3918
+ clear: "선택 해제",
3919
+ selecting: "선택",
3920
+ pick: "강조된 이슈 선택",
3921
+ pickRange: "선택을 아래 또는 위로 넓히기",
3922
+ pickTo: "강조된 이슈까지 선택",
3923
+ pickAll: "목록의 모든 이슈 선택",
3924
+ pickNone: "선택 해제",
3925
+ pickClick: "행 선택 전환",
3926
+ changing: "선택한 이슈 또는 강조된 이슈 변경",
3927
+ status: "상태",
3928
+ priority: "우선순위",
3929
+ assignees: "담당자",
3930
+ labels: "레이블",
3931
+ project: "프로젝트",
3932
+ dueDate: "마감일",
3933
+ archive: "보관",
3934
+ anywhere: "어디서나",
3935
+ newIssue: "새 이슈",
3936
+ palette: "명령 팔레트",
3937
+ find: "찾기",
3938
+ submit: "작성 중인 내용 보내기 또는 저장",
3939
+ sheet: "이 단축키 보기"
3940
+ }
3906
3941
  };
3907
3942
  export { e as default };
@@ -660,7 +660,8 @@ var e = {
660
660
  copyTitle: "复制标题",
661
661
  copyBranch: "复制分支名称",
662
662
  archive: "归档",
663
- restore: "恢复"
663
+ restore: "恢复",
664
+ bulkFailed: "{count} 个问题未更改:{reason}"
664
665
  },
665
666
  issueTemplates: {
666
667
  title: "议题模板",
@@ -885,7 +886,12 @@ var e = {
885
886
  select: "选择 {identifier}",
886
887
  actions: "操作",
887
888
  selectIssue: "选择议题",
888
- requestCount: "{count} 个客户提出过请求"
889
+ requestCount: "{count} 个客户提出过请求",
890
+ selectingAll: "正在选择全部 {count, number} 个…",
891
+ selectAllMatching: "全选",
892
+ archiveTitle: "归档{count, plural, one {此问题} other {# 个问题}}?",
893
+ archiveDescription: "归档的问题会从列表和看板中移除。你可以从归档中恢复它们。",
894
+ archiveConfirm: "归档"
889
895
  },
890
896
  issueFilters: {
891
897
  team: "团队",
@@ -3902,6 +3908,35 @@ var e = {
3902
3908
  use: "在此运行智能体",
3903
3909
  useHelp: "此工作区的智能体会在该集群的 Pod 中运行。"
3904
3910
  },
3905
- video: { linkHint: "关联你的 GitHub 账号即可播放此视频" }
3911
+ video: { linkHint: "关联你的 GitHub 账号即可播放此视频" },
3912
+ shortcuts: {
3913
+ title: "键盘快捷键",
3914
+ lists: "列表",
3915
+ move: "向下或向上移动",
3916
+ open: "打开高亮的问题",
3917
+ search: "搜索列表",
3918
+ clear: "清除选择",
3919
+ selecting: "选择",
3920
+ pick: "选择高亮的问题",
3921
+ pickRange: "向下或向上扩展选择",
3922
+ pickTo: "选择到高亮的问题",
3923
+ pickAll: "选择列表中的所有问题",
3924
+ pickNone: "清除选择",
3925
+ pickClick: "选择或取消选择一行",
3926
+ changing: "更改所选或高亮的问题",
3927
+ status: "状态",
3928
+ priority: "优先级",
3929
+ assignees: "负责人",
3930
+ labels: "标签",
3931
+ project: "项目",
3932
+ dueDate: "截止日期",
3933
+ archive: "归档",
3934
+ anywhere: "任何位置",
3935
+ newIssue: "新问题",
3936
+ palette: "命令面板",
3937
+ find: "查找",
3938
+ submit: "发送或保存正在编写的内容",
3939
+ sheet: "显示这些快捷键"
3940
+ }
3906
3941
  };
3907
3942
  export { e as default };
package/api/mutations.js CHANGED
@@ -42,7 +42,7 @@ function o(e, t) {
42
42
  ] });
43
43
  }
44
44
  function s(e, t, n) {
45
- if (o(e, t), e.invalidateQueries({ queryKey: [
45
+ o(e, t), e.invalidateQueries({ queryKey: [
46
46
  "workspace",
47
47
  t,
48
48
  "projects"
@@ -54,19 +54,20 @@ function s(e, t, n) {
54
54
  "workspace",
55
55
  t,
56
56
  "cycles"
57
- ] }), n) {
58
- let r = n.toUpperCase();
57
+ ] });
58
+ for (let r of typeof n == "string" ? [n] : n ?? []) {
59
+ let n = r.toUpperCase();
59
60
  e.invalidateQueries({ queryKey: [
60
61
  "workspace",
61
62
  t,
62
63
  "issues",
63
- r,
64
+ n,
64
65
  "events"
65
66
  ] }), e.invalidateQueries({ queryKey: [
66
67
  "workspace",
67
68
  t,
68
69
  "issues",
69
- r,
70
+ n,
70
71
  "comments"
71
72
  ] });
72
73
  }
@@ -0,0 +1,142 @@
1
+ import { Kbd as e, Modal as t } from "@parallelworks/ui";
2
+ import { useTranslations as n } from "use-intl";
3
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
4
+ // src/components/ShortcutSheet.tsx
5
+ function a({ open: a, onClose: o }) {
6
+ let s = n("shortcuts"), c = [
7
+ {
8
+ title: s("lists"),
9
+ lines: [
10
+ {
11
+ keys: ["J", "K"],
12
+ label: s("move")
13
+ },
14
+ {
15
+ keys: "Enter",
16
+ label: s("open")
17
+ },
18
+ {
19
+ keys: "/",
20
+ label: s("search")
21
+ },
22
+ {
23
+ keys: "Escape",
24
+ label: s("clear")
25
+ }
26
+ ]
27
+ },
28
+ {
29
+ title: s("selecting"),
30
+ lines: [
31
+ {
32
+ keys: "X",
33
+ label: s("pick")
34
+ },
35
+ {
36
+ keys: "Shift+J",
37
+ label: s("pickRange")
38
+ },
39
+ {
40
+ keys: "Shift+X",
41
+ label: s("pickTo")
42
+ },
43
+ {
44
+ keys: "Mod+A",
45
+ label: s("pickAll")
46
+ },
47
+ {
48
+ keys: "Shift+Mod+A",
49
+ label: s("pickNone")
50
+ },
51
+ {
52
+ keys: "Mod+Click",
53
+ label: s("pickClick")
54
+ }
55
+ ]
56
+ },
57
+ {
58
+ title: s("changing"),
59
+ lines: [
60
+ {
61
+ keys: "S",
62
+ label: s("status")
63
+ },
64
+ {
65
+ keys: "P",
66
+ label: s("priority")
67
+ },
68
+ {
69
+ keys: "A",
70
+ label: s("assignees")
71
+ },
72
+ {
73
+ keys: "L",
74
+ label: s("labels")
75
+ },
76
+ {
77
+ keys: "M",
78
+ label: s("project")
79
+ },
80
+ {
81
+ keys: "D",
82
+ label: s("dueDate")
83
+ },
84
+ {
85
+ keys: "Backspace",
86
+ label: s("archive")
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ title: s("anywhere"),
92
+ lines: [
93
+ {
94
+ keys: "C",
95
+ label: s("newIssue")
96
+ },
97
+ {
98
+ keys: "Mod+K",
99
+ label: s("palette")
100
+ },
101
+ {
102
+ keys: "Mod+F",
103
+ label: s("find")
104
+ },
105
+ {
106
+ keys: "Mod+Enter",
107
+ label: s("submit")
108
+ },
109
+ {
110
+ keys: "?",
111
+ label: s("sheet")
112
+ }
113
+ ]
114
+ }
115
+ ];
116
+ return /* @__PURE__ */ r(t, {
117
+ open: a,
118
+ onClose: o,
119
+ title: s("title"),
120
+ size: "xl",
121
+ children: /* @__PURE__ */ r("div", {
122
+ className: "grid gap-6 sm:grid-cols-2",
123
+ children: c.map((t) => /* @__PURE__ */ i("section", { children: [/* @__PURE__ */ r("h3", {
124
+ className: "mb-2 text-xs font-medium text-muted-foreground uppercase",
125
+ children: t.title
126
+ }), /* @__PURE__ */ r("dl", {
127
+ className: "space-y-1.5 text-sm",
128
+ children: t.lines.map((t) => /* @__PURE__ */ i("div", {
129
+ className: "flex items-center justify-between gap-4",
130
+ children: [/* @__PURE__ */ r("dt", { children: t.label }), /* @__PURE__ */ r("dd", {
131
+ className: "shrink-0",
132
+ children: /* @__PURE__ */ r(e, {
133
+ keys: t.keys,
134
+ size: "xs"
135
+ })
136
+ })]
137
+ }, t.label))
138
+ })] }, t.title))
139
+ })
140
+ });
141
+ }
142
+ export { a as ShortcutSheet };
@@ -0,0 +1,15 @@
1
+ // src/lib/eachLimited.ts
2
+ async function e(e, t, n = 8) {
3
+ let r = 0, i = [];
4
+ return await Promise.all(Array.from({ length: Math.min(n, e.length) }, async () => {
5
+ for (; r < e.length;) {
6
+ let n = e[r++];
7
+ try {
8
+ await t(n);
9
+ } catch (e) {
10
+ i.push(e);
11
+ }
12
+ }
13
+ })), i;
14
+ }
15
+ export { e as eachLimited };