The effect that recounts the selection is keyed on `slices`, and neither an undo nor an operation changes the selection -- so the panel went on showing totals that included rows it had just removed, or excluded rows it had just written. Only scale refreshed, and only for itself. Undo now re-reads the log as well, since the walk lines come from there: an undone entry has to leave the ledger and not just the table. It runs after the remove resolves, because fetchCurrentTotals counts through the table's own views and would otherwise count what was being deleted. It reads slicesRef rather than slices, being inside a handler registered once. 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 | ||