diff --git a/changelog/31393.txt b/changelog/31393.txt new file mode 100644 index 0000000000..62cee05fd7 --- /dev/null +++ b/changelog/31393.txt @@ -0,0 +1,3 @@ +```release-note:change +ui/client-counts: removes tabs for each client count type and adds split view for counts per type in overview stacked bar chart +``` diff --git a/ui/app/components/clients/chart-container.hbs b/ui/app/components/clients/chart-container.hbs index e05f688e75..132a64447d 100644 --- a/ui/app/components/clients/chart-container.hbs +++ b/ui/app/components/clients/chart-container.hbs @@ -3,49 +3,43 @@ SPDX-License-Identifier: BUSL-1.1 }} -{{! HBS display template for rendering title, description and stat boxes with a chart on the right }} +{{! Template displays a title and description above a flex row with a 1/3-width left element and +a 2/3-width right element. If a @legend arg exists, it renders centered below the right element }} -
- {{@description}} -
+ {{#if @description}} +{{@description}}
+ {{/if}} + {{#if (has-block "customSubheader")}} + {{yield to="customSubheader"}} + {{/if}}{{this.activeDatum.legendX}}
- {{#each this.activeDatum.legendY as |stat|}} -{{stat}}
- {{/each}} - {{#if this.activeDatum.tooltipUpgrade}} -{{this.activeDatum.tooltipUpgrade}}
- {{/if}} -