From 662eb8abc5afdffc07955e07833885e5ec8ab0db Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Sun, 1 Mar 2026 23:23:46 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20Phase=202=20Aether=20Drift=20=E2=80=94?= =?UTF-8?q?=20chat=20component=20token=20migration=20+=20scroll=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Migrate all 8 chat rendering components from Discord tokens to Aether Drift design system: Message, MarkdownRenderer, MentionBadge, MentionPopover, FriendsPage, TypingIndicator, Embed, ImagePreview. Eliminates ~83 discord-* class references and ~24 hardcoded hex values from components/chat/. Fix critical scroll regression from Phase 1 grid migration by adding explicit grid-rows-[minmax(0,1fr)] and min-h-0 to AppLayout's grid container, restoring the height constraint chain to MessageList's overflow-y-auto. --- packages/web/src/components/chat/Embed.tsx | 8 +-- .../web/src/components/chat/FriendsPage.tsx | 64 +++++++++---------- .../web/src/components/chat/ImagePreview.tsx | 2 +- .../src/components/chat/MarkdownRenderer.tsx | 40 ++++++------ .../web/src/components/chat/MentionBadge.tsx | 6 +- .../src/components/chat/MentionPopover.tsx | 10 +-- packages/web/src/components/chat/Message.tsx | 60 ++++++++--------- .../src/components/chat/TypingIndicator.tsx | 10 +-- .../web/src/components/layout/AppLayout.tsx | 4 +- 9 files changed, 102 insertions(+), 102 deletions(-) diff --git a/packages/web/src/components/chat/Embed.tsx b/packages/web/src/components/chat/Embed.tsx index 150627e4..2645b823 100644 --- a/packages/web/src/components/chat/Embed.tsx +++ b/packages/web/src/components/chat/Embed.tsx @@ -42,10 +42,10 @@ export function Embed({ url }: EmbedProps) { if (isLoading || !metadata) return null; return ( -
No one's around to play with Wumpus.
+No one's around to play with Wumpus.
Wumpus is waiting on friends. You can add them!
+Wumpus is waiting on friends. You can add them!
There are no pending friend requests. Here's Wumpus for now!
+There are no pending friend requests. Here's Wumpus for now!
You can add friends with their Backspace username.
+You can add friends with their Backspace username.
{addStatus && ( -