- Move navigation from left sidebar to horizontal top tabs in BrokerAccountLayout - Change dashboard blocks to single-column layout (Events, Income, Analytics, Allocation) - Extend DS Chip with onClick/selected/disabled/aria-pressed - Add clickable chip filters to Events and Income cards with immediate filtering - Disable backend query when all types deselected (show validation message) - Add useBrokerEvents/useBrokerOperations options.enabled param - Update dashboard skeleton to single-column shape - Add userEvent tests for chip filter interactions
15 lines
514 B
TypeScript
15 lines
514 B
TypeScript
import { Skeleton } from '@moex-vibe/design-system'
|
|
import { Box } from '@mui/material'
|
|
|
|
export function BrokerDashboardSkeleton() {
|
|
return (
|
|
<Box sx={{ display: 'grid', gap: 3 }} aria-label="Загрузка брокерского дашборда">
|
|
<Skeleton height={120} shape="rounded" />
|
|
<Skeleton height={300} shape="rounded" />
|
|
<Skeleton height={300} shape="rounded" />
|
|
<Skeleton height={260} shape="rounded" />
|
|
<Skeleton height={260} shape="rounded" />
|
|
</Box>
|
|
)
|
|
}
|