fix(ui): remove fabricated demo data from the portal home #471

Merged
nrupard merged 1 commit from fix/MAPPS-403-gate-demo into main 2026-08-04 21:32:36 +02:00
Owner

What

Remove the fabricated demo blocks from the portal home: the "Welcome back, Bob" name, the three invented stat cards, and the demo ticket/invoice lists. Replace with a neutral placeholder; keep the real Quick Actions links. Delete the now-dead PortalTicketItem/PortalInvoiceItem.

Why

The home shipped invented counts and fake TKT-/INV- rows to real clients. Per the MAPPS-403 decision, feature-gate (hide) rather than wire to the API (deferred). MAPPS-399 F17.

Note

The portal list pages (PortalTicketListPage / PortalInvoiceListPage) still carry their own demo rows - out of this home-scoped ticket, tracked as a follow-up.

Closes MAPPS-403.

## What Remove the fabricated demo blocks from the portal home: the "Welcome back, Bob" name, the three invented stat cards, and the demo ticket/invoice lists. Replace with a neutral placeholder; keep the real Quick Actions links. Delete the now-dead PortalTicketItem/PortalInvoiceItem. ## Why The home shipped invented counts and fake TKT-/INV- rows to real clients. Per the MAPPS-403 decision, feature-gate (hide) rather than wire to the API (deferred). MAPPS-399 F17. ## Note The portal **list** pages (PortalTicketListPage / PortalInvoiceListPage) still carry their own demo rows - out of this home-scoped ticket, tracked as a follow-up. Closes MAPPS-403.
fix(ui): remove fabricated demo data from the portal home
All checks were successful
Check / fmt + clippy + tests (pull_request) Successful in 1m36s
Create release / Create release from merged PR (pull_request) Has been skipped
e5fd4c3143
PortalHomePage shipped hardcoded demo data to real clients: a "Welcome back, Bob" greeting, three invented stat cards (Open Tickets "3" / Pending Invoices "1" / Outstanding Balance "$2,500"), and demo ticket/invoice lists (TKT-1234, INV-2025-001). Per the MAPPS-403 decision, feature-gate (hide) the fabricated blocks rather than wire them to the API (backend-dependent, deferred).

Drop the invented name (the portal identity is a contacts row behind the portal session token, not the agent use_auth CurrentUser, so no display name is available client-side; greeting is generic). Remove the three stat cards and both demo lists, replaced by one neutral placeholder ("Your tickets and invoices will appear here."). Keep the Quick Actions nav links (real). Remove the now-unused PortalTicketItem / PortalInvoiceItem components (confirmed no other call sites). Found by the 2026-08-04 UI audit (MAPPS-399), finding F17.

Note: the separate portal LIST pages (PortalTicketListPage / PortalInvoiceListPage) also carry their own hardcoded demo rows; those are out of this ticket's home scope and tracked as a follow-up.

#MAPPS-403

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
nrupard deleted branch fix/MAPPS-403-gate-demo 2026-08-04 21:32:37 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!471
No description provided.