From b4bb5407c9bbe8ea699502c4f76c1f5a2f27f527 Mon Sep 17 00:00:00 2001 From: riyadhafraa <49757212-riyadhafraa@users.noreply.replit.com> Date: Tue, 19 May 2026 17:12:37 +0000 Subject: [PATCH] Improve usability and appearance of notes and meetings sections Adjust styling for mobile responsiveness in the notes header, improve contrast for completed checklist items, and refine the layout of the executive meetings form dialog. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 77cfe984-2c65-4152-bb7a-0df28274fe66 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: ce2e0a68-adc1-43df-936b-f4a7772ac303 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/c3c252e4-c83d-40ca-9fff-99a3ea60701e/77cfe984-2c65-4152-bb7a-0df28274fe66/IO8TMSC Replit-Helium-Checkpoint-Created: true --- .../tx-os/src/components/notes/composer.tsx | 2 +- .../components/notes/incoming-note-popup.tsx | 2 +- .../tx-os/src/pages/executive-meetings.tsx | 16 ++++----- artifacts/tx-os/src/pages/notes.tsx | 34 ++++++++++--------- 4 files changed, 28 insertions(+), 26 deletions(-) diff --git a/artifacts/tx-os/src/components/notes/composer.tsx b/artifacts/tx-os/src/components/notes/composer.tsx index 96c77827..6a87718d 100644 --- a/artifacts/tx-os/src/components/notes/composer.tsx +++ b/artifacts/tx-os/src/components/notes/composer.tsx @@ -108,7 +108,7 @@ export function ChecklistEditor({ }} placeholder={t("notes.checklist.itemPlaceholder", "List item")} className={`h-8 border-0 bg-transparent shadow-none focus-visible:ring-0 px-1 ${ - it.done ? "line-through text-muted-foreground" : "" + it.done ? "line-through decoration-foreground/60 text-foreground/55" : "text-foreground" }`} data-testid={`${testIdPrefix}-text-${it.id}`} /> diff --git a/artifacts/tx-os/src/components/notes/incoming-note-popup.tsx b/artifacts/tx-os/src/components/notes/incoming-note-popup.tsx index 6519bee9..5e588958 100644 --- a/artifacts/tx-os/src/components/notes/incoming-note-popup.tsx +++ b/artifacts/tx-os/src/components/notes/incoming-note-popup.tsx @@ -222,7 +222,7 @@ function PopupChecklistPreview({ /> {it.text || "\u00A0"} diff --git a/artifacts/tx-os/src/pages/executive-meetings.tsx b/artifacts/tx-os/src/pages/executive-meetings.tsx index 37a25963..fdc65b6a 100644 --- a/artifacts/tx-os/src/pages/executive-meetings.tsx +++ b/artifacts/tx-os/src/pages/executive-meetings.tsx @@ -7522,20 +7522,20 @@ function MeetingFormDialog({ on mobile. Without this the whole sheet scrolled and the Save/Cancel buttons slid below the visible 90vh viewport on phones. Reduced mobile padding/gaps; desktop unchanged. */} - + - + {state.id == null ? t("executiveMeetings.manage.addMeeting") : t("executiveMeetings.manage.editMeeting")} -
- {/* #322 polish (grid): title spans full width. Date + daily - number always share one row (both are short). Time pickers - are full-width on mobile so the AM/PM controls don't get - cramped, but share a row on tablet/desktop. */} -
+
+ {/* #322 polish (grid): title spans full width. On phones every + field stacks (single column) so labels/inputs don't get + crammed and hints stay tied to their own input. From sm+ + date+daily-number share a row and time pickers share a row. */} +
-
+
+
-
- -

+
+ + +

{t("notes.title", "Notes")}

-
+
{/* The icon sits on the start side in both directions (right in RTL, left in LTR), so the input's reserved @@ -619,7 +621,7 @@ export default function NotesPage() { value={search} onChange={(e) => setSearch(e.target.value)} placeholder={t("notes.searchPlaceholder", "Search notes")} - className="ps-11 h-12 text-base" + className="ps-10 sm:ps-11 h-10 sm:h-12 text-sm sm:text-base" />
@@ -627,14 +629,14 @@ export default function NotesPage() { variant="ghost" onClick={() => setLabelsDialogOpen(true)} data-testid="notes-manage-labels-open" - className="h-12 px-4 text-base" + className="h-10 sm:h-12 px-2 sm:px-4 text-sm sm:text-base" > - - {t("notes.labels", "Labels")} + + {t("notes.labels", "Labels")}
-
+
{/* replaced the four-tab email-style bar with a unified feed. The page opens directly on "My Notes"; Inbox / Sent / Archived now live in the overflow menu (⋯) on the end of the @@ -3057,7 +3059,7 @@ function ChecklistView({ /> {it.text || "\u00A0"}