From 258b6f0052fc0a8cf6d086ea4f432a87077a6d66 Mon Sep 17 00:00:00 2001 From: Replit Agent Date: Thu, 9 Jul 2026 09:06:27 +0000 Subject: [PATCH] =?UTF-8?q?Task=20#733:=20dark=20outline=20around=20expand?= =?UTF-8?q?ed=20booking=20+=20its=20details;=20removed=20"=D8=A7=D8=B3?= =?UTF-8?q?=D9=85=20=D8=A7=D9=84=D8=A7=D8=AC=D8=AA=D9=85=D8=A7=D8=B9"=20la?= =?UTF-8?q?bel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - protocol.tsx renderBookingRow: when expanded, the booking row gets border-2 border-b-0 border-slate-500 and the details row gets !border-2 !border-t-0 !border-slate-500 — one continuous dark frame around the whole block. Important modifiers on the details row defeat TableBody's [&_tr:last-child]:border-0 reset so the frame survives when the expanded booking is the last row (architect review fix). Removed the old inner border-b slate-400 on the details container. - Details card header: removed the small "اسم الاجتماع" label span; only the meeting title (b.title, centered, bold) remains. - Deleted the now-unused protocol.bookings.table.title key from ar.json and en.json (verified no remaining usages, JSON parses). - UI-only; tsc --noEmit clean. --- artifacts/tx-os/src/locales/ar.json | 1 - artifacts/tx-os/src/locales/en.json | 1 - artifacts/tx-os/src/pages/protocol.tsx | 11 ++++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/artifacts/tx-os/src/locales/ar.json b/artifacts/tx-os/src/locales/ar.json index b1146b4d..7996a583 100644 --- a/artifacts/tx-os/src/locales/ar.json +++ b/artifacts/tx-os/src/locales/ar.json @@ -1811,7 +1811,6 @@ "linkCopied": "تم نسخ الرابط", "linkCopyFailed": "تعذّر نسخ الرابط", "table": { - "title": "اسم الاجتماع", "number": "رقم الحجز", "requester": "مقدم الطلب", "date": "تاريخ الحجز", diff --git a/artifacts/tx-os/src/locales/en.json b/artifacts/tx-os/src/locales/en.json index 96442bb7..5096ff45 100644 --- a/artifacts/tx-os/src/locales/en.json +++ b/artifacts/tx-os/src/locales/en.json @@ -1664,7 +1664,6 @@ "linkCopied": "Link copied", "linkCopyFailed": "Could not copy the link", "table": { - "title": "Meeting name", "number": "Booking No.", "requester": "Requester", "date": "Booking date", diff --git a/artifacts/tx-os/src/pages/protocol.tsx b/artifacts/tx-os/src/pages/protocol.tsx index 8a4ead5b..5adc874d 100644 --- a/artifacts/tx-os/src/pages/protocol.tsx +++ b/artifacts/tx-os/src/pages/protocol.tsx @@ -1044,6 +1044,7 @@ export default function ProtocolPage() { bookingIsToday ? "bg-emerald-50/60 hover:bg-emerald-50" : "odd:bg-white even:bg-slate-50/60", + expanded && "border-2 border-b-0 border-slate-500", )} data-testid={`booking-row-${b.id}`} > @@ -1218,13 +1219,13 @@ export default function ProtocolPage() { {expanded && ( - + -
+
- - {t("protocol.bookings.table.title")} -
{b.title}