Experimente
Wählen Sie ein Experiment aus, um mit der Annotation zu beginnen oder fortzufahren. diff --git a/src/components/AnnotationViews/AnnotationPageView.tsx b/src/components/AnnotationViews/AnnotationPageView.tsx index 17c4eb2..91888a8 100644 --- a/src/components/AnnotationViews/AnnotationPageView.tsx +++ b/src/components/AnnotationViews/AnnotationPageView.tsx @@ -6,6 +6,7 @@ import { saveAnnotations } from '@/app/actions/annotations'; import { DIALECT_LABELS, type DatasetEntryForAnnotation } from '@/lib/dialects'; import SingleChoiceEntryView from './SingleChoiceEntryView'; import SingleChoiceBinaryEntryView from './SingleChoiceBinaryEntryView'; +import AnnotationSidebarNavigation from './AnnotationSidebarNavigation'; export interface EntryViewProps { entry: DatasetEntryForAnnotation; @@ -95,6 +96,7 @@ export default function AnnotationPageView({ }, [entries]); const [currentIndex, setCurrentIndex] = useState(startingIndex); + const [sidebarOpen, setSidebarOpen] = useState(false); const currentEntry = entries[currentIndex]; const isComplete = entries.every((e) => e.annotation !== null); @@ -127,79 +129,153 @@ export default function AnnotationPageView({ const viewElement = getViewComponent(); if (!viewElement) { return ( -
Unbekannter Annotation-Typ: {viewType}
- - ← Startseite - +Unbekannter Annotation-Typ: {viewType}
+ + ← Startseite + +Fertig!
-- Alle Samples wurden erfolgreich bewertet. Vielen Dank! -
- - Zurück zur Startseite - +Fertig!
++ Alle Samples wurden erfolgreich bewertet. Vielen Dank! +
+ + Zurück zur Startseite + ++
+