Drop the transcript heading and empty-state hint in the conversation view
The encounter view showed an uppercase "Transcript" / "Conversation record" label and "Start the conversation — <bot> is on stage above." before any message. Both repeat what the screen already shows, so they are removed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vyov34VJPqjo6YgiGHnuEL
This commit is contained in:
parent
e55207f5d2
commit
f6b1f4c418
@ -46,8 +46,8 @@ test("create opens form, then empty chat; picker lists bots; sidebar collapses",
|
|||||||
page.getByTestId("transcript").getByText("What do you want me on first?", { exact: true }),
|
page.getByTestId("transcript").getByText("What do you want me on first?", { exact: true }),
|
||||||
).toHaveCount(0);
|
).toHaveCount(0);
|
||||||
await expect(
|
await expect(
|
||||||
page.getByTestId("transcript").getByText("Start the conversation — New Bot is on stage above."),
|
page.getByTestId("transcript").getByText("Start the conversation", { exact: false }),
|
||||||
).toBeVisible();
|
).toHaveCount(0);
|
||||||
await captureScreenshot(page, testInfo, "create-chat-sidepanel-closed");
|
await captureScreenshot(page, testInfo, "create-chat-sidepanel-closed");
|
||||||
|
|
||||||
await page.getByTestId("toggle-bots-sidebar").click();
|
await page.getByTestId("toggle-bots-sidebar").click();
|
||||||
|
|||||||
@ -1461,10 +1461,6 @@ msgstr "Im Hintergrund fortsetzen"
|
|||||||
msgid "Continue with email"
|
msgid "Continue with email"
|
||||||
msgstr "Mit E-Mail fortfahren"
|
msgstr "Mit E-Mail fortfahren"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Conversation record"
|
|
||||||
msgstr "Gesprächsverlauf"
|
|
||||||
|
|
||||||
#: src/pages/ProjectSessionTimeline.tsx
|
#: src/pages/ProjectSessionTimeline.tsx
|
||||||
msgid "Conversations"
|
msgid "Conversations"
|
||||||
msgstr "Unterhaltungen"
|
msgstr "Unterhaltungen"
|
||||||
@ -4821,14 +4817,6 @@ msgstr "Chat starten"
|
|||||||
msgid "Start recording"
|
msgid "Start recording"
|
||||||
msgstr "Aufnahme starten"
|
msgstr "Aufnahme starten"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation — {activeName} is on stage above."
|
|
||||||
msgstr "Starte die Unterhaltung — {activeName} steht oben auf der Bühne."
|
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation."
|
|
||||||
msgstr "Starte die Unterhaltung."
|
|
||||||
|
|
||||||
#: src/components/CookingMode.tsx
|
#: src/components/CookingMode.tsx
|
||||||
msgid "Start timer"
|
msgid "Start timer"
|
||||||
msgstr "Timer starten"
|
msgstr "Timer starten"
|
||||||
@ -5134,7 +5122,6 @@ msgid "Transcribe"
|
|||||||
msgstr "Transkribieren"
|
msgstr "Transkribieren"
|
||||||
|
|
||||||
#: src/components/voice/VoiceStage.tsx
|
#: src/components/voice/VoiceStage.tsx
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Transcript"
|
msgid "Transcript"
|
||||||
msgstr "Transkript"
|
msgstr "Transkript"
|
||||||
|
|
||||||
|
|||||||
@ -1461,10 +1461,6 @@ msgstr "Continue in Background"
|
|||||||
msgid "Continue with email"
|
msgid "Continue with email"
|
||||||
msgstr "Continue with email"
|
msgstr "Continue with email"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Conversation record"
|
|
||||||
msgstr "Conversation record"
|
|
||||||
|
|
||||||
#: src/pages/ProjectSessionTimeline.tsx
|
#: src/pages/ProjectSessionTimeline.tsx
|
||||||
msgid "Conversations"
|
msgid "Conversations"
|
||||||
msgstr "Conversations"
|
msgstr "Conversations"
|
||||||
@ -4821,14 +4817,6 @@ msgstr "Start chat"
|
|||||||
msgid "Start recording"
|
msgid "Start recording"
|
||||||
msgstr "Start recording"
|
msgstr "Start recording"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation — {activeName} is on stage above."
|
|
||||||
msgstr "Start the conversation — {activeName} is on stage above."
|
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation."
|
|
||||||
msgstr "Start the conversation."
|
|
||||||
|
|
||||||
#: src/components/CookingMode.tsx
|
#: src/components/CookingMode.tsx
|
||||||
msgid "Start timer"
|
msgid "Start timer"
|
||||||
msgstr "Start timer"
|
msgstr "Start timer"
|
||||||
@ -5134,7 +5122,6 @@ msgid "Transcribe"
|
|||||||
msgstr "Transcribe"
|
msgstr "Transcribe"
|
||||||
|
|
||||||
#: src/components/voice/VoiceStage.tsx
|
#: src/components/voice/VoiceStage.tsx
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Transcript"
|
msgid "Transcript"
|
||||||
msgstr "Transcript"
|
msgstr "Transcript"
|
||||||
|
|
||||||
|
|||||||
@ -1461,10 +1461,6 @@ msgstr ""
|
|||||||
msgid "Continue with email"
|
msgid "Continue with email"
|
||||||
msgstr "Continuar con el correo"
|
msgstr "Continuar con el correo"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Conversation record"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/ProjectSessionTimeline.tsx
|
#: src/pages/ProjectSessionTimeline.tsx
|
||||||
msgid "Conversations"
|
msgid "Conversations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -4821,14 +4817,6 @@ msgstr ""
|
|||||||
msgid "Start recording"
|
msgid "Start recording"
|
||||||
msgstr "Iniciar grabación"
|
msgstr "Iniciar grabación"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation — {activeName} is on stage above."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/CookingMode.tsx
|
#: src/components/CookingMode.tsx
|
||||||
msgid "Start timer"
|
msgid "Start timer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -5134,7 +5122,6 @@ msgid "Transcribe"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/voice/VoiceStage.tsx
|
#: src/components/voice/VoiceStage.tsx
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Transcript"
|
msgid "Transcript"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@ -1461,10 +1461,6 @@ msgstr ""
|
|||||||
msgid "Continue with email"
|
msgid "Continue with email"
|
||||||
msgstr "ईमेल से जारी रखें"
|
msgstr "ईमेल से जारी रखें"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Conversation record"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/ProjectSessionTimeline.tsx
|
#: src/pages/ProjectSessionTimeline.tsx
|
||||||
msgid "Conversations"
|
msgid "Conversations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -4821,14 +4817,6 @@ msgstr ""
|
|||||||
msgid "Start recording"
|
msgid "Start recording"
|
||||||
msgstr "रिकॉर्डिंग शुरू करें"
|
msgstr "रिकॉर्डिंग शुरू करें"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation — {activeName} is on stage above."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/CookingMode.tsx
|
#: src/components/CookingMode.tsx
|
||||||
msgid "Start timer"
|
msgid "Start timer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -5134,7 +5122,6 @@ msgid "Transcribe"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/voice/VoiceStage.tsx
|
#: src/components/voice/VoiceStage.tsx
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Transcript"
|
msgid "Transcript"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@ -1461,10 +1461,6 @@ msgstr ""
|
|||||||
msgid "Continue with email"
|
msgid "Continue with email"
|
||||||
msgstr "이메일로 계속하기"
|
msgstr "이메일로 계속하기"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Conversation record"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/ProjectSessionTimeline.tsx
|
#: src/pages/ProjectSessionTimeline.tsx
|
||||||
msgid "Conversations"
|
msgid "Conversations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -4821,14 +4817,6 @@ msgstr ""
|
|||||||
msgid "Start recording"
|
msgid "Start recording"
|
||||||
msgstr "작업 녹화 시작"
|
msgstr "작업 녹화 시작"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation — {activeName} is on stage above."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/CookingMode.tsx
|
#: src/components/CookingMode.tsx
|
||||||
msgid "Start timer"
|
msgid "Start timer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -5134,7 +5122,6 @@ msgid "Transcribe"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/voice/VoiceStage.tsx
|
#: src/components/voice/VoiceStage.tsx
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Transcript"
|
msgid "Transcript"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@ -1461,10 +1461,6 @@ msgstr ""
|
|||||||
msgid "Continue with email"
|
msgid "Continue with email"
|
||||||
msgstr "Continuar com e-mail"
|
msgstr "Continuar com e-mail"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Conversation record"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/ProjectSessionTimeline.tsx
|
#: src/pages/ProjectSessionTimeline.tsx
|
||||||
msgid "Conversations"
|
msgid "Conversations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -4821,14 +4817,6 @@ msgstr ""
|
|||||||
msgid "Start recording"
|
msgid "Start recording"
|
||||||
msgstr "Começar a gravar"
|
msgstr "Começar a gravar"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation — {activeName} is on stage above."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/CookingMode.tsx
|
#: src/components/CookingMode.tsx
|
||||||
msgid "Start timer"
|
msgid "Start timer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -5134,7 +5122,6 @@ msgid "Transcribe"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/voice/VoiceStage.tsx
|
#: src/components/voice/VoiceStage.tsx
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Transcript"
|
msgid "Transcript"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@ -1461,10 +1461,6 @@ msgstr "Продолжить в фоне"
|
|||||||
msgid "Continue with email"
|
msgid "Continue with email"
|
||||||
msgstr "Продолжить по электронной почте"
|
msgstr "Продолжить по электронной почте"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Conversation record"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/ProjectSessionTimeline.tsx
|
#: src/pages/ProjectSessionTimeline.tsx
|
||||||
msgid "Conversations"
|
msgid "Conversations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -4821,14 +4817,6 @@ msgstr ""
|
|||||||
msgid "Start recording"
|
msgid "Start recording"
|
||||||
msgstr "Начать запись"
|
msgstr "Начать запись"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation — {activeName} is on stage above."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/CookingMode.tsx
|
#: src/components/CookingMode.tsx
|
||||||
msgid "Start timer"
|
msgid "Start timer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -5134,7 +5122,6 @@ msgid "Transcribe"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/voice/VoiceStage.tsx
|
#: src/components/voice/VoiceStage.tsx
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Transcript"
|
msgid "Transcript"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@ -1461,10 +1461,6 @@ msgstr ""
|
|||||||
msgid "Continue with email"
|
msgid "Continue with email"
|
||||||
msgstr "E-posta ile devam et"
|
msgstr "E-posta ile devam et"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Conversation record"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/ProjectSessionTimeline.tsx
|
#: src/pages/ProjectSessionTimeline.tsx
|
||||||
msgid "Conversations"
|
msgid "Conversations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -4821,14 +4817,6 @@ msgstr ""
|
|||||||
msgid "Start recording"
|
msgid "Start recording"
|
||||||
msgstr "Kaydı başlat"
|
msgstr "Kaydı başlat"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation — {activeName} is on stage above."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/CookingMode.tsx
|
#: src/components/CookingMode.tsx
|
||||||
msgid "Start timer"
|
msgid "Start timer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -5134,7 +5122,6 @@ msgid "Transcribe"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/voice/VoiceStage.tsx
|
#: src/components/voice/VoiceStage.tsx
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Transcript"
|
msgid "Transcript"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@ -1461,10 +1461,6 @@ msgstr ""
|
|||||||
msgid "Continue with email"
|
msgid "Continue with email"
|
||||||
msgstr "使用邮箱继续"
|
msgstr "使用邮箱继续"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Conversation record"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/ProjectSessionTimeline.tsx
|
#: src/pages/ProjectSessionTimeline.tsx
|
||||||
msgid "Conversations"
|
msgid "Conversations"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -4821,14 +4817,6 @@ msgstr ""
|
|||||||
msgid "Start recording"
|
msgid "Start recording"
|
||||||
msgstr "开始录制"
|
msgstr "开始录制"
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation — {activeName} is on stage above."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Start the conversation."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/components/CookingMode.tsx
|
#: src/components/CookingMode.tsx
|
||||||
msgid "Start timer"
|
msgid "Start timer"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -5134,7 +5122,6 @@ msgid "Transcribe"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/components/voice/VoiceStage.tsx
|
#: src/components/voice/VoiceStage.tsx
|
||||||
#: src/pages/shell/transcript.tsx
|
|
||||||
msgid "Transcript"
|
msgid "Transcript"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@ -3321,9 +3321,6 @@ export function ShellPage() {
|
|||||||
key={activeSnapshot?.threadId}
|
key={activeSnapshot?.threadId}
|
||||||
encounterMode={encounterMode}
|
encounterMode={encounterMode}
|
||||||
voiceEncounterActive={voiceEncounterActive}
|
voiceEncounterActive={voiceEncounterActive}
|
||||||
activeName={
|
|
||||||
inGroup ? (activeGroup?.name ?? activeSnapshot?.groupName) : active?.name
|
|
||||||
}
|
|
||||||
scrollRef={messageScroll}
|
scrollRef={messageScroll}
|
||||||
artifactTarget={transcriptArtifactTarget}
|
artifactTarget={transcriptArtifactTarget}
|
||||||
onOpenArtifact={wideLayout ? openArtifactBeside : undefined}
|
onOpenArtifact={wideLayout ? openArtifactBeside : undefined}
|
||||||
|
|||||||
@ -86,7 +86,6 @@ export const Transcript = memo(function Transcript({
|
|||||||
voiceReady,
|
voiceReady,
|
||||||
speakingMessageId,
|
speakingMessageId,
|
||||||
onSpeak,
|
onSpeak,
|
||||||
activeName,
|
|
||||||
encounterMode = false,
|
encounterMode = false,
|
||||||
voiceEncounterActive = false,
|
voiceEncounterActive = false,
|
||||||
}: {
|
}: {
|
||||||
@ -118,7 +117,6 @@ export const Transcript = memo(function Transcript({
|
|||||||
voiceReady: boolean;
|
voiceReady: boolean;
|
||||||
speakingMessageId: string | null;
|
speakingMessageId: string | null;
|
||||||
onSpeak: (message: ThreadMessage) => void;
|
onSpeak: (message: ThreadMessage) => void;
|
||||||
activeName?: string;
|
|
||||||
encounterMode?: boolean;
|
encounterMode?: boolean;
|
||||||
voiceEncounterActive?: boolean;
|
voiceEncounterActive?: boolean;
|
||||||
}) {
|
}) {
|
||||||
@ -350,11 +348,6 @@ export const Transcript = memo(function Transcript({
|
|||||||
encounterMode ? "gap-2 px-3 py-3 md:px-6 md:py-4" : "gap-3.5 px-3.5 py-4 md:px-8 md:py-6"
|
encounterMode ? "gap-2 px-3 py-3 md:px-6 md:py-4" : "gap-3.5 px-3.5 py-4 md:px-8 md:py-6"
|
||||||
} ${transcriptSubordinate ? "opacity-75" : ""}`}
|
} ${transcriptSubordinate ? "opacity-75" : ""}`}
|
||||||
>
|
>
|
||||||
{encounterMode ? (
|
|
||||||
<p className="mx-auto w-full max-w-2xl px-1 text-ui-label font-medium uppercase tracking-wider text-muted-foreground/80">
|
|
||||||
{voiceEncounterActive ? <Trans>Transcript</Trans> : <Trans>Conversation record</Trans>}
|
|
||||||
</p>
|
|
||||||
) : null}
|
|
||||||
{olderCursor != null ? (
|
{olderCursor != null ? (
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
@ -370,13 +363,6 @@ export const Transcript = memo(function Transcript({
|
|||||||
encounterMode ? "max-w-2xl gap-3" : "max-w-4xl gap-6 pb-8"
|
encounterMode ? "max-w-2xl gap-3" : "max-w-4xl gap-6 pb-8"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{reactionView.visibleMessages.length === 0 && encounterMode ? (
|
|
||||||
<p className="py-2 text-ui-body-sm text-muted-foreground">
|
|
||||||
{activeName
|
|
||||||
? t`Start the conversation — ${activeName} is on stage above.`
|
|
||||||
: t`Start the conversation.`}
|
|
||||||
</p>
|
|
||||||
) : null}
|
|
||||||
{reactionView.visibleMessages.map((message) => {
|
{reactionView.visibleMessages.map((message) => {
|
||||||
if (!message.blocks.some((block) => !isToolActivityBlock(block))) return null;
|
if (!message.blocks.some((block) => !isToolActivityBlock(block))) return null;
|
||||||
const peerReceipt = isPeerReceiptBlocks(message.blocks);
|
const peerReceipt = isPeerReceiptBlocks(message.blocks);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user