From 4d35f6c46c82a8bcd3063ac1f1dcd432d472c0b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 15 May 2026 19:26:20 +0200 Subject: [PATCH] docs(planning): R3d MB5 tables-cardlist bucket report --- .../round-3d-mb5-tables-cardlist-report.md | 110 ++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 .planning/round-3d-mb5-tables-cardlist-report.md diff --git a/.planning/round-3d-mb5-tables-cardlist-report.md b/.planning/round-3d-mb5-tables-cardlist-report.md new file mode 100644 index 000000000..4a46d5817 --- /dev/null +++ b/.planning/round-3d-mb5-tables-cardlist-report.md @@ -0,0 +1,110 @@ +# Round 3d — MB5 — Tables → mobile card-list parity (in-scope subset) + +Branch: `develop` +Commits: `c77d5252` (commit 1), `0fb0235d` (commit 2) +Scope: CF-19 (`/settings/api` 3 tables), CF-21 (pagination + CSV out of scroll wrappers). +Deferred per Decision O: MA6-F2 / CF-20 six admin tables card-list → v1.4.28. + +## Commits + +### Commit 1 — `c77d5252` + +`feat(settings): pair the API section tables with a mobile card-list rendering` + +`src/components/settings/api-section.tsx` gains three dual-rendered tables: + +- **API endpoint catalogue** — desktop `` behind `hidden md:block`, + mobile `
` — table keeps its scroll + container so wide audit rows pan horizontally on touch. +2. `
` — summary "showing X + of Y" + prev/next controls + page-N-of-M label, all outside the + scroll wrapper. + +CSV-export button was already in the toolbar row above the table, +unchanged. The recent B3 carrier-chip layout in the auth-provider cell +is untouched. + +`src/components/admin/app-log-preview-section.tsx` — same fragment +treatment. Summary line moves under +`
`. The refresh button was +already in the section header above the wrapper. + +Test coverage: +- `src/components/admin/__tests__/login-overview-pagination-position.test.tsx` + (3 cases) pins the pagination data-testid and asserts the pagination + div opens after the scroll wrapper has closed and the prev/next button + copy is not nested inside the wrapper. +- `src/components/admin/__tests__/app-log-preview-summary-position.test.tsx` + (3 cases) mirrors the same invariants for the app-logs summary line. + +## Gate results + +- `pnpm exec eslint ` — clean. +- `pnpm exec tsc --noEmit` — clean for MB5 files. (A separate + `account-section.tsx` TS error landed from another bucket's in-flight + work; not in MB5 scope.) +- `pnpm vitest run "src/components/admin/__tests__/" + "src/components/settings/__tests__/"` — 29 files / 188 tests pass, + including the 11 new + 17 neighbouring tests touching the changed + surfaces. + +## Coordination notes + +- The existing desktop `
` rendering was preserved in every case + per the directive — the mobile surface is purely additive. +- The `` admin route already shipped a similar + card-list pattern in v1.4.16 phase A3; the new settings card-lists + mirror its conventions (`hidden md:block` for desktop, `