#586 Measures: comparisons keep totals per timeline, never added across them
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#586
- issue
- state:closed
Follow-up to #570 and #575. **Decided:** a comparison never adds totals across its timelines. A measure belongs to its own timeline, so two timelines' `cost` aren't the same quantity. The plugins that use totals decide how to show each timeline's. - **The bug:** combined comparisons regroup their tracks' groups with `coalesceGroups`, which adds totals by measure name, across timelines. - **The fix:** a comparison's groups keep totals per timeline, as `sourceTotals` by track. Merging groups adds totals only within one timeline. - **For plugins:** they read a group's totals timeline by timeline (#587). https://github.com/circagraph/timeline-app/issues/586
Related
- #570 Measures: typed quantities on moments and durations, totalled in every summary
- #575 Measures 4: totals in overviews, cluster labels, the plugin API and the background chart
- #587 Measures: plugin scripts and derived metadata read a summary's totals
- #591 Measures: comparisons keep totals per timeline, never added across them (#586)
- #592 Measures: plugin scripts and derived metadata read a summary's totals (#587)
- #595 Measures: running balances from changes, and one change index per timeline
- Measures: plugin scripts and derived metadata read a summary's totals (#587)
- Merge pull request #591 from openchronology/feat/586-comparison-totals
- Measures: comparisons keep totals per timeline, never added across them (#586)
Open #586 Measures: comparisons keep totals per timeline, never added across them in the timeline