Drop the transcript heading and empty-state hint in the conversation view (#163)
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. Claude-Session: https://claude.ai/code/session_01Vyov34VJPqjo6YgiGHnuEL Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
3b2c46dd36
commit
0122fef89e
@ -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 }),
|
||||
).toHaveCount(0);
|
||||
await expect(
|
||||
page.getByTestId("transcript").getByText("Start the conversation — New Bot is on stage above."),
|
||||
).toBeVisible();
|
||||
page.getByTestId("transcript").getByText("Start the conversation", { exact: false }),
|
||||
).toHaveCount(0);
|
||||
await captureScreenshot(page, testInfo, "create-chat-sidepanel-closed");
|
||||
|
||||
await page.getByTestId("toggle-bots-sidebar").click();
|
||||
|
||||
@ -1465,10 +1465,6 @@ msgstr "Im Hintergrund fortsetzen"
|
||||
msgid "Continue with email"
|
||||
msgstr "Mit E-Mail fortfahren"
|
||||
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Conversation record"
|
||||
msgstr "Gesprächsverlauf"
|
||||
|
||||
#: src/pages/ProjectSessionTimeline.tsx
|
||||
msgid "Conversations"
|
||||
msgstr "Unterhaltungen"
|
||||
@ -4829,14 +4825,6 @@ msgstr "Chat starten"
|
||||
msgid "Start recording"
|
||||
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
|
||||
msgid "Start timer"
|
||||
msgstr "Timer starten"
|
||||
@ -5162,7 +5150,6 @@ msgid "Transcribe"
|
||||
msgstr "Transkribieren"
|
||||
|
||||
#: src/components/voice/VoiceStage.tsx
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Transcript"
|
||||
msgstr "Transkript"
|
||||
|
||||
|
||||
@ -1465,10 +1465,6 @@ msgstr "Continue in Background"
|
||||
msgid "Continue with email"
|
||||
msgstr "Continue with email"
|
||||
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Conversation record"
|
||||
msgstr "Conversation record"
|
||||
|
||||
#: src/pages/ProjectSessionTimeline.tsx
|
||||
msgid "Conversations"
|
||||
msgstr "Conversations"
|
||||
@ -4829,14 +4825,6 @@ msgstr "Start chat"
|
||||
msgid "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
|
||||
msgid "Start timer"
|
||||
msgstr "Start timer"
|
||||
@ -5162,7 +5150,6 @@ msgid "Transcribe"
|
||||
msgstr "Transcribe"
|
||||
|
||||
#: src/components/voice/VoiceStage.tsx
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Transcript"
|
||||
msgstr "Transcript"
|
||||
|
||||
|
||||
@ -1465,10 +1465,6 @@ msgstr ""
|
||||
msgid "Continue with email"
|
||||
msgstr "Continuar con el correo"
|
||||
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Conversation record"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/ProjectSessionTimeline.tsx
|
||||
msgid "Conversations"
|
||||
msgstr ""
|
||||
@ -4829,14 +4825,6 @@ msgstr ""
|
||||
msgid "Start recording"
|
||||
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
|
||||
msgid "Start timer"
|
||||
msgstr ""
|
||||
@ -5162,7 +5150,6 @@ msgid "Transcribe"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/voice/VoiceStage.tsx
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Transcript"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@ -1465,10 +1465,6 @@ msgstr ""
|
||||
msgid "Continue with email"
|
||||
msgstr "ईमेल से जारी रखें"
|
||||
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Conversation record"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/ProjectSessionTimeline.tsx
|
||||
msgid "Conversations"
|
||||
msgstr ""
|
||||
@ -4829,14 +4825,6 @@ msgstr ""
|
||||
msgid "Start recording"
|
||||
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
|
||||
msgid "Start timer"
|
||||
msgstr ""
|
||||
@ -5162,7 +5150,6 @@ msgid "Transcribe"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/voice/VoiceStage.tsx
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Transcript"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@ -1465,10 +1465,6 @@ msgstr ""
|
||||
msgid "Continue with email"
|
||||
msgstr "이메일로 계속하기"
|
||||
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Conversation record"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/ProjectSessionTimeline.tsx
|
||||
msgid "Conversations"
|
||||
msgstr ""
|
||||
@ -4829,14 +4825,6 @@ msgstr ""
|
||||
msgid "Start recording"
|
||||
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
|
||||
msgid "Start timer"
|
||||
msgstr ""
|
||||
@ -5162,7 +5150,6 @@ msgid "Transcribe"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/voice/VoiceStage.tsx
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Transcript"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@ -1465,10 +1465,6 @@ msgstr ""
|
||||
msgid "Continue with email"
|
||||
msgstr "Continuar com e-mail"
|
||||
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Conversation record"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/ProjectSessionTimeline.tsx
|
||||
msgid "Conversations"
|
||||
msgstr ""
|
||||
@ -4829,14 +4825,6 @@ msgstr ""
|
||||
msgid "Start recording"
|
||||
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
|
||||
msgid "Start timer"
|
||||
msgstr ""
|
||||
@ -5162,7 +5150,6 @@ msgid "Transcribe"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/voice/VoiceStage.tsx
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Transcript"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@ -1465,10 +1465,6 @@ msgstr "Продолжить в фоне"
|
||||
msgid "Continue with email"
|
||||
msgstr "Продолжить по электронной почте"
|
||||
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Conversation record"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/ProjectSessionTimeline.tsx
|
||||
msgid "Conversations"
|
||||
msgstr ""
|
||||
@ -4829,14 +4825,6 @@ msgstr ""
|
||||
msgid "Start recording"
|
||||
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
|
||||
msgid "Start timer"
|
||||
msgstr ""
|
||||
@ -5162,7 +5150,6 @@ msgid "Transcribe"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/voice/VoiceStage.tsx
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Transcript"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@ -1465,10 +1465,6 @@ msgstr ""
|
||||
msgid "Continue with email"
|
||||
msgstr "E-posta ile devam et"
|
||||
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Conversation record"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/ProjectSessionTimeline.tsx
|
||||
msgid "Conversations"
|
||||
msgstr ""
|
||||
@ -4829,14 +4825,6 @@ msgstr ""
|
||||
msgid "Start recording"
|
||||
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
|
||||
msgid "Start timer"
|
||||
msgstr ""
|
||||
@ -5162,7 +5150,6 @@ msgid "Transcribe"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/voice/VoiceStage.tsx
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Transcript"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@ -1465,10 +1465,6 @@ msgstr ""
|
||||
msgid "Continue with email"
|
||||
msgstr "使用邮箱继续"
|
||||
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Conversation record"
|
||||
msgstr ""
|
||||
|
||||
#: src/pages/ProjectSessionTimeline.tsx
|
||||
msgid "Conversations"
|
||||
msgstr ""
|
||||
@ -4829,14 +4825,6 @@ msgstr ""
|
||||
msgid "Start recording"
|
||||
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
|
||||
msgid "Start timer"
|
||||
msgstr ""
|
||||
@ -5162,7 +5150,6 @@ msgid "Transcribe"
|
||||
msgstr ""
|
||||
|
||||
#: src/components/voice/VoiceStage.tsx
|
||||
#: src/pages/shell/transcript.tsx
|
||||
msgid "Transcript"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@ -3321,9 +3321,6 @@ export function ShellPage() {
|
||||
key={activeSnapshot?.threadId}
|
||||
encounterMode={encounterMode}
|
||||
voiceEncounterActive={voiceEncounterActive}
|
||||
activeName={
|
||||
inGroup ? (activeGroup?.name ?? activeSnapshot?.groupName) : active?.name
|
||||
}
|
||||
scrollRef={messageScroll}
|
||||
artifactTarget={transcriptArtifactTarget}
|
||||
onOpenArtifact={wideLayout ? openArtifactBeside : undefined}
|
||||
|
||||
@ -86,7 +86,6 @@ export const Transcript = memo(function Transcript({
|
||||
voiceReady,
|
||||
speakingMessageId,
|
||||
onSpeak,
|
||||
activeName,
|
||||
encounterMode = false,
|
||||
voiceEncounterActive = false,
|
||||
}: {
|
||||
@ -118,7 +117,6 @@ export const Transcript = memo(function Transcript({
|
||||
voiceReady: boolean;
|
||||
speakingMessageId: string | null;
|
||||
onSpeak: (message: ThreadMessage) => void;
|
||||
activeName?: string;
|
||||
encounterMode?: 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"
|
||||
} ${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 ? (
|
||||
<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"
|
||||
}`}
|
||||
>
|
||||
{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) => {
|
||||
if (!message.blocks.some((block) => !isToolActivityBlock(block))) return null;
|
||||
const peerReceipt = isPeerReceiptBlocks(message.blocks);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user