From 5d822e6c7ebed56a035aab2e5201a1e58cc58702 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Thu, 27 Aug 2026 00:17:25 -0700 Subject: [PATCH] Add annotation modal headings and restore row button styling --- .../annotations/AnnotationsButton.tsx | 1 + .../annotations/AnnotationsModal.tsx | 31 +++++++++++++------ 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/src/app/(main)/websites/[websiteId]/annotations/AnnotationsButton.tsx b/src/app/(main)/websites/[websiteId]/annotations/AnnotationsButton.tsx index 3236b6d88..9d04d5617 100644 --- a/src/app/(main)/websites/[websiteId]/annotations/AnnotationsButton.tsx +++ b/src/app/(main)/websites/[websiteId]/annotations/AnnotationsButton.tsx @@ -15,6 +15,7 @@ export function AnnotationsButton({ websiteId }: { websiteId: string }) { } label={t(labels.notes)} + title={null} variant="quiet" width="800px" > diff --git a/src/app/(main)/websites/[websiteId]/annotations/AnnotationsModal.tsx b/src/app/(main)/websites/[websiteId]/annotations/AnnotationsModal.tsx index 5ea5179d6..62c02b7c1 100644 --- a/src/app/(main)/websites/[websiteId]/annotations/AnnotationsModal.tsx +++ b/src/app/(main)/websites/[websiteId]/annotations/AnnotationsModal.tsx @@ -1,4 +1,13 @@ -import { Button, Column, DataColumn, DataTable, Loading, Row, Text } from '@umami/react-zen'; +import { + Button, + Column, + DataColumn, + DataTable, + Heading, + Loading, + Row, + Text, +} from '@umami/react-zen'; import { useState } from 'react'; import { formatAnnotationDate } from '@/components/charts/ChartAnnotationMarkers'; import { Empty } from '@/components/common/Empty'; @@ -54,12 +63,15 @@ export function AnnotationsModal({ if (view.mode !== 'list') { return ( - + + {t(labels.notes)} + + ); } @@ -71,7 +83,8 @@ export function AnnotationsModal({ return ( - + + {t(labels.notes)}