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
5 changes: 3 additions & 2 deletions template/src/pages/home/ui/HomePage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import { Timeline, snapshotStore } from '@/widgets/timeline';
import { VersionFooter } from '@/widgets/version-footer';
import { Alert, Button } from '@/shared/ui';
import RotateCcw from '@lucide/svelte/icons/rotate-ccw';
import type { ArtifactKind, ArtifactStatus } from '@/entities/artifact';
import {
MosaicCanvas,
Expand Down Expand Up @@ -291,10 +292,10 @@
<div class="error-row">
<code class="error-msg">{globalError}</code>
<Button
variant="ghost"
variant="secondary"
size="sm"
onclick={() => { listPoller.refresh(); graphPoller.refresh(); }}
>retry</Button>
><RotateCcw size={12} />Retry</Button>
</div>
</Alert>
{/if}
Expand Down
4 changes: 3 additions & 1 deletion template/src/widgets/timeline/ui/Timeline.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
type TimelineEvent
} from '../index';
import { Button } from '@/shared/ui';
import ChevronDown from '@lucide/svelte/icons/chevron-down';
import ChevronUp from '@lucide/svelte/icons/chevron-up';

const SCRUBBER_DEBOUNCE_MS = 200;
const TIMELINE_HEIGHT_PX = 60;
Expand Down Expand Up @@ -166,7 +168,7 @@
aria-controls="timeline-body"
aria-label={snapshotStore.collapsed ? 'Expand timeline' : 'Collapse timeline'}
>
{snapshotStore.collapsed ? '▴ Timeline' : '▾ Timeline'}
{#if snapshotStore.collapsed}<ChevronUp size={12} />TIMELINE{:else}<ChevronDown size={12} />TIMELINE{/if}
</Button>
<span class="status">
{#if snapshotStore.mode === 'now'}
Expand Down
Loading