Standardize UI typography, charts and empty states

This commit is contained in:
2026-10-07 19:40:02 -04:00
parent 05bdeaf624
commit 0ed3cd6b47
57 changed files with 417 additions and 382 deletions
+3
View File
@@ -39,6 +39,8 @@ it('keeps current estimates and host comparison before history with scoped histo
expect(body).toContain('No queued instances');
expect(body).not.toContain('href="/provisioning"');
expect(body).not.toContain('Manage hosts');
expect(body).toContain('Updates every 30 seconds');
expect(body).not.toContain('>Refresh<');
});
it('keeps fleet-wide queue scope explicit and preserves unavailable estimates', () => {
@@ -61,6 +63,7 @@ it('keeps ineligible hosts and their reasons visible while collapsing detailed a
expect(body).toMatch(/<tr hidden[^>]*id="capacity-host-ec-1"/);
expect(body).toContain('aria-expanded="false"');
expect(body).toContain('Running instance');
expect(body).toContain('aria-label="Host capacity comparison" tabindex="0"');
});
it('preserves chart gaps, keyboard inspection and reporting coverage in the compact chart', () => {