PR #240 · pramaan-io/pramaan-app · merged 2026-06-05
sequenceDiagram autonumber participant browser as Browser participant server as Next.js Server participant api as Internal API browser->>server: GET /app/clients server->>api: Kubb → /api/internal/clients api->>server: clients list server->>server: embed data in page server->>browser: HTML + cached hooks browser->>browser: first paint: table ready browser->>browser: /clients/new server-action (untouched)
| Method | in → out | what it does |
|---|---|---|
ResizeObserver | (class) | browser API mock so jsdom tests for the table layout run reliably |
Test file for the clients view; adds a ResizeObserver mock so jsdom-based table tests pass reliably for the new client-cache pilot.
| new class | signature |
|---|---|
ResizeObserver | (class) |