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:
cliffhall 2026-03-23 18:59:38 -04:00
commit bca31d1d3c

View file

@ -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">&quot;{content}&quot;</Text>
{imageContent && (
<Image