Prior, plan and forecast each carry twelve months and a total, so scanning across is thirty-odd columns of identical-looking numbers with nothing to say where one domain ends and the next begins -- annual figures read as just another month. Each group's first column now takes a left rule and each group's subtotal a tint and a heavier weight. Both are derived from the cell's column path: the deepest path is a leaf, so anything shorter is an aggregate of the levels below it, which is what makes a subtotal a subtotal. Through regular_table's style listener rather than CSS, because the DOM cells are recycled across columns as you scroll -- a stylesheet would paint the wrong ones the moment the grid virtualised. The styles go into the grid's own shadow root, since a page stylesheet cannot reach it, and use currentColor so the rule follows the theme instead of disappearing against Pro Dark. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Baseline.jsx | ||
| Forecast.jsx | ||
| Login.jsx | ||
| Setup.jsx | ||