Measures: plugin scripts and derived metadata read a summary's totals (#587)
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
- A plugin with `renderSummaries: true` has its script render summaries too: their color, shape, size and outline, from their totals, read with `api.total(name)` (a moment's value on a moment). In a comparison, `api.total(name, n)` reads the nth compared timeline's totals, kept by timeline (#586); without `n` a comparison's summary has none. Plugins without the flag render single moments only, as before. - Derived metadata gains a `{measure}` source: an entity's value, or a summary's total, as exact text. - Docs (plugins, measures) and unit tests. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/circagraph/timeline-app/commit/0845e641ae9c4b1724923114deb35ffae06a5a4e
Related
Open Measures: plugin scripts and derived metadata read a summary's totals (#587) in the timeline