I finished the remaining polish so the admin app now feels fully “app‑like” across the core screens.

This commit is contained in:
Codex Agent
2025-12-28 20:48:32 +01:00
parent d3b6c6c029
commit 1e0c38fce4
23 changed files with 1250 additions and 112 deletions

View File

@@ -0,0 +1,14 @@
import { describe, expect, it } from 'vitest';
import { buildTaskSectionCounts } from './taskSectionCounts';
describe('buildTaskSectionCounts', () => {
it('maps summary values in a stable order', () => {
const counts = buildTaskSectionCounts({ assigned: 2, library: 5, collections: 3, emotions: 1 });
expect(counts).toEqual([
{ key: 'assigned', count: 2 },
{ key: 'library', count: 5 },
{ key: 'collections', count: 3 },
{ key: 'emotions', count: 1 },
]);
});
});