You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(showcase): drop Tailwind from kind:'react' pages — inline styles + pre-styled overlays (ADR-0065) (#2494)
A react/html page's `source` is runtime metadata, so the console's build-time
Tailwind never scans it — utility classes that don't also appear in the console's
own source silently produce NO CSS (exactly the ADR-0065 failure: styling that
"works only by coincidence"). The Task Desk modal proved it: a hand-rolled
`bg-black/50` backdrop rendered transparent, the form floated as unstyled black
boxes, and light-theme `text-slate-900` headings were invisible on the dark theme.
Rewrite all six kind:'react' showcase pages to use ZERO Tailwind:
- Overlays use the platform's own `<ObjectForm formType="drawer"|"modal">`
variant (pre-styled Sheet/Dialog with backdrop + animation), driven by
`open`/`onOpenChange` — NOT hand-rolled `fixed inset-0` overlays.
- Page chrome (headers, KPI cards, tabs, badges, empty states) uses inline
`style={{}}` with `hsl(var(--token))` theme colors — real CSS, theme-aware,
always generated regardless of the build's content scan.
Pages: task-desk, crm-workbench, inquiry-triage, account-cockpit,
invoice-console, renewals-pipeline.
Browser-verified on a real `objectstack serve` console: titles now legible,
Task Desk drawer/modal render the pre-styled ObjectForm overlay (proper backdrop
+ card), CRM KPI cards and Inquiry tabs/badges all theme-correct.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
<p className="mt-1 text-sm text-slate-500">Customer-360 over <code>showcase_account</code> — search, edit, and roll up related projects & invoices.</p>
<p style={{ marginTop: 4, fontSize: 14, color: 'hsl(var(--muted-foreground))' }}>Customer-360 over <code>showcase_account</code> — search, edit, and roll up related projects & invoices.</p>
<p className="mt-1 text-sm text-slate-500">Master/detail over <code>showcase_project</code> — real <code><ListView></code> + <code><ObjectForm></code> wired with React state.</p>
0 commit comments