Skip to content

feat: Abbreviations for table columns - #2624

Draft
bprusinowski wants to merge 1 commit into
fix/table-first-groupfrom
feat/table-abbreviations
Draft

bprusinowski wants to merge 1 commit into
fix/table-first-groupfrom
feat/table-abbreviations

Conversation

@bprusinowski

@bprusinowski bprusinowski commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Implements GitLab issue 762.

This PR:

  • adds a "Use abbreviations" option to table column options, like the one on chart fields; it's disabled for columns without abbreviations (schema:alternateName)
  • when it's on, the column shows abbreviations in cells, group headers, search, sorting and category colors
  • moves the label lookup out of useMaybeAbbreviations into shared helpers, used by charts and tables

How to test

  1. Create a table chart from "Forest fire danger", open the Canton column and tick "Use abbreviations": the column shows AG, BE, ZH… instead of full names.
  2. Use Canton to group: group headers show abbreviations, in the same order as before.
  3. Open the Warning region column: the option is disabled, since it has no abbreviations.
  4. Run npx playwright test e2e/table-abbreviations.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:31pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — e089cbb7 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