Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@



██ The Wizard's a little busy 🦔
✘ The Wizard's a little busy

The wizard can still share spells. Grab a skill and let your agent take over.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@



██ The Wizard's a little busy 🦔
✘ The Wizard's a little busy

The wizard can still share spells. Grab a skill and let your agent take
over.
Expand Down
22 changes: 10 additions & 12 deletions src/tui/screens/MintFailureScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useRef, useState, useSyncExternalStore } from 'react';
import type { WizardStore } from '@tui/store';
import { PickerMenu } from '@tui/primitives/index';
import { useStdoutDimensions } from '@tui/hooks/useStdoutDimensions';
import { Colors } from '@tui/styles';
import { Colors, Icons } from '@tui/styles';
import {
MINT_FAILURE_MESSAGE,
MINT_FAILURE_BODY,
Expand All @@ -20,14 +20,6 @@ export type MintFailureServices = {

type Action = 'save' | CodingAgent | 'report' | 'continue' | 'exit' | 'retry';

/** Two blocks of the PostHog flag, left of the headline. */
const Mark = () => (
<Text>
<Text color="#1D4AFF">█</Text>
<Text color={Colors.accent}>█</Text>
</Text>
);

export function MintFailureScreen({
store,
services,
Expand Down Expand Up @@ -117,9 +109,15 @@ export function MintFailureScreen({
flexDirection="column"
alignItems="center"
>
<Text bold>
<Mark /> {spellbook ? 'Skill saved' : MINT_FAILURE_MESSAGE} 🦔
</Text>
{spellbook ? (
<Text color={Colors.success} bold>
{Icons.check} Skill saved
</Text>
) : (
<Text color={Colors.error} bold>
✘ {MINT_FAILURE_MESSAGE}
</Text>
)}
<Box marginTop={1}>
<Text>
{spellbook
Expand Down
Loading