Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
feat[channels]: big emoji (#2562)
Peter Chinmanafa742696ba9
diff --git a/js/app/packages/channel/Message/Content.tsx b/js/app/packages/channel/Message/Content.tsxindex dad92bfe63..16ddcf2f34 100644--- a/js/app/packages/channel/Message/Content.tsx+++ b/js/app/packages/channel/Message/Content.tsx@@ -1,6 +1,7 @@-import { Show } from 'solid-js';+import { Show, createMemo } from 'solid-js';import { channelTheme } from '@core/component/LexicalMarkdown/theme';+import { isEmojiOnly } from '@core/util/string';import { cn } from '@ui/utils/classname';import { useMessage } from './context';import { StaticMarkdown } from '@core/component/LexicalMarkdown/component/core/StaticMarkdown';@@ -11,10 +12,17 @@ type ContentProps = {export function Content(props: ContentProps) {const message = useMessage();+ const bigEmoji = createMemo(() => isEmojiOnly(message().content ?? ''));return (<Show when={message().content}>- <div class={cn('text-sm whitespace-pre-wrap break-words', props.class)}>+ <div+ class={cn(+ 'whitespace-pre-wrap break-words',+ bigEmoji() ? 'text-4xl' : 'text-sm',+ props.class+ )}+ ><StaticMarkdownmarkdown={message().content ?? ''}theme={channelTheme}