From 1ad147596b6dc64e4e68f26824ee2a8df424ab92 Mon Sep 17 00:00:00 2001
From: "gpt-engineer-app[bot]"
<159125892+gpt-engineer-app[bot]@users.noreply.github.com>
Date: Sat, 18 Apr 2026 21:01:03 +0000
Subject: [PATCH] Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
---
src/routes/calendar.index.tsx | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/src/routes/calendar.index.tsx b/src/routes/calendar.index.tsx
index 7bc6e80..10ff913 100644
--- a/src/routes/calendar.index.tsx
+++ b/src/routes/calendar.index.tsx
@@ -978,7 +978,15 @@ function ListView({ events }: { events: Evt[] }) {
);
}
-function EventRow({ evt, showDate }: { evt: Evt; showDate?: boolean }) {
+function EventRow({
+ evt,
+ showDate,
+ onEdit,
+}: {
+ evt: Evt;
+ showDate?: boolean;
+ onEdit?: (e: Evt) => void;
+}) {
const meta = typeMeta(evt.event_type);
const Icon = evt.source === "task" ? CheckSquare : Briefcase;
const content = (
@@ -997,6 +1005,9 @@ function EventRow({ evt, showDate }: { evt: Evt; showDate?: boolean }) {
{!evt.all_day && {format(parseISO(evt.start), "h:mm a")}}
{evt.all_day && All day}
{evt.case_label && · {evt.case_label}}
+ {evt.client_label && !evt.case_label && (
+ · {evt.client_label}
+ )}
{evt.owner_name && · {evt.owner_name}}
{evt.location && (
@@ -1007,6 +1018,20 @@ function EventRow({ evt, showDate }: { evt: Evt; showDate?: boolean }) {
);
+ // For real "event" rows, clicking opens the edit dialog (preferred over case nav).
+ if (evt.source === "event" && onEdit) {
+ return (
+
+
+
+ );
+ }
if (evt.case_id) {
return (