Draft
Conversation
Open
7 tasks
Copilot
AI
changed the title
[WIP] Add data table component with sortable columns and sticky header
Implement Table pattern surfaces
Jul 24, 2026
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.
Baseline documentation change
Scope
This adds the missing repository-owned Table surfaces so the pattern exists end-to-end in Runtime: token export, CSS pattern, progressive enhancement, macros, docs, playground wiring, and Code Connect stub. The only unresolved part remains the external Figma publication dependency, so the schema keeps
TABLE-NODE-IDas a placeholder.Pattern + behavior
src/ui/patterns/table.cssfor sticky headers, sortable states, row selection, loading/empty states, density variants, and resizable-column affordances.src/ui/components/table.jswithenhanceTable()/observeTable()for sort toggling, single/multi row selection, checkbox sync, keyboard activation, and column resizing.Design-token integration
--uif-table-*component tokens tofigma/exports/Patterns (UI).tokens.json.Authoring surfaces
site/_includes/macros/ui.njk(table,tableHead,tableBody,tableFoot,th,tr,td).src/ui/index.css, playground renderers/code generators, and the patterns index.Docs + schema
site/patterns/table.mdandsite/patterns/table-playground.md.schemas/web-table.figma.tswith the expected mapping shape; Figma node ID stays unresolved until the component is published.Review checklist
docs/terminology.md.docs/canonical-reference-matrix.mdis updated when new terms, rules, or canonical sources are introduced.@ui-foundations-maintainershas been notified for review.