Skip to content

feat: Option to expand the first table group on load - #2623

Draft
bprusinowski wants to merge 1 commit into
fix/table-small-heightsfrom
fix/table-first-group
Draft

bprusinowski wants to merge 1 commit into
fix/table-small-heightsfrom
fix/table-first-group

Conversation

@bprusinowski

@bprusinowski bprusinowski commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Implements GitLab issue 799 (not part of the a11y audit).

This PR:

  • adds an "Expand first group" option at the top of the Groups section, shown when the table has groups
  • when it's on, the first group opens at every grouping level on load, in the editor and in the published chart; readers can still collapse it, and searching or sorting keeps what they chose
  • unticking the option in the editor closes the groups it opened
  • adds expandFirstGroup to table settings (chart config 5.4.0); existing tables migrate with it off

How to test

  1. Group a table chart by one or two columns and tick "Expand first group" in the Groups section: the first group and its first subgroup open.
  2. Preview or publish the chart: it opens with the first group expanded.
  3. Run npx playwright test e2e/table-chart-groups.spec.ts.

  • I added a CHANGELOG entry
  • I made a self-review of my own code
  • I wrote tests for the changes (if applicable)

@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
visualization-tool Ready Ready Preview Nov 25, 2026 3:28pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — cffcaa02 Deployed Nov 25, 2026 by vercel[bot]
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.

1 participant