feat: add span-label-types link to main page and create migration for default types

This commit is contained in:
Marko Djordjevic 2026-02-14 11:16:33 +01:00
parent 38cbdc22e1
commit 6a899c3ecf
4 changed files with 495 additions and 6 deletions

View file

@ -244,12 +244,20 @@ export default function Home() {
<div className="p-6 border-b border-border">
<h1 className="text-2xl font-semibold text-foreground">Candle Annotator</h1>
<p className="text-sm text-muted-foreground mt-1">Chart annotation tool</p>
<a
href="/annotation-types"
className="mt-3 inline-block text-sm text-muted-foreground hover:text-foreground"
>
Manage Annotation Types
</a>
<div className="mt-3 flex flex-col gap-1">
<a
href="/annotation-types"
className="text-sm text-muted-foreground hover:text-foreground"
>
Manage Annotation Types
</a>
<a
href="/span-label-types"
className="text-sm text-muted-foreground hover:text-foreground"
>
Manage Span Label Types
</a>
</div>
</div>
<div className="p-6 pb-3">
<ChartSelector