refine UI layout, theming, and component consistency across screens

- Add MCP logo (light/dark variants) to ConnectedLayout header
- Replace Tabs with SegmentedControl in header, split into 1/3 sections
- Wrap all screens in Container for consistent margins
- Use Card instead of Paper for panel backgrounds across all screens
- Add SubscribeButton atom, CopyButton for resource URI
- Move annotations from ResourceListItem to ResourcePreviewPanel
- Improve AnnotationBadge colors for dark mode visibility
- Add Tools, Resources, and Prompts headers to list panels
- Add ConnectedLayout stories for Tools, Resources, and Prompts tabs
- Remove unused onCopy prop and copy button from PromptMessagesDisplay

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-03-23 16:56:53 -04:00
commit f674ce0c22

View file

@ -1,4 +1,4 @@
import { Button, Stack, Text, Title } from "@mantine/core";
import { Stack, Text, Title } from "@mantine/core";
import { MessageBubble } from "../../atoms/MessageBubble/MessageBubble";
export interface PromptMessage {
@ -10,12 +10,10 @@ export interface PromptMessage {
export interface PromptMessagesDisplayProps {
messages: PromptMessage[];
onCopy: () => void;
}
export function PromptMessagesDisplay({
messages,
onCopy,
}: PromptMessagesDisplayProps) {
return (
<Stack gap="md">
@ -34,9 +32,6 @@ export function PromptMessagesDisplay({
/>
))
)}
<Button variant="light" size="sm" onClick={onCopy}>
Copy
</Button>
</Stack>
);
}