Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chg: use static markdown in calls (#3221)

teo35ba6971f681
diff --git a/js/app/packages/block-call/component/CallRecording/CallRecordingSummary.tsx b/js/app/packages/block-call/component/CallRecording/CallRecordingSummary.tsx
index 34e7f36673..8ea7cfa6c0 100644
--- a/js/app/packages/block-call/component/CallRecording/CallRecordingSummary.tsx
+++ b/js/app/packages/block-call/component/CallRecording/CallRecordingSummary.tsx
@@ -1,3 +1,8 @@
+import {
+ StaticMarkdown,
+ StaticMarkdownContext,
+} from '@core/component/LexicalMarkdown/component/core/StaticMarkdown';
+import { aiChatTheme } from '@core/component/LexicalMarkdown/theme';
import type { CallRecord } from '@service-storage/generated/schemas/callRecord';
import type { Accessor } from 'solid-js';
import { createMemo, Show } from 'solid-js';
@@ -35,9 +40,11 @@ export function CallRecordingSummarySection(props: {
}
>
{(text) => (
- <p class="text-sm/6 text-ink text-pretty whitespace-pre-wrap">
- {text()}
- </p>
+ <div class="text-sm/6 text-ink text-pretty">
+ <StaticMarkdownContext theme={aiChatTheme}>
+ <StaticMarkdown markdown={text()} />
+ </StaticMarkdownContext>
+ </div>
)}
</Show>
</section>