Skip to content

Commit 3c7f087

Browse files
committed
docs(changelog): record the source-map-js pin and why the sprintf-js alert stays open
1 parent 2034baf commit 3c7f087

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- **`DataGrid.tsx` split up** (1,128 → 620 lines), with no change to the public API, the rendered DOM, attributes, class names, event order or hook order. The JSX moved into `GridRoot` (root element, toolbar, panels, list view, footer, live region, overlays) and `GridViewport` (the `role="grid"` viewport and the shared row renderer props). Seven composite hooks each wrap a contiguous run of the documented hook order and call it unchanged: `useGridEditPipeline` (12a–13), `useGridSelectionAndStateApi` (23–24), `useGridViewApis` (30–31a), `useGridScrollViewport` (32–33), `useGridRangeEditing` (36a–36d), `useGridRenderWindow` (38–41) and `useGridToolbarStack` (44–46). `docs/architecture/datagrid-orchestration.md` lists each hook with its composite. React DevTools shows the two new components (`GridRoot`, `GridViewport`) under `DataGrid`; each renders once per grid render.
1313
- **Demo-site smoke test** (`npm run test:demo`, `e2e/demo.spec.ts`, `e2e/playwright.demo.config.ts`). Builds the demo and serves it with `vite preview` on port 4322 under `/OpenGridX/`, then loads every route of `demo/App.tsx` (read from the source; 55 routes, checked against the built sidebar) in Chromium, and seven heavy pages (cell selection, AI assistant, full feature test, RTL, theming, pivot, infinite scroll) also in Firefox and WebKit. Each page must log no console error or warning and no page error, replace the loading skeleton, show text, and every grid must show a row or an intentional empty / loading / error state. Runs in `ci.yml` after the package smoke suite and in `deploy.yml` in place of the bare demo build, so a broken demo page is never deployed. No demo page was broken.
1414
- **Height-limit guidance.** The development warning for content taller than the browser lays out now names `dataSource` (server-side pages or infinite scroll) with `docs/features/data-source.md`, then `pagination` and compact density, and links the new *The browser height limit* section of `docs/features/virtualization.md`. That section opens with a decision guide: up to about 300,000 rows at 52 px fit in every browser, up to about 600,000 in Chromium and WebKit only, beyond that use a `dataSource` or pagination; `density="compact"` stretches each limit about 1.6×. `docs/performance.md` links it. New unit test `useGridDevWarnings.test.ts` covers the warning text.
15+
- **`source-map-js` pinned to 1.2.2** through `overrides` in the root and in the e2e and bench fixtures (GHSA-68fv-2mgg-jv7q, high, dev toolchain only; the root lockfile had 1.2.1). The `sprintf-js` advisory (GHSA-hp3w-g68c-fv3c, no patched release) stays open: it comes from `@microsoft/api-extractor` → `@rushstack/ts-command-line` → `argparse@1`, which `vite-plugin-dts` v5 still needs to bundle `dist/index.d.ts` and `dist/ai.d.ts` (api-extractor 7.59.4 still depends on `argparse ~1.0.9`), so upgrading to v5 would not remove it. It only runs at build time on this repository's own sources.
1516

1617
---
1718

0 commit comments

Comments
 (0)