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> |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| views | ||
| App.css | ||
| App.jsx | ||
| auth.jsx | ||
| index.css | ||
| main.jsx | ||
| theme.jsx | ||