From b9b9b37636d424dda9a5d956fea23725ad5bdd99 Mon Sep 17 00:00:00 2001 From: Replit Agent Date: Thu, 9 Jul 2026 08:25:45 +0000 Subject: [PATCH] Task #727: flush attendees table + rose external pill + darker card text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - AttendeesTable got optional `flush` prop: flush mode drops rounded-xl/border/shadow, uses only border-t so the table attaches full-width inside the expanded booking details card. Dialog usage unchanged (non-flush card style). - Attendee side "خارج الهيئة" pill changed violet → rose (bg-rose-100 text-rose-700), matching the external booking badge. - Darker text in expanded card: title text-slate-900; grid values text-slate-800 font-semibold; removed max-w-2xl width cap. - UI-only; tsc --noEmit clean; architect PASS. --- artifacts/tx-os/src/pages/protocol.tsx | 33 ++++++++++++++++++-------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/artifacts/tx-os/src/pages/protocol.tsx b/artifacts/tx-os/src/pages/protocol.tsx index 0bc476c7..ebfccb59 100644 --- a/artifacts/tx-os/src/pages/protocol.tsx +++ b/artifacts/tx-os/src/pages/protocol.tsx @@ -1225,7 +1225,7 @@ export default function ProtocolPage() { {t("protocol.bookings.table.title")} -
+
{b.title}
@@ -1272,22 +1272,26 @@ export default function ProtocolPage() {
{label}
-
+
{value != null && value !== "" ? value : "—"}
))} -
-
+
+
{t("protocol.bookings.keyAttendees")}
{b.keyAttendees && b.keyAttendees.length > 0 ? ( -
- -
+ ) : ( - + + — + )}
{b.status === "rejected" && b.rejectionReason && ( @@ -2473,12 +2477,21 @@ export default function ProtocolPage() { function AttendeesTable({ attendees, t, + flush = false, }: { attendees: KeyAttendee[]; t: (key: string) => string; + flush?: boolean; }) { return ( -
+
@@ -2509,7 +2522,7 @@ function AttendeesTable({ className={cn( "inline-block whitespace-nowrap rounded-full px-2.5 py-0.5 text-[11px] font-medium", a.side === "external" - ? "bg-violet-100 text-violet-700" + ? "bg-rose-100 text-rose-700" : "bg-sky-100 text-sky-700", )} >