fix lint error, build error, and apply formatting across components

Suppress react-refresh lint rule in Storybook preview config, fix
LogLevel type annotation in LoggingScreen stories, and apply consistent
formatting and layout improvements across multiple components.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-03-24 10:30:43 -04:00
commit fb4ca78726

View file

@ -20,30 +20,30 @@ export function PromptsScreen({
}: PromptsScreenProps) {
return (
<Container size="xl" py="xl">
<Grid align="stretch">
<Grid.Col span={5}>
<Card withBorder padding="lg" h="100%">
<Stack gap="md">
<ListChangedIndicator
visible={listChanged}
onRefresh={onRefreshList}
/>
<PromptArgumentsForm {...promptForm} />
</Stack>
</Card>
</Grid.Col>
<Grid.Col span={7}>
<Card withBorder padding="lg" h="100%">
{messages ? (
<PromptMessagesDisplay {...messages} />
) : (
<Text c="dimmed" ta="center" py="xl">
Select a prompt and click Get Prompt to see messages
</Text>
)}
</Card>
</Grid.Col>
</Grid>
<Grid align="stretch">
<Grid.Col span={5}>
<Card withBorder padding="lg" h="100%">
<Stack gap="md">
<ListChangedIndicator
visible={listChanged}
onRefresh={onRefreshList}
/>
<PromptArgumentsForm {...promptForm} />
</Stack>
</Card>
</Grid.Col>
<Grid.Col span={7}>
<Card withBorder padding="lg" h="100%">
{messages ? (
<PromptMessagesDisplay {...messages} />
) : (
<Text c="dimmed" ta="center" py="xl">
Select a prompt and click Get Prompt to see messages
</Text>
)}
</Card>
</Grid.Col>
</Grid>
</Container>
);
}