feat: implement modern UI/UX design system (#409)

- Add comprehensive design token system (colors, typography, spacing)
- Create 12 new UI components with Radix UI primitives
- Add layout components (PageShell, StatsCard, EmptyState, DataTable)
- Polish all pages with new component library
- Improve accessibility with WCAG 2.1 compliance
- Add dark mode support with semantic color tokens
- Update 947 tests to match new UI patterns

Closes #409
This commit is contained in:
GitHub Actions
2025-12-16 21:21:39 +00:00
parent 6bd6701250
commit 8f2f18edf7
61 changed files with 6482 additions and 3027 deletions

View File

@@ -513,14 +513,13 @@ describe('ProxyHosts - Bulk Delete with Backup', () => {
});
// Select all hosts using the select-all checkbox
const checkboxes = screen.getAllByRole('checkbox');
await userEvent.click(checkboxes[0]); // First checkbox is "select all"
const selectAll = screen.getByLabelText('Select all rows');
await userEvent.click(selectAll);
// Should show "(all)" indicator (flexible matcher for spacing)
// Should show "(all)" indicator - format is "<strong>3</strong> hosts selected (all)"
await waitFor(() => {
expect(screen.getByText((_content, element) => {
return element?.textContent === '3 (all) selected';
})).toBeTruthy();
expect(screen.getByText(/hosts?\s*selected/)).toBeTruthy();
expect(screen.getByText(/\(all\)/)).toBeTruthy();
});
});
});