fix(ui): stop the portal rendering its page title twice #468
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/MAPPS-402-portal-title-twice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Drop the redundant PortalLayout
title:prop on the Home, Invoice-detail, and Quotes-list pages (each already renders its own heading), and set the Quotes h1 tofont-bold.Why
Those three rendered an identical/redundant heading twice (the layout
titleh1 stacked above the page own h1). UI audit (MAPPS-399) finding F7, a regression of MAPPS-94.titleis#[props(default)]so dropping it is the same call the TicketList/InvoiceList/KB pages already make.Ticket-detail and quote-detail are intentionally left: their layout title (record ID) is distinct from their card heading (subject/number), so those are a title + content-heading, folded into MAPPS-408.
Closes MAPPS-402.
PortalLayout renders an h1 from its optional `title` prop into the same main column as its page children, so passing it stacks a second heading. Three portal pages rendered a redundant/identical heading twice: Home ("Home" above the "Welcome back" greeting), Invoice detail ("Invoice N" as the layout title AND the card masthead), and the Quotes list ("Quotes" twice, at mismatched weights). Drop the `title:` prop on those three (each keeps its own heading, matching the TicketList / InvoiceList / KB pages that already pass no title), and align the Quotes h1 to font-bold. The ticket-detail (430) and quote-detail (1307) pages are left as-is: their layout title is the record ID ("Ticket N" / "Quote") and their card heading is the distinct subject / number, so those are a title + content-heading, not a redundant double. Their h1 hierarchy is folded into MAPPS-408. Found by the 2026-08-04 UI audit (MAPPS-399), finding F7; regression of MAPPS-94. #MAPPS-402 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>