feat(web): wire TickerStrip + status bar role into DashboardLayout (TEC-3047)
- Import TickerStrip vào dashboard layout, truyền vào DashboardLayout.ticker - Thêm placeholder top-8 quận với TODO comment chờ /analytics/districts API - Thêm role="status" aria-live="polite" vào status bar div trong DashboardLayout - 8 Vitest unit tests cho DashboardLayout: role=banner, role=status, ticker, sidebar collapse/expand width, main content (tất cả pass) Note: listings.spec.tsx failure là pre-existing trên HEAD, không liên quan TEC-3047. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -65,7 +65,11 @@ export function DashboardLayout({
|
||||
</div>
|
||||
</div>
|
||||
{statusBar ? (
|
||||
<div className="flex h-6 items-center gap-4 border-t border-border bg-background-elevated px-4 text-[11px] text-foreground-muted">
|
||||
<div
|
||||
role="status"
|
||||
aria-live="polite"
|
||||
className="flex h-6 items-center gap-4 border-t border-border bg-background-elevated px-4 text-[11px] text-foreground-muted"
|
||||
>
|
||||
{statusBar}
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user