refine UI layout, stories, and component consistency across screens
Add HistoryActive and other missing stories to ConnectedLayout, wrap HistoryScreen and TasksScreen in consistent Container/Paper layout, add copy button to MessageBubble, and clean up various component props. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f674ce0c22
commit
bca31d1d3c
1 changed files with 321 additions and 88 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { Image, Paper, Stack, Text } from "@mantine/core";
|
||||
import { Group, Image, Paper, Stack, Text } from "@mantine/core";
|
||||
import { CopyButton } from "../CopyButton/CopyButton";
|
||||
|
||||
export interface MessageBubbleProps {
|
||||
index: number;
|
||||
|
|
@ -18,9 +19,12 @@ export function MessageBubble({
|
|||
return (
|
||||
<Paper p="md" radius="md" withBorder>
|
||||
<Stack gap="xs">
|
||||
<Text size="xs" c="dimmed">
|
||||
[{index}] role: {role}
|
||||
</Text>
|
||||
<Group justify="space-between">
|
||||
<Text size="xs" c="dimmed">
|
||||
[{index}] role: {role}
|
||||
</Text>
|
||||
<CopyButton value={content} />
|
||||
</Group>
|
||||
<Text size="sm">"{content}"</Text>
|
||||
{imageContent && (
|
||||
<Image
|
||||
|
|
|
|||
Loading…
Reference in a new issue