From 1e3419b0cb03611f119563733e95d68c1acbd43f Mon Sep 17 00:00:00 2001 From: riyadhafraa <49757212-riyadhafraa@users.noreply.replit.com> Date: Mon, 4 May 2026 14:11:15 +0000 Subject: [PATCH] Apply row styling only to meeting number and title columns Removes row background and border styling from the attendees and time columns in the PDF renderer and the web interface. Adjusts the `tintedCellStyle` function to conditionally apply border styling based on `applyRowColor` flag. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 77cfe984-2c65-4152-bb7a-0df28274fe66 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: ed9f2aec-9e1e-4b42-9747-7e4482299fce Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/c3c252e4-c83d-40ca-9fff-99a3ea60701e/77cfe984-2c65-4152-bb7a-0df28274fe66/Msx3Bax Replit-Helium-Checkpoint-Created: true --- artifacts/api-server/src/lib/pdf-html-renderer.ts | 4 ++-- artifacts/tx-os/src/pages/executive-meetings.tsx | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/artifacts/api-server/src/lib/pdf-html-renderer.ts b/artifacts/api-server/src/lib/pdf-html-renderer.ts index 273d0dce..08ad9eff 100644 --- a/artifacts/api-server/src/lib/pdf-html-renderer.ts +++ b/artifacts/api-server/src/lib/pdf-html-renderer.ts @@ -219,8 +219,8 @@ function buildMeetingRow(meeting: PdfMeeting, input: RenderPdfInput): string { const cellsLtr: TableCell[] = [ { html: esc(String(meeting.dailyNumber)), cls: "num-cell", style: coloredStyle }, { html: esc(title) + location, cls: "meeting-cell", style: coloredStyle }, - { html: attendeesHtml, cls: "attendees-cell", style: coloredStyle }, - { html: `${esc(time)}`, cls: "time-cell", style: coloredStyle }, + { html: attendeesHtml, cls: "attendees-cell", style: "" }, + { html: `${esc(time)}`, cls: "time-cell", style: "" }, ]; const renderCells = (cells: TableCell[], allColored: boolean): string => diff --git a/artifacts/tx-os/src/pages/executive-meetings.tsx b/artifacts/tx-os/src/pages/executive-meetings.tsx index 8ac145ad..941308a3 100644 --- a/artifacts/tx-os/src/pages/executive-meetings.tsx +++ b/artifacts/tx-os/src/pages/executive-meetings.tsx @@ -3636,9 +3636,9 @@ function MeetingRow({ isCurrent && !(highlight || isCancelled) ? hexToRgba(highlightColor, 0.13) : null; - const tintedCellStyle = (col: ColumnSetting, applyRowBg = false): CSSProperties => { - const bg = tintBg || (applyRowBg && rowBg) || undefined; - const bc = rowBorder || undefined; + const tintedCellStyle = (col: ColumnSetting, applyRowColor = false): CSSProperties => { + const bg = tintBg || (applyRowColor && rowBg) || undefined; + const bc = (applyRowColor && rowBorder) || undefined; if (bg || bc) { return { ...cellStyle(col), ...(bg ? { backgroundColor: bg } : null), ...(bc ? { borderColor: bc } : null) }; } @@ -3801,7 +3801,7 @@ function MeetingRow({