Skip to content

Dashboards: drop expandOthers and showTotal from bar and column components - #5

Merged
mshresponse merged 1 commit into
mainfrom
claude/nzc-lightning-package-xml-5iluw4
Sep 14, 2026
Merged

mshresponse merged 1 commit into
mainfrom
claude/nzc-lightning-package-xml-5iluw4

Conversation

@mshresponse

Copy link
Copy Markdown
Owner

What changed

Removed <expandOthers> and <showTotal> from every Bar, Column and ColumnStacked component in the three dashboards (28 elements across NZC_Audit, NZC_Data_Quality and NZC_Emissions_Coverage). Neither property does anything on those chart types, which is why a retrieve flipped one to false and dropped the other.

The three Donut components keep both properties, where they mean something: showTotal puts the total in the centre of the ring, and expandOthers decides whether the grouped "Others" slice can be opened.

docs/building-your-own.md now says which component types the two properties belong to, so a new component gets them only when it is a donut or pie.

Checks

  • All three dashboard files still parse as XML.
  • No other element in the dashboards changed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XsipTUqX7dcQDkvUkaFCuC


Generated by Claude Code

…nents

Neither property does anything on a Bar, Column or ColumnStacked component,
which is why a retrieve flipped one and dropped the other. The three Donut
components keep both, where they mean something: showTotal puts the total
in the centre of the ring and expandOthers decides whether the grouped
'Others' slice can be opened. 28 elements removed across the three
dashboards; every file still parses. The docs note now says which
component types the two properties belong to.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XsipTUqX7dcQDkvUkaFCuC
@mshresponse
mshresponse marked this pull request as ready for review September 14, 2026 21:32
@mshresponse
mshresponse merged commit 6f3acb6 into main Sep 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants