From dcdcf6584c334d2d6e4482d52538befc1bb16ac4 Mon Sep 17 00:00:00 2001 From: smaubio <118258478+smaubio@users.noreply.github.com> Date: Fri, 10 Apr 2026 10:13:57 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20add=20Einf=C3=BChrung=20button=20to=20a?= =?UTF-8?q?nnotation=20top=20bar=20that=20navigates=20back=20to=20the=20in?= =?UTF-8?q?tro=20screen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AnnotationViews/AnnotationPageView.tsx | 15 +++++++++++++-- .../AnnotationViews/AnnotationPhase.tsx | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/components/AnnotationViews/AnnotationPageView.tsx b/src/components/AnnotationViews/AnnotationPageView.tsx index 2d25aeb..229fe43 100644 --- a/src/components/AnnotationViews/AnnotationPageView.tsx +++ b/src/components/AnnotationViews/AnnotationPageView.tsx @@ -24,12 +24,14 @@ interface AnnotationPageViewProps { entries: DatasetEntryForAnnotation[]; experimentId: number; viewType: string; + onShowIntro?: () => void; } -export default function AnnotationPageView({ - entries, +export default function AnnotationPageView({ + entries, experimentId, viewType, + onShowIntro, }: AnnotationPageViewProps) { const [isPending, startTransition] = useTransition(); @@ -287,6 +289,15 @@ export default function AnnotationPageView({ + {onShowIntro && ( + + )} + {Object.keys(dialectScores).length > 0 && (