The rule was injected into perspective-viewer-datagrid's shadow root, which is not where the cells live, so it applied to nothing and the grand-total column stayed visible. Locates regular-table by walking through shadow roots and injects into whatever root contains it, via getRootNode(). That makes no assumption about how the plugin nests -- which is the assumption that was wrong, and the kind that breaks on a Perspective upgrade anyway. The grid is built asynchronously after load, so hideSplitTotal now reports whether it found anything and is retried once on a short delay, as well as from the config-update handler. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| vendor | ||
| .gitignore | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.