@burdenoff/fe-libs 2026.1116.7 → 2026.1117.1
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/dist/chrome/contextSwitcher/OrganizationList.js +1 -1
- package/dist/chrome/contextSwitcher/ProjectList.js +2 -2
- package/dist/chrome/contextSwitcher/WorkspaceList.js +1 -1
- package/dist/shared/assistant/i18nManifest.d.ts +4 -0
- package/dist/shared/assistant/i18nManifest.js +4 -0
- package/dist/shared/assistant/ui/AIAssistantPanel.js +115 -112
- package/dist/shared/assistant/ui/AssistantDeleteConversationDialog.d.ts +12 -0
- package/dist/shared/assistant/ui/AssistantDeleteConversationDialog.js +34 -34
- package/dist/shared/assistant/ui/compact/AssistantConversationMenu.d.ts +3 -0
- package/dist/shared/assistant/ui/compact/AssistantConversationMenu.js +104 -87
- package/dist/shared/assistant/ui/compact/AssistantPageBar.d.ts +15 -0
- package/dist/shared/assistant/ui/compact/AssistantPageBar.js +7 -7
- package/dist/shared/assistant/ui/conversationDeleteDialog.d.ts +6 -0
- package/dist/shared/assistant/ui/conversationDeleteDialog.js +26 -25
- package/dist/shared/pages/LegalPage.js +1 -1
- package/dist/shared/providers/shell/ThemeProvider.js +2 -2
- package/dist/shared-assistant.js +22 -22
- package/dist/ui/guidance.js +3 -3
- package/dist/ui/icon-tile.js +1 -1
- package/package.json +5 -1
- package/src/shared/styles/depth-theme.css +23 -0
- package/src/shared/tokens/depth.css +143 -19
|
@@ -32,7 +32,7 @@ var c = ({ organizations: e, searchedOrganizations: t, currentOrganizationId: n,
|
|
|
32
32
|
children: l
|
|
33
33
|
})]
|
|
34
34
|
}),
|
|
35
|
-
t.id === n && /* @__PURE__ */ o(i, { className: "size-5 text-
|
|
35
|
+
t.id === n && /* @__PURE__ */ o(i, { className: "size-5 text-action-primary-bg flex-shrink-0 animate-in zoom-in-50 duration-200" })
|
|
36
36
|
]
|
|
37
37
|
}, t.id);
|
|
38
38
|
}) : /* @__PURE__ */ o(u, { isSearchResult: c.length > 0 })
|
|
@@ -26,7 +26,7 @@ var s = ({ filteredProjects: s, searchedProjects: c, currentProjectId: l, search
|
|
|
26
26
|
className: "flex-1 text-start",
|
|
27
27
|
children: h("contextSwitcher.allProjectsWorkspaceWide", "All projects (workspace-wide)")
|
|
28
28
|
}),
|
|
29
|
-
!l && /* @__PURE__ */ a(r, { className: "size-5 text-
|
|
29
|
+
!l && /* @__PURE__ */ a(r, { className: "size-5 text-action-primary-bg flex-shrink-0" })
|
|
30
30
|
]
|
|
31
31
|
}), s.length === 0 ? /* @__PURE__ */ a(n, { message: h("contextSwitcher.noProjectsInWorkspace", "No projects in this workspace") }) : c.length > 0 ? c.map((e, t) => /* @__PURE__ */ o("button", {
|
|
32
32
|
onClick: () => f(e),
|
|
@@ -38,7 +38,7 @@ var s = ({ filteredProjects: s, searchedProjects: c, currentProjectId: l, search
|
|
|
38
38
|
className: "flex-1 text-start truncate",
|
|
39
39
|
children: e.name
|
|
40
40
|
}),
|
|
41
|
-
e.id === l && /* @__PURE__ */ a(r, { className: "size-5 text-
|
|
41
|
+
e.id === l && /* @__PURE__ */ a(r, { className: "size-5 text-action-primary-bg flex-shrink-0 animate-in zoom-in-50 duration-200" })
|
|
42
42
|
]
|
|
43
43
|
}, e.id)) : /* @__PURE__ */ a(n, {
|
|
44
44
|
message: h("projectsList.noProjectsFound", "No projects found"),
|
|
@@ -25,7 +25,7 @@ var s = ({ filteredWorkspaces: s, searchedWorkspaces: c, currentWorkspaceId: l,
|
|
|
25
25
|
className: "flex-1 text-start truncate",
|
|
26
26
|
children: e.name
|
|
27
27
|
}),
|
|
28
|
-
e.id === l && /* @__PURE__ */ a(i, { className: "size-5 text-
|
|
28
|
+
e.id === l && /* @__PURE__ */ a(i, { className: "size-5 text-action-primary-bg flex-shrink-0 animate-in zoom-in-50 duration-200" })
|
|
29
29
|
]
|
|
30
30
|
}, e.id)) : /* @__PURE__ */ a(n, {
|
|
31
31
|
message: m("workspaces.list.emptyNoneTitle", "No workspaces found"),
|
|
@@ -457,6 +457,7 @@ export declare const ASSISTANT_I18N_LITERAL_COPY: {
|
|
|
457
457
|
readonly 'conversationMenu.rename': "Rename";
|
|
458
458
|
readonly 'conversationMenu.unpin': "Unpin";
|
|
459
459
|
readonly 'conversationMenu.voiceTranscript': "Voice transcript";
|
|
460
|
+
readonly 'conversationMenu.voiceTranscriptPending': "(after you talk in this chat)";
|
|
460
461
|
readonly 'conversations.archive': "Archive conversation";
|
|
461
462
|
readonly 'conversations.collapse': "Collapse history";
|
|
462
463
|
readonly 'conversations.collapseLabel': "Collapse";
|
|
@@ -475,6 +476,9 @@ export declare const ASSISTANT_I18N_LITERAL_COPY: {
|
|
|
475
476
|
readonly 'deleteConversation.body': "“{{title}}” is removed from all your devices now and permanently erased after 30 days. To hide it without deleting, archive it instead.";
|
|
476
477
|
readonly 'deleteConversation.bodyDevice': "“{{title}}” is deleted from this device. This can't be undone.";
|
|
477
478
|
readonly 'deleteConversation.cancel': "Cancel";
|
|
479
|
+
readonly 'deleteConversation.chatBody': "It's removed from your history for good. This can't be undone.";
|
|
480
|
+
readonly 'deleteConversation.chatConfirm': "Delete chat";
|
|
481
|
+
readonly 'deleteConversation.chatTitle': "Delete this chat?";
|
|
478
482
|
readonly 'deleteConversation.confirm': "Delete";
|
|
479
483
|
readonly 'deleteConversation.nothing': "There is no conversation to delete.";
|
|
480
484
|
readonly 'deleteConversation.opened': "Opened the delete confirmation. Choose Delete or Cancel on screen.";
|
|
@@ -350,6 +350,7 @@ var g = {
|
|
|
350
350
|
"conversationMenu.rename": "Rename",
|
|
351
351
|
"conversationMenu.unpin": "Unpin",
|
|
352
352
|
"conversationMenu.voiceTranscript": "Voice transcript",
|
|
353
|
+
"conversationMenu.voiceTranscriptPending": "(after you talk in this chat)",
|
|
353
354
|
"conversations.archive": "Archive conversation",
|
|
354
355
|
"conversations.collapse": "Collapse history",
|
|
355
356
|
"conversations.collapseLabel": "Collapse",
|
|
@@ -368,6 +369,9 @@ var g = {
|
|
|
368
369
|
"deleteConversation.body": "“{{title}}” is removed from all your devices now and permanently erased after 30 days. To hide it without deleting, archive it instead.",
|
|
369
370
|
"deleteConversation.bodyDevice": "“{{title}}” is deleted from this device. This can't be undone.",
|
|
370
371
|
"deleteConversation.cancel": "Cancel",
|
|
372
|
+
"deleteConversation.chatBody": "It's removed from your history for good. This can't be undone.",
|
|
373
|
+
"deleteConversation.chatConfirm": "Delete chat",
|
|
374
|
+
"deleteConversation.chatTitle": "Delete this chat?",
|
|
371
375
|
"deleteConversation.confirm": "Delete",
|
|
372
376
|
"deleteConversation.nothing": "There is no conversation to delete.",
|
|
373
377
|
"deleteConversation.opened": "Opened the delete confirmation. Choose Delete or Cancel on screen.",
|
|
@@ -261,121 +261,124 @@ var tt = { backgroundColor: "var(--color-bg-elevated)" }, nt = ({ pageLayout: e,
|
|
|
261
261
|
children: /* @__PURE__ */ l(_e, {
|
|
262
262
|
value: ot,
|
|
263
263
|
onOpen: st,
|
|
264
|
-
children: /* @__PURE__ */ l(se, {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
...
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
264
|
+
children: /* @__PURE__ */ l(se, {
|
|
265
|
+
...Ct ? { wording: "chat" } : {},
|
|
266
|
+
children: /* @__PURE__ */ l(ce, { children: /* @__PURE__ */ l(nt, {
|
|
267
|
+
pageLayout: j,
|
|
268
|
+
messageBox: yt,
|
|
269
|
+
children: /* @__PURE__ */ u("div", {
|
|
270
|
+
ref: w,
|
|
271
|
+
className: "relative flex h-full w-full flex-col bg-bg-surface",
|
|
272
|
+
style: A ? tt : void 0,
|
|
273
|
+
role: "complementary",
|
|
274
|
+
"aria-label": A ? mt("window.title", "Quick assistant") : mt("panel.ariaLabel", "AI Assistant"),
|
|
275
|
+
"data-testid": "ai-assistant-panel",
|
|
276
|
+
[we]: "",
|
|
277
|
+
...$t ? { [Ce]: $t } : {},
|
|
278
|
+
...k ? {
|
|
279
|
+
"data-presentation": "compact",
|
|
280
|
+
...g ? { "data-assistant-surface": g } : {},
|
|
281
|
+
...B ? { "data-assistant-expanded": "" } : {}
|
|
282
|
+
} : {},
|
|
283
|
+
...b ? { "data-assistant-page-hosted": "" } : {},
|
|
284
|
+
tabIndex: -1,
|
|
285
|
+
children: [
|
|
286
|
+
/* @__PURE__ */ u("div", {
|
|
287
|
+
className: "contents",
|
|
288
|
+
inert: V || void 0,
|
|
289
|
+
children: [k ? /* @__PURE__ */ u(et, { children: [A ? /* @__PURE__ */ l(Le, {
|
|
290
|
+
voiceLive: xn.live,
|
|
291
|
+
avatarOn: wn,
|
|
292
|
+
onOpenFull: Tn,
|
|
293
|
+
onMinimize: () => y?.()
|
|
294
|
+
}) : j ? kt ? /* @__PURE__ */ l(Re, {
|
|
295
|
+
conversationMenu: N ? /* @__PURE__ */ l(Pe, {
|
|
296
|
+
open: I,
|
|
297
|
+
onOpenChange: L,
|
|
298
|
+
triggerRef: gn,
|
|
299
|
+
...wt ? { triggerLook: "bar" } : {},
|
|
300
|
+
...Ct ? {
|
|
301
|
+
manage: !0,
|
|
302
|
+
onDeleteConfirmed: kn
|
|
303
|
+
} : {}
|
|
304
|
+
}) : null,
|
|
305
|
+
onTogglePreview: () => Q("preview"),
|
|
306
|
+
previewOpen: C
|
|
307
|
+
}) : null : /* @__PURE__ */ l(Ne, {
|
|
308
|
+
contextLabel: an,
|
|
309
|
+
menuOpen: F,
|
|
310
|
+
menuViewId: Wt,
|
|
311
|
+
onOpenMenu: () => {
|
|
312
|
+
Nt("root"), P(!0);
|
|
313
|
+
},
|
|
314
|
+
menuButtonRef: hn,
|
|
315
|
+
conversationMenu: /* @__PURE__ */ l(Pe, {
|
|
316
|
+
open: I,
|
|
317
|
+
onOpenChange: L,
|
|
318
|
+
triggerRef: gn
|
|
319
|
+
}),
|
|
320
|
+
expandOffered: R,
|
|
321
|
+
expanded: B,
|
|
322
|
+
onToggleExpanded: Rt,
|
|
323
|
+
onTogglePreview: () => Q("preview"),
|
|
324
|
+
previewOpen: C,
|
|
325
|
+
onClose: b ? void 0 : fn
|
|
326
|
+
}), /* @__PURE__ */ l(Fe, {
|
|
327
|
+
open: un,
|
|
328
|
+
onKeep: () => dn(!1),
|
|
329
|
+
onDiscard: pn
|
|
330
|
+
})] }) : /* @__PURE__ */ l(re, {
|
|
331
|
+
contextLabel: an,
|
|
332
|
+
onNewConversation: () => O(),
|
|
333
|
+
onOpenHistory: () => Q("history"),
|
|
334
|
+
historyOpen: E,
|
|
335
|
+
onTogglePreview: () => Q("preview"),
|
|
336
|
+
previewOpen: C,
|
|
337
|
+
onClose: b ? void 0 : n,
|
|
338
|
+
docked: d,
|
|
339
|
+
onToggleDock: b ? void 0 : f
|
|
340
|
+
}), K && !k ? /* @__PURE__ */ l(ge, {
|
|
341
|
+
selected: U ? "avatar" : "chat",
|
|
342
|
+
onSelect: Qt,
|
|
343
|
+
ids: K
|
|
344
|
+
}) : null]
|
|
345
|
+
}),
|
|
346
|
+
M ? /* @__PURE__ */ l(qe, {
|
|
347
|
+
AvatarSettings: Z,
|
|
348
|
+
docked: d,
|
|
349
|
+
onToggleDock: f
|
|
350
|
+
}) : E ? /* @__PURE__ */ l(oe, { presentation: m }) : F ? /* @__PURE__ */ l(Ie, {
|
|
351
|
+
initialView: Mt,
|
|
352
|
+
id: Wt,
|
|
353
|
+
onClose: _n,
|
|
354
|
+
onRequestClosePanel: b ? void 0 : fn,
|
|
355
|
+
onNewConversation: bn,
|
|
356
|
+
AvatarSettings: Z,
|
|
336
357
|
docked: d,
|
|
337
358
|
onToggleDock: b ? void 0 : f
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
onToggleDock: b ? void 0 : f
|
|
357
|
-
}, Pt) : null,
|
|
358
|
-
C && /* @__PURE__ */ l(ye, { onClose: () => x(!1) }),
|
|
359
|
-
/* @__PURE__ */ l("div", {
|
|
360
|
-
className: "contents",
|
|
361
|
-
inert: V || void 0,
|
|
362
|
-
children: /* @__PURE__ */ l(ie, {
|
|
363
|
-
visible: r ?? !0,
|
|
364
|
-
writeAccess: rt,
|
|
365
|
-
presentation: m,
|
|
366
|
-
inputRef: k ? mn : void 0,
|
|
367
|
-
onDraftDirtyChange: k ? cn : void 0,
|
|
368
|
-
...A ? {
|
|
369
|
-
surface: g,
|
|
370
|
-
onWindowVoiceChange: Cn,
|
|
371
|
-
onOpenFull: Tn,
|
|
372
|
-
onContinuedInChat: En
|
|
373
|
-
} : {}
|
|
359
|
+
}, Pt) : null,
|
|
360
|
+
C && /* @__PURE__ */ l(ye, { onClose: () => x(!1) }),
|
|
361
|
+
/* @__PURE__ */ l("div", {
|
|
362
|
+
className: "contents",
|
|
363
|
+
inert: V || void 0,
|
|
364
|
+
children: /* @__PURE__ */ l(ie, {
|
|
365
|
+
visible: r ?? !0,
|
|
366
|
+
writeAccess: rt,
|
|
367
|
+
presentation: m,
|
|
368
|
+
inputRef: k ? mn : void 0,
|
|
369
|
+
onDraftDirtyChange: k ? cn : void 0,
|
|
370
|
+
...A ? {
|
|
371
|
+
surface: g,
|
|
372
|
+
onWindowVoiceChange: Cn,
|
|
373
|
+
onOpenFull: Tn,
|
|
374
|
+
onContinuedInChat: En
|
|
375
|
+
} : {}
|
|
376
|
+
})
|
|
374
377
|
})
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
})
|
|
378
|
-
})
|
|
378
|
+
]
|
|
379
|
+
})
|
|
380
|
+
}) })
|
|
381
|
+
})
|
|
379
382
|
})
|
|
380
383
|
})
|
|
381
384
|
})
|
|
@@ -27,9 +27,19 @@ import { AssistantTr } from '../i18n';
|
|
|
27
27
|
* ★ Presentational: it says what Delete will do and reports the press. Which
|
|
28
28
|
* conversation, and the delete itself, are the caller's
|
|
29
29
|
* (`AssistantConversationDeleteDialogProvider`).
|
|
30
|
+
*
|
|
31
|
+
* ★ BOFF-15057: `wording="chat"` is a page's plain, final words, for a page whose ⋯ manages the
|
|
32
|
+
* chat (FluidGrids' /assistant): "Delete this chat?", "It's removed from your history for good.
|
|
33
|
+
* This can't be undone.", Delete chat and Cancel. Every other panel keeps the words above.
|
|
30
34
|
*/
|
|
31
35
|
/** How long after opening before Delete counts a press. */
|
|
32
36
|
export declare const DELETE_CONFIRM_ARM_MS = 600;
|
|
37
|
+
/**
|
|
38
|
+
* BOFF-15057: which words the confirmation uses. `conversation` (the default): what Delete does to
|
|
39
|
+
* this conversation, synced or on this device only. `chat`: a page's plain, final words, for a page
|
|
40
|
+
* whose ⋯ manages the chat (`AssistantPageHost` `manageChat`).
|
|
41
|
+
*/
|
|
42
|
+
export type AssistantDeleteConversationWording = 'conversation' | 'chat';
|
|
33
43
|
export interface AssistantDeleteConversationDialogProps {
|
|
34
44
|
open: boolean;
|
|
35
45
|
/** The conversation's title; empty when it has none (it is named "Untitled"). */
|
|
@@ -40,6 +50,8 @@ export interface AssistantDeleteConversationDialogProps {
|
|
|
40
50
|
*/
|
|
41
51
|
synced: boolean;
|
|
42
52
|
tr: AssistantTr;
|
|
53
|
+
/** BOFF-15057: the page's plain words (`chat`), or these (`conversation`, the default). */
|
|
54
|
+
wording?: AssistantDeleteConversationWording;
|
|
43
55
|
/** Delete was pressed: armed, trusted, not by Enter. Once per opening. */
|
|
44
56
|
onConfirm: () => void;
|
|
45
57
|
/** Cancel, Esc, the overlay or the close button: nothing is deleted. */
|
|
@@ -4,60 +4,60 @@ import { useEffect as n, useRef as r, useState as i } from "react";
|
|
|
4
4
|
import { X as a } from "lucide-react";
|
|
5
5
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
6
6
|
// src/shared/assistant/ui/AssistantDeleteConversationDialog.tsx
|
|
7
|
-
var l = 600, u = ({ open: a, title: l, synced: u, tr: d,
|
|
8
|
-
let
|
|
7
|
+
var l = 600, u = ({ open: a, title: l, synced: u, tr: d, wording: f = "conversation", onConfirm: p, onDismiss: m }) => {
|
|
8
|
+
let h = r(null), g = r(null), [_, v] = i(!1), y = r(!1);
|
|
9
9
|
n(() => {
|
|
10
10
|
if (!a) {
|
|
11
|
-
|
|
11
|
+
g.current = null, v(!1);
|
|
12
12
|
return;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
let e = setTimeout(() =>
|
|
14
|
+
g.current = Date.now(), y.current = !1, v(!1);
|
|
15
|
+
let e = setTimeout(() => v(!0), 600);
|
|
16
16
|
return () => clearTimeout(e);
|
|
17
17
|
}, [a]);
|
|
18
|
-
let
|
|
19
|
-
e.key === "Enter" && (e.preventDefault(),
|
|
20
|
-
},
|
|
21
|
-
e.key === "Enter" && (
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
if (!e.isTrusted ||
|
|
18
|
+
let b = r(!1), x = (e) => {
|
|
19
|
+
e.key === "Enter" && (e.preventDefault(), b.current = !0);
|
|
20
|
+
}, S = (e) => {
|
|
21
|
+
e.key === "Enter" && (b.current = !1);
|
|
22
|
+
}, C = () => {
|
|
23
|
+
b.current = !1;
|
|
24
|
+
}, w = (e) => {
|
|
25
|
+
if (!e.isTrusted || b.current) return;
|
|
26
|
+
let t = g.current;
|
|
27
|
+
_ && t !== null && (Date.now() - t < 600 || y.current || (y.current = !0, p()));
|
|
28
|
+
}, T = () => {
|
|
29
|
+
b.current || m();
|
|
30
|
+
}, E = (e) => {
|
|
26
31
|
let t = h.current;
|
|
27
|
-
g && t !== null && (Date.now() - t < 600 || v.current || (v.current = !0, f()));
|
|
28
|
-
}, w = () => {
|
|
29
|
-
y.current || p();
|
|
30
|
-
}, T = (e) => {
|
|
31
|
-
let t = m.current;
|
|
32
32
|
t && (e.preventDefault(), t.focus());
|
|
33
|
-
},
|
|
33
|
+
}, D = l.trim() || d("history.untitled", "Untitled conversation"), O = f === "chat", k = O ? d("deleteConversation.chatBody", "It's removed from your history for good. This can't be undone.") : u ? d("deleteConversation.body", "“{{title}}” is removed from all your devices now and permanently erased after 30 days. To hide it without deleting, archive it instead.", { title: D }) : d("deleteConversation.bodyDevice", "“{{title}}” is deleted from this device. This can't be undone.", { title: D });
|
|
34
34
|
return /* @__PURE__ */ s(t, {
|
|
35
35
|
open: a,
|
|
36
|
-
onClose:
|
|
36
|
+
onClose: m,
|
|
37
37
|
role: "alertdialog",
|
|
38
|
-
onOpenAutoFocus:
|
|
38
|
+
onOpenAutoFocus: E,
|
|
39
39
|
testId: "assistant-delete-conversation-dialog",
|
|
40
40
|
size: "sm",
|
|
41
|
-
title: d("deleteConversation.title", "Delete this conversation?"),
|
|
42
|
-
description:
|
|
41
|
+
title: O ? d("deleteConversation.chatTitle", "Delete this chat?") : d("deleteConversation.title", "Delete this conversation?"),
|
|
42
|
+
description: k,
|
|
43
43
|
footer: /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(e, {
|
|
44
|
-
ref:
|
|
44
|
+
ref: h,
|
|
45
45
|
variant: "outline",
|
|
46
|
-
onClick:
|
|
47
|
-
onKeyDown:
|
|
48
|
-
onKeyUp:
|
|
49
|
-
onBlur:
|
|
46
|
+
onClick: T,
|
|
47
|
+
onKeyDown: x,
|
|
48
|
+
onKeyUp: S,
|
|
49
|
+
onBlur: C,
|
|
50
50
|
"data-testid": "assistant-delete-conversation-cancel",
|
|
51
51
|
children: d("deleteConversation.cancel", "Cancel")
|
|
52
52
|
}), /* @__PURE__ */ s(e, {
|
|
53
53
|
variant: "destructive",
|
|
54
|
-
onClick:
|
|
55
|
-
onKeyDown:
|
|
56
|
-
onKeyUp:
|
|
57
|
-
onBlur:
|
|
58
|
-
disabled: !
|
|
54
|
+
onClick: w,
|
|
55
|
+
onKeyDown: x,
|
|
56
|
+
onKeyUp: S,
|
|
57
|
+
onBlur: C,
|
|
58
|
+
disabled: !_,
|
|
59
59
|
"data-testid": "assistant-delete-conversation-confirm",
|
|
60
|
-
children: d("deleteConversation.confirm", "Delete")
|
|
60
|
+
children: O ? d("deleteConversation.chatConfirm", "Delete chat") : d("deleteConversation.confirm", "Delete")
|
|
61
61
|
})] }),
|
|
62
62
|
children: null
|
|
63
63
|
});
|
|
@@ -38,6 +38,9 @@ export interface AssistantConversationMenuProps {
|
|
|
38
38
|
* `data-testid="assistant-more"`, which that shortcut and the doctor suites
|
|
39
39
|
* look for.
|
|
40
40
|
*
|
|
41
|
+
* ★ BOFF-15057: on a page (`manage`, or the page layout) Voice transcript is listed before
|
|
42
|
+
* anything was said in the chat, dimmed, with "(after you talk in this chat)".
|
|
43
|
+
*
|
|
41
44
|
* ★ The actions are the classic ones: `exportConversation` + `downloadFile`
|
|
42
45
|
* (the same projection of what the thread shows, spoken turns labelled), and
|
|
43
46
|
* the transcript opens through the `assistant.transcript` control the chat
|