@parallelworks/tandem-web 0.161.1 → 0.162.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.
@@ -903,7 +903,8 @@ var e = {
903
903
  project: "Project",
904
904
  cycle: "Cycle",
905
905
  overdue: "Overdue",
906
- customer: "Customer"
906
+ customer: "Customer",
907
+ noAssignee: "No assignee"
907
908
  },
908
909
  issue: {
909
910
  archivedNote: "Archived on {when}.",
@@ -1093,6 +1094,7 @@ var e = {
1093
1094
  },
1094
1095
  apiErrors: {
1095
1096
  network: "Could not reach the server. Check your connection and try again.",
1097
+ compute_admin_required: "Only platform admins can see and turn on compute for agents.",
1096
1098
  conflict: "This changed since you loaded it. Reload and try again.",
1097
1099
  device_code_invalid: "That code is unknown, expired or already used.",
1098
1100
  insufficient_scope: "This app can only read Tandem. Sign in to it again and allow it to make changes.",
@@ -903,7 +903,8 @@ var e = {
903
903
  project: "Proyecto",
904
904
  cycle: "Ciclo",
905
905
  overdue: "Vencidas",
906
- customer: "Cliente"
906
+ customer: "Cliente",
907
+ noAssignee: "Sin asignar"
907
908
  },
908
909
  issue: {
909
910
  archivedNote: "Archivada el {when}.",
@@ -1093,6 +1094,7 @@ var e = {
1093
1094
  },
1094
1095
  apiErrors: {
1095
1096
  network: "No se pudo conectar con el servidor. Revisa tu conexión e inténtalo de nuevo.",
1097
+ compute_admin_required: "Solo los administradores de la plataforma pueden ver y activar el cómputo para los agentes.",
1096
1098
  conflict: "Esto cambió desde que lo cargaste. Recarga e inténtalo de nuevo.",
1097
1099
  device_code_invalid: "Ese código no existe, ha caducado o ya se usó.",
1098
1100
  insufficient_scope: "Esta app solo puede leer Tandem. Vuelve a iniciar sesión en ella y permite que haga cambios.",
@@ -903,7 +903,8 @@ var e = {
903
903
  project: "プロジェクト",
904
904
  cycle: "サイクル",
905
905
  overdue: "期限切れ",
906
- customer: "顧客"
906
+ customer: "顧客",
907
+ noAssignee: "担当者なし"
907
908
  },
908
909
  issue: {
909
910
  archivedNote: "{when} にアーカイブしました。",
@@ -1093,6 +1094,7 @@ var e = {
1093
1094
  },
1094
1095
  apiErrors: {
1095
1096
  network: "サーバーに接続できませんでした。接続を確認して、もう一度お試しください。",
1097
+ compute_admin_required: "エージェント用のコンピュートを表示・有効化できるのはプラットフォーム管理者だけです。",
1096
1098
  conflict: "読み込んだ後に変更されています。再読み込みして、もう一度お試しください。",
1097
1099
  device_code_invalid: "このコードは不明、期限切れ、または使用済みです。",
1098
1100
  insufficient_scope: "このアプリは Tandem の読み取りのみ許可されています。もう一度サインインし、変更を許可してください。",
@@ -903,7 +903,8 @@ var e = {
903
903
  project: "프로젝트",
904
904
  cycle: "사이클",
905
905
  overdue: "기한 지남",
906
- customer: "고객"
906
+ customer: "고객",
907
+ noAssignee: "담당자 없음"
907
908
  },
908
909
  issue: {
909
910
  archivedNote: "{when}에 보관됨.",
@@ -1093,6 +1094,7 @@ var e = {
1093
1094
  },
1094
1095
  apiErrors: {
1095
1096
  network: "서버에 연결할 수 없습니다. 연결 상태를 확인하고 다시 시도하세요.",
1097
+ compute_admin_required: "에이전트용 컴퓨트는 플랫폼 관리자만 보고 켤 수 있습니다.",
1096
1098
  conflict: "불러온 뒤 내용이 변경되었습니다. 새로 고친 후 다시 시도하세요.",
1097
1099
  device_code_invalid: "알 수 없거나 만료되었거나 이미 사용된 코드입니다.",
1098
1100
  insufficient_scope: "이 앱은 Tandem을 읽기만 할 수 있습니다. 앱에 다시 로그인하고 변경을 허용하세요.",
@@ -903,7 +903,8 @@ var e = {
903
903
  project: "项目",
904
904
  cycle: "周期",
905
905
  overdue: "已逾期",
906
- customer: "客户"
906
+ customer: "客户",
907
+ noAssignee: "无负责人"
907
908
  },
908
909
  issue: {
909
910
  archivedNote: "已于 {when} 归档。",
@@ -1093,6 +1094,7 @@ var e = {
1093
1094
  },
1094
1095
  apiErrors: {
1095
1096
  network: "无法连接到服务器。请检查网络连接后重试。",
1097
+ compute_admin_required: "只有平台管理员可以查看并为代理启用计算资源。",
1096
1098
  conflict: "加载后此内容已被更改。请重新加载后重试。",
1097
1099
  device_code_invalid: "该代码无效、已过期或已被使用。",
1098
1100
  insufficient_scope: "此应用只能读取 Tandem。请重新登录该应用,并允许它进行更改。",
@@ -1,23 +1,24 @@
1
- import { customersQuery as e, cyclesQuery as t, labelsQuery as n, myTeamsQuery as r, projectsQuery as i, statusesQuery as ee, teamsQuery as te } from "../api/queries.js";
2
- import { CalendarIcon as a, CycleIcon as ne, FolderIcon as o, PriorityIcon as s, ProjectIcon as c, StatusIcon as l, TagIcon as u, UserIcon as d, UsersIcon as f, usePriorityNames as p } from "./icons.js";
3
- import { usePeople as m } from "../lib/people.js";
4
- import { ProjectStatusIcon as h } from "./Planning.js";
5
- import { projectRef as g } from "../lib/projects.js";
6
- import { customFieldsQuery as re, fieldsFor as ie, filterableKinds as _, formatFieldFilters as v, parseFieldFilters as y } from "../lib/customFields.js";
7
- import { issueTypesQuery as b } from "../lib/issueTypes.js";
8
- import { TypeIcon as x } from "./IssueTypes.js";
9
- import { statusRef as S } from "../lib/refs.js";
10
- import { Avatar as C } from "@parallelworks/ui";
11
- import { useMemo as ae } from "react";
12
- import { useTranslations as w } from "use-intl";
13
- import { jsx as T } from "react/jsx-runtime";
14
- import { useQuery as E } from "@tanstack/react-query";
15
- import { useListFilters as D } from "@parallelworks/ui/list";
1
+ import { customersQuery as e, cyclesQuery as t, labelsQuery as n, myTeamsQuery as r, projectsQuery as i, statusesQuery as a, teamsQuery as o } from "../api/queries.js";
2
+ import { CalendarIcon as ee, CycleIcon as s, FolderIcon as c, PriorityIcon as l, ProjectIcon as u, StatusIcon as d, TagIcon as f, UserIcon as p, UsersIcon as te, usePriorityNames as ne } from "./icons.js";
3
+ import { usePeople as re } from "../lib/people.js";
4
+ import { ProjectStatusIcon as m } from "./Planning.js";
5
+ import { projectRef as ie } from "../lib/projects.js";
6
+ import { customFieldsQuery as h, fieldsFor as g, filterableKinds as _, formatFieldFilters as v, parseFieldFilters as y } from "../lib/customFields.js";
7
+ import { issueTypesQuery as ae } from "../lib/issueTypes.js";
8
+ import { TypeIcon as oe } from "./IssueTypes.js";
9
+ import { statusRef as b } from "../lib/refs.js";
10
+ import { Avatar as x } from "@parallelworks/ui";
11
+ import { useMemo as S } from "react";
12
+ import { useTranslations as C } from "use-intl";
13
+ import { jsx as w } from "react/jsx-runtime";
14
+ import { useQuery as T } from "@tanstack/react-query";
15
+ import { useListFilters as E } from "@parallelworks/ui/list";
16
16
  // src/components/IssueFilters.tsx
17
- var O = (e) => `field:${e}`, k = [
17
+ var D = (e) => `field:${e}`, O = [
18
18
  "team",
19
19
  "assignee",
20
20
  "assigneeKind",
21
+ "unassigned",
21
22
  "creator",
22
23
  "status",
23
24
  "priority",
@@ -28,8 +29,8 @@ var O = (e) => `field:${e}`, k = [
28
29
  "type",
29
30
  "fields",
30
31
  "overdue"
31
- ], A = (e) => `agent:${e}`;
32
- function oe(e) {
32
+ ], k = ":none", A = (e) => `agent:${e}`;
33
+ function se(e) {
33
34
  let t = [], n = (e, n) => {
34
35
  n && t.push({
35
36
  field: e,
@@ -37,7 +38,7 @@ function oe(e) {
37
38
  values: [n]
38
39
  });
39
40
  };
40
- n("team", e.team), n("assignee", e.assignee && (e.assigneeKind === "agent" ? A(e.assignee) : e.assignee)), n("creator", e.creator);
41
+ n("team", e.team), n("assignee", e.assignee ? e.assigneeKind === "agent" ? A(e.assignee) : e.assignee : e.unassigned && k), n("creator", e.creator);
41
42
  for (let n of ["status", "priority"]) {
42
43
  let r = e[n]?.split(",").filter(Boolean) ?? [];
43
44
  r.length > 0 && t.push({
@@ -56,13 +57,13 @@ function oe(e) {
56
57
  let i = /* @__PURE__ */ new Map();
57
58
  for (let t of y(e.fields)) i.set(t.field, [...i.get(t.field) ?? [], t.value]);
58
59
  for (let [e, n] of i) t.push({
59
- field: O(e),
60
+ field: D(e),
60
61
  op: "is",
61
62
  values: n
62
63
  });
63
64
  return n("overdue", e.overdue), t;
64
65
  }
65
- function se(e) {
66
+ function ce(e) {
66
67
  let t = {}, n = [];
67
68
  for (let r of e) {
68
69
  let e = r.values[0];
@@ -73,7 +74,7 @@ function se(e) {
73
74
  });
74
75
  else switch (r.field) {
75
76
  case "assignee":
76
- e.startsWith("agent:") ? (t.assignee = e.slice(6), t.assigneeKind = "agent") : t.assignee = e;
77
+ e === k ? t.unassigned = "true" : e.startsWith("agent:") ? (t.assignee = e.slice(6), t.assigneeKind = "agent") : t.assignee = e;
77
78
  break;
78
79
  case "overdue":
79
80
  e === "true" && (t.overdue = "true");
@@ -96,20 +97,20 @@ function se(e) {
96
97
  }
97
98
  function j(e, t) {
98
99
  let n = { ...e };
99
- for (let e of k) delete n[e];
100
+ for (let e of O) delete n[e];
100
101
  return {
101
102
  ...n,
102
103
  ...t
103
104
  };
104
105
  }
105
- function M(v, k, j, M = !1) {
106
- let N = w("issueFilters"), P = w("planning"), { data: F = [] } = E(te(v)), { data: I = [] } = E(r(v)), L = I.some((e) => e.key === k.team) ? I : [...I, ...F.filter((e) => e.key === k.team)], { data: R = [] } = E(n(v)), { data: z = [] } = E(i(v)), { data: B = [] } = E(e(v)), V = L.find((e) => e.key === k.team), { data: H = [] } = E({
106
+ function M(v, O, j, M = !1) {
107
+ let N = C("issueFilters"), P = C("planning"), { data: F = [] } = T(o(v)), { data: I = [] } = T(r(v)), L = I.some((e) => e.key === O.team) ? I : [...I, ...F.filter((e) => e.key === O.team)], { data: R = [] } = T(n(v)), { data: z = [] } = T(i(v)), { data: B = [] } = T(e(v)), V = L.find((e) => e.key === O.team), { data: H = [] } = T({
107
108
  ...t(v, V?.key ?? ""),
108
109
  enabled: !!V?.cyclesEnabled
109
- }), { data: U = [] } = E({
110
- ...ee(v, V?.key ?? ""),
110
+ }), { data: U = [] } = T({
111
+ ...a(v, V?.key ?? ""),
111
112
  enabled: !!V
112
- }), W = p(), { members: G, agents: K, person: q, agentName: J } = m(v), { data: Y } = E(re(v)), { data: X } = E(b(v)), Z = w("issueTypes"), Q = w("customFields"), ce = ae(() => {
113
+ }), W = ne(), { members: G, agents: K, person: q, agentName: J } = re(v), { data: Y } = T(h(v)), { data: X } = T(ae(v)), Z = C("issueTypes"), Q = C("customFields"), le = S(() => {
113
114
  let e = {
114
115
  multiple: !1,
115
116
  operators: ["is"]
@@ -120,7 +121,7 @@ function M(v, k, j, M = !1) {
120
121
  {
121
122
  key: "team",
122
123
  label: N("team"),
123
- icon: /* @__PURE__ */ T(o, {}),
124
+ icon: /* @__PURE__ */ w(c, {}),
124
125
  kind: "enum",
125
126
  ...e,
126
127
  required: M,
@@ -133,42 +134,50 @@ function M(v, k, j, M = !1) {
133
134
  {
134
135
  key: "assignee",
135
136
  label: N("assignee"),
136
- icon: /* @__PURE__ */ T(d, {}),
137
+ icon: /* @__PURE__ */ w(p, {}),
137
138
  kind: "people",
138
139
  ...e,
139
- options: [...G.map((e) => ({
140
- value: e.user.username,
141
- label: e.user.name,
142
- group: N("people"),
143
- icon: /* @__PURE__ */ T(C, {
144
- name: e.user.name,
145
- src: e.user.avatarUrl,
146
- size: "xs",
147
- decorative: !0
148
- })
149
- })), ...K.map((e) => ({
150
- value: A(e.slug),
151
- label: e.name,
152
- group: N("agents"),
153
- icon: /* @__PURE__ */ T(C, {
154
- name: e.name,
155
- kind: "agent",
156
- size: "xs",
157
- decorative: !0
158
- })
159
- }))],
140
+ options: [
141
+ {
142
+ value: k,
143
+ label: N("noAssignee"),
144
+ icon: /* @__PURE__ */ w(p, {})
145
+ },
146
+ ...G.map((e) => ({
147
+ value: e.user.username,
148
+ label: e.user.name,
149
+ group: N("people"),
150
+ icon: /* @__PURE__ */ w(x, {
151
+ name: e.user.name,
152
+ src: e.user.avatarUrl,
153
+ size: "xs",
154
+ decorative: !0
155
+ })
156
+ })),
157
+ ...K.map((e) => ({
158
+ value: A(e.slug),
159
+ label: e.name,
160
+ group: N("agents"),
161
+ icon: /* @__PURE__ */ w(x, {
162
+ name: e.name,
163
+ kind: "agent",
164
+ size: "xs",
165
+ decorative: !0
166
+ })
167
+ }))
168
+ ],
160
169
  valueLabel: (e) => e.startsWith("agent:") ? J(e.slice(6)) : q(e).name
161
170
  },
162
171
  {
163
172
  key: "creator",
164
173
  label: N("creator"),
165
- icon: /* @__PURE__ */ T(d, {}),
174
+ icon: /* @__PURE__ */ w(p, {}),
166
175
  kind: "people",
167
176
  ...e,
168
177
  options: G.map((e) => ({
169
178
  value: e.user.username,
170
179
  label: e.user.name,
171
- icon: /* @__PURE__ */ T(C, {
180
+ icon: /* @__PURE__ */ w(x, {
172
181
  name: e.user.name,
173
182
  src: e.user.avatarUrl,
174
183
  size: "xs",
@@ -180,7 +189,7 @@ function M(v, k, j, M = !1) {
180
189
  {
181
190
  key: "priority",
182
191
  label: N("priority"),
183
- icon: /* @__PURE__ */ T(s, { priority: 2 }),
192
+ icon: /* @__PURE__ */ w(l, { priority: 2 }),
184
193
  kind: "enum",
185
194
  operators: ["is"],
186
195
  options: [
@@ -192,19 +201,19 @@ function M(v, k, j, M = !1) {
192
201
  ].map((e) => ({
193
202
  value: String(e),
194
203
  label: W[e] ?? "",
195
- icon: /* @__PURE__ */ T(s, { priority: e })
204
+ icon: /* @__PURE__ */ w(l, { priority: e })
196
205
  }))
197
206
  },
198
207
  {
199
208
  key: "label",
200
209
  label: N("label"),
201
- icon: /* @__PURE__ */ T(u, {}),
210
+ icon: /* @__PURE__ */ w(f, {}),
202
211
  kind: "enum",
203
212
  ...e,
204
213
  options: R.map((e) => ({
205
214
  value: e.name,
206
215
  label: e.name,
207
- icon: /* @__PURE__ */ T("span", {
216
+ icon: /* @__PURE__ */ w("span", {
208
217
  className: "size-2 rounded-full",
209
218
  style: { background: e.color }
210
219
  })
@@ -214,44 +223,44 @@ function M(v, k, j, M = !1) {
214
223
  {
215
224
  key: "project",
216
225
  label: N("project"),
217
- icon: /* @__PURE__ */ T(c, {}),
226
+ icon: /* @__PURE__ */ w(u, {}),
218
227
  kind: "enum",
219
228
  ...e,
220
229
  options: z.map((e) => ({
221
- value: g(e),
230
+ value: ie(e),
222
231
  label: e.name,
223
- icon: /* @__PURE__ */ T(h, { status: e.status })
232
+ icon: /* @__PURE__ */ w(m, { status: e.status })
224
233
  }))
225
234
  }
226
235
  ];
227
- (B.length > 0 || k.customer) && n.push({
236
+ (B.length > 0 || O.customer) && n.push({
228
237
  key: "customer",
229
238
  label: N("customer"),
230
- icon: /* @__PURE__ */ T(f, {}),
239
+ icon: /* @__PURE__ */ w(te, {}),
231
240
  kind: "enum",
232
241
  ...e,
233
242
  options: B.map((e) => ({
234
243
  value: e.id,
235
244
  label: e.name
236
245
  }))
237
- }), (V || k.status) && n.splice(3, 0, {
246
+ }), (V || O.status) && n.splice(3, 0, {
238
247
  key: "status",
239
248
  label: N("status"),
240
- icon: /* @__PURE__ */ T(l, { category: "started" }),
249
+ icon: /* @__PURE__ */ w(d, { category: "started" }),
241
250
  kind: "enum",
242
251
  operators: ["is"],
243
252
  options: U.map((e) => ({
244
- value: S(e),
253
+ value: b(e),
245
254
  label: e.name,
246
- icon: /* @__PURE__ */ T(l, {
255
+ icon: /* @__PURE__ */ w(d, {
247
256
  category: e.category,
248
257
  step: e.step
249
258
  })
250
259
  }))
251
- }), (V?.cyclesEnabled || k.cycle) && n.push({
260
+ }), (V?.cyclesEnabled || O.cycle) && n.push({
252
261
  key: "cycle",
253
262
  label: N("cycle"),
254
- icon: /* @__PURE__ */ T(ne, {}),
263
+ icon: /* @__PURE__ */ w(s, {}),
255
264
  kind: "enum",
256
265
  ...e,
257
266
  options: H.map((e) => ({
@@ -261,17 +270,17 @@ function M(v, k, j, M = !1) {
261
270
  }))
262
271
  });
263
272
  let r = (X ?? []).filter((e) => !e.archivedAt && (!V || e.teamIds.length === 0 || e.teamIds.includes(V.id)));
264
- (r.length > 0 || k.type) && n.push({
273
+ (r.length > 0 || O.type) && n.push({
265
274
  key: "type",
266
275
  label: Z("type"),
267
- icon: /* @__PURE__ */ T(u, {}),
276
+ icon: /* @__PURE__ */ w(f, {}),
268
277
  kind: "enum",
269
278
  multiple: !0,
270
279
  operators: ["is"],
271
280
  options: [...r.map((e) => ({
272
281
  value: e.id,
273
282
  label: e.name,
274
- icon: /* @__PURE__ */ T(x, {
283
+ icon: /* @__PURE__ */ w(oe, {
275
284
  type: e,
276
285
  className: "size-3.5"
277
286
  })
@@ -280,23 +289,23 @@ function M(v, k, j, M = !1) {
280
289
  label: Z("noType")
281
290
  }]
282
291
  });
283
- let i = new Set(y(k.fields).map((e) => e.field));
284
- for (let e of (Y ?? []).filter((e) => e.target === "issue" && _.includes(e.kind) && (ie([e], "issue", V?.id).length > 0 || i.has(e.id)))) {
292
+ let i = new Set(y(O.fields).map((e) => e.field));
293
+ for (let e of (Y ?? []).filter((e) => e.target === "issue" && _.includes(e.kind) && (g([e], "issue", V?.id).length > 0 || i.has(e.id)))) {
285
294
  let t = {
286
295
  value: "none",
287
296
  label: Q("noValue")
288
297
  };
289
298
  n.push({
290
- key: O(e.id),
299
+ key: D(e.id),
291
300
  label: e.name,
292
- icon: /* @__PURE__ */ T(u, {}),
301
+ icon: /* @__PURE__ */ w(f, {}),
293
302
  kind: "enum",
294
303
  multiple: !0,
295
304
  operators: ["is"],
296
305
  options: e.kind === "person" ? [...G.map((e) => ({
297
306
  value: e.user.username,
298
307
  label: e.user.name,
299
- icon: /* @__PURE__ */ T(C, {
308
+ icon: /* @__PURE__ */ w(x, {
300
309
  name: e.user.name,
301
310
  src: e.user.avatarUrl,
302
311
  size: "xs",
@@ -308,7 +317,7 @@ function M(v, k, j, M = !1) {
308
317
  }, t] : [...e.options.map((e) => ({
309
318
  value: e.id ?? "",
310
319
  label: e.name,
311
- ...e.color && { icon: /* @__PURE__ */ T("span", {
320
+ ...e.color && { icon: /* @__PURE__ */ w("span", {
312
321
  className: "size-2 rounded-full",
313
322
  style: { background: e.color }
314
323
  }) }
@@ -318,16 +327,16 @@ function M(v, k, j, M = !1) {
318
327
  return n.push({
319
328
  key: "overdue",
320
329
  label: N("overdue"),
321
- icon: /* @__PURE__ */ T(a, {}),
330
+ icon: /* @__PURE__ */ w(ee, {}),
322
331
  kind: "boolean"
323
332
  }), n;
324
333
  }, [
325
334
  X,
326
335
  Z,
327
- k.type,
336
+ O.type,
328
337
  Y,
329
338
  Q,
330
- k.fields,
339
+ O.fields,
331
340
  N,
332
341
  P,
333
342
  L,
@@ -336,27 +345,27 @@ function M(v, k, j, M = !1) {
336
345
  R,
337
346
  z,
338
347
  B,
339
- k.customer,
348
+ O.customer,
340
349
  H,
341
350
  U,
342
351
  W,
343
352
  V,
344
- k.cycle,
345
- k.status,
353
+ O.cycle,
354
+ O.status,
346
355
  q,
347
356
  J,
348
357
  M
349
- ]), $ = oe(k), le = {
358
+ ]), $ = se(O), ue = {
350
359
  value: $.length > 0 ? $ : null,
351
360
  onChange: (e) => {
352
- let t = se(e);
353
- t.team !== k.team && delete t.status, j(t);
361
+ let t = ce(e);
362
+ t.team !== O.team && delete t.status, j(t);
354
363
  }
355
364
  };
356
- return D({
365
+ return E({
357
366
  storageKey: `issues:${v}`,
358
- fields: ce,
359
- store: le,
367
+ fields: le,
368
+ store: ue,
360
369
  remember: !1
361
370
  });
362
371
  }
package/lib/issueList.js CHANGED
@@ -46,7 +46,7 @@ function g(e) {
46
46
  let r = h(e[n]);
47
47
  r && (t[n] = r);
48
48
  }
49
- t.assignee && e.assigneeKind === "agent" && (t.assigneeKind = "agent"), (e.overdue === "true" || e.overdue === !0) && (t.overdue = "true");
49
+ t.assignee && e.assigneeKind === "agent" && (t.assigneeKind = "agent"), t.assignee || e.unassigned !== "true" && e.unassigned !== !0 || (t.unassigned = "true"), (e.overdue === "true" || e.overdue === !0) && (t.overdue = "true");
50
50
  let i = h(e.order);
51
51
  i && i !== "updated" && (d.includes(i) || n(i)) && (t.order = i), e.layout === "board" && (t.layout = "board"), e.scope === "workspace" && (t.scope = "workspace");
52
52
  let a = h(e.group);
@@ -239,6 +239,7 @@ function C(e, t) {
239
239
  ...e.team && { team: e.team },
240
240
  ...e.assignee && { assignee: e.assignee },
241
241
  ...e.assignee && e.assigneeKind && { assigneeKind: e.assigneeKind },
242
+ ...!e.assignee && e.unassigned && { unassigned: !0 },
242
243
  ...e.creator && { creator: e.creator },
243
244
  ...e.status && { status: r },
244
245
  ...e.priority && { priority: e.priority.split(",").map(Number) },
package/lib/views.js CHANGED
@@ -17,6 +17,7 @@ var v = [
17
17
  "team",
18
18
  "assignee",
19
19
  "assigneeKind",
20
+ "unassigned",
20
21
  "creator",
21
22
  "status",
22
23
  "priority",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parallelworks/tandem-web",
3
- "version": "0.161.1",
3
+ "version": "0.162.0",
4
4
  "description": "Tandem's pages, for a host app to render in its own",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",