Repository navigation
fix(platform): size every table's columns to their content - #3502
Merged
yannickmonney merged 4 commits intoSep 27, 2026
Merged
Conversation
Every content column now keeps exactly its declared size in px; only the flex columns — the ones marked meta.flex, or else the first content column — are left auto and share the slack in equal parts. Growing every column in proportion handed a one-icon column the same share of a wide screen as the name beside it, and a declared size of exactly 150 was mistaken for "unset" and left auto. The date and locale builders default to the widths their content needs.
A new section on the Data table page: fixed columns keep their declared px, flex columns share what is left, and the sizes sum to the table's floor. The demos declare a size on every column, fitted to their content.
The account column now takes the slack as the table's first column while every other column keeps its declared px; the ACCT-36 pin speaks of the proportional sharing in the past tense.
Each fixed column now fits its header and its widest value in English, German and French — a status column its longest badge, a date column its longest date — and the name, description or comment columns take the rest. Documents, knowledge entries, contacts, websites, products, projects, automations, the settings lists, the audit log, governance, metrics and the Microsoft 365 import dialog are all resized; columns that could still meet a longer value truncate or wrap inside their cell instead of running into the next one.
yannickmonney
force-pushed
the
fix/table-column-widths
branch
from
September 27, 2026 10:28
c2e76f8 to
9ea5972
Compare
yannickmonney
changed the base branch from
main
to
feat/automations-sub-panel
September 27, 2026 10:28
yannickmonney
merged commit Sep 27, 2026
e629e34
into
feat/automations-sub-panel
50 of 51 checks passed
5 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #3501 (Knowledge tabs, General tab); this PR's base is that branch. Merge #3501 first.
Summary
Every table's columns now match their content. A fixed column (a status, a date, a count, a short enum) is as wide as its header and its widest value in English, German and French, and no wider. The text columns (a name, a description, a comment, an e-mail) take whatever width is left.
The DataTable model (
@tale/ui)size. On a wide screen a one-icon Source column grew as much as the name beside it. On a narrow one, a badge column shrank under its label. A column declared at exactlysize: 150was also mistaken for "unset" and renderedauto, which made the Documents Source column 255px wide.sizein px. The flex columns (meta.flex: true, or else the first content column) are leftautoand share the slack in equal parts. The sizes still sum to the table's floor, below which it scrolls sideways.Every table resized from measured content
Widths come from the rendered strings, measured in the app's own font across en/de/fr: headers, badges (label + padding + dot or icon),
ll LTdates plus the copy button, and relative times. Examples at 1440px (German, live width before → after):Also resized:
Where a column can still meet a rarer, longer value, it now truncates or wraps inside its own cell instead of painting into its neighbour:
Documents floor
The Documents floor stays at main's 1160px (#3498's regression test holds). Inside that floor the widths are rebalanced so RAG status fits German "Fehlgeschlagen" plus its retry button, and Uploaded by fits the German header.
With #3501's Knowledge tabs underneath, there is no side panel beside the table: at a 1440px window it gets about 1355px and fits without scrolling. It needs a window of about 1250px.
Test plan
@tale/uidata-table unit (90) and browser (16) tests, including new browser tests for the exact-px and shared-slack model.@tale/ui, platform, ai-gateway and ui-docs. ai-gateway and ui-docs tests pass.bun run lint:manual, with a new boxKNOW-F29(columns fit their content).