From be1c964051b7de0999c474449068b26228639126 Mon Sep 17 00:00:00 2001 From: "usehoplite[bot]" <288093033+usehoplite[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2026 14:09:48 +0000 Subject: [PATCH 1/3] Fix UX papercuts: auth password visibility, toast a11y, empty-state copy, and portal header contrast - login/register: add show/hide password toggle, remove dead 'Forgot?' href='#' - global toast (providers.tsx): role=alert/status, aria-label dismiss, null-safe message - AppShell: remove duplicate toast render, label mobile menu toggle (aria-expanded) - claims: friendlier empty-state copy for the All Claims tab - portal page headers (advisor/insurer/dashboard): replace white/slate-400 on cream background with the app's light-theme tokens (#191919/#6E6862); page titles were rendering at ~1.06:1 contrast - .gitignore: anchor lib/lib64 to repo root so apps/web/src/lib is no longer ignored --- .gitignore | 4 +-- .hoplite/settings.json | 11 ++++++++ .../src/app/(advisor)/advisor/claims/page.tsx | 4 +-- .../app/(advisor)/advisor/renewals/page.tsx | 4 +-- apps/web/src/app/(auth)/login/page.tsx | 26 +++++++++++-------- apps/web/src/app/(auth)/register/page.tsx | 15 ++++++++--- .../src/app/(dashboard)/claims/[id]/page.tsx | 4 +-- .../src/app/(dashboard)/claims/new/page.tsx | 6 ++--- apps/web/src/app/(dashboard)/claims/page.tsx | 6 ++++- apps/web/src/app/(dashboard)/help/page.tsx | 8 +++--- .../(insurer)/insurer/claims/[id]/page.tsx | 2 +- .../src/app/(insurer)/insurer/claims/page.tsx | 4 +-- .../app/(insurer)/insurer/reports/page.tsx | 8 +++--- apps/web/src/components/layouts/AppShell.tsx | 23 +++------------- apps/web/src/components/providers.tsx | 13 +++++++--- 15 files changed, 79 insertions(+), 59 deletions(-) create mode 100644 .hoplite/settings.json diff --git a/.gitignore b/.gitignore index 05a1505..d389c59 100644 --- a/.gitignore +++ b/.gitignore @@ -28,8 +28,8 @@ dist/ downloads/ eggs/ .eggs/ -lib/ -lib64/ +/lib/ +/lib64/ parts/ sdist/ var/ diff --git a/.hoplite/settings.json b/.hoplite/settings.json new file mode 100644 index 0000000..a0793d1 --- /dev/null +++ b/.hoplite/settings.json @@ -0,0 +1,11 @@ +{ + "version": 1, + "ports": {"preview": 3000, "additional": {}}, + "scripts": { + "setup": {"enabled": true, "command": "pnpm install"}, + "run": {"enabled": true, "command": "tail -f /dev/null | pnpm --filter web dev"}, + "archive": {"enabled": true, "command": null}, + "check": {"enabled": true, "command": "pnpm --filter web exec tsc --noEmit"} + }, + "mcpServers": [] +} diff --git a/apps/web/src/app/(advisor)/advisor/claims/page.tsx b/apps/web/src/app/(advisor)/advisor/claims/page.tsx index 0a7783e..d8b02ba 100644 --- a/apps/web/src/app/(advisor)/advisor/claims/page.tsx +++ b/apps/web/src/app/(advisor)/advisor/claims/page.tsx @@ -130,11 +130,11 @@ export default function AdvisorClaimsOverviewPage() { {/* ── Header ─────────────────────────────────────────────────────────── */}
+
{isLoading ? 'Loading claims across your portfolio…' : `${allClaims.length} total claims across ${customers.length} assigned clients.`} diff --git a/apps/web/src/app/(advisor)/advisor/renewals/page.tsx b/apps/web/src/app/(advisor)/advisor/renewals/page.tsx index b0d5baf..b516ff6 100644 --- a/apps/web/src/app/(advisor)/advisor/renewals/page.tsx +++ b/apps/web/src/app/(advisor)/advisor/renewals/page.tsx @@ -97,8 +97,8 @@ export default function AdvisorRenewalsPage() { {/* Header */}
+
Policies expiring soon across your assigned customers.
+
The claim you are looking for does not exist or you do not have permission to view it.
+
Learn about automatic claims parsing, AI assessment indices, and co-pilot guidelines.
@@ -53,7 +53,7 @@ export default function HelpPage() {diff --git a/apps/web/src/app/(insurer)/insurer/claims/page.tsx b/apps/web/src/app/(insurer)/insurer/claims/page.tsx index 8bbf7da..be8f55b 100644 --- a/apps/web/src/app/(insurer)/insurer/claims/page.tsx +++ b/apps/web/src/app/(insurer)/insurer/claims/page.tsx @@ -184,8 +184,8 @@ function InsurerClaimsQueueContent() {
All submitted and active claims awaiting review.
+All submitted and active claims awaiting review.
Analytics and performance metrics for claims processing.
+Analytics and performance metrics for claims processing.
+
The reports module is under development. It will include claim settlement rates, officer performance metrics, risk distribution charts, and monthly trend analysis.
diff --git a/apps/web/src/components/layouts/AppShell.tsx b/apps/web/src/components/layouts/AppShell.tsx index 0464e25..7a2de90 100644 --- a/apps/web/src/components/layouts/AppShell.tsx +++ b/apps/web/src/components/layouts/AppShell.tsx @@ -32,7 +32,7 @@ export function AppShell({ brandIcon: BrandIcon, }: AppShellProps) { const pathname = usePathname(); - const { user, sidebarOpen, setSidebarOpen, toggleSidebar, syncUser, toast } = useAppStore(); + const { user, sidebarOpen, setSidebarOpen, toggleSidebar, syncUser } = useAppStore(); useEffect(() => { syncUser(); @@ -43,24 +43,6 @@ export function AppShell({ return (