Repository navigation
feat(ui5-table): add row header column with sticky behavior - #14339
stoyanovski wants to merge 4 commits into
Conversation
👋 Heads-up: dev close is in effectThanks for the contribution! This repository is currently in dev close ahead of release This PR appears to introduce public-API changes (detected by diffing the Custom Elements Manifest against the latest published version on npm):
Could you please hold off on merging into If this change must ship in the current release, please request a review from one or two members of @UI5/ui5-team-webc so the team can sign off explicitly.
Posted automatically by the Dev Close Notice workflow. |
|
🚀 Deployed on https://pr-14339--ui5-webcomponents-preview.netlify.app |
aborjinik
left a comment
There was a problem hiding this comment.
some points here.
is there anything we need to consider for the group rows?
| * @private | ||
| */ | ||
| @property({ type: Boolean }) | ||
| rowHeader = false; |
There was a problem hiding this comment.
maybe we should ask @KvM2 but since role="rowheader" i kind a expect rowheader property instead of rowHeader, I might be wrong though.
There was a problem hiding this comment.
I added Katja as reviewer
8d11969 to
cf5e909
Compare
Require consumers to mark first-column row headers explicitly and derive sticky positioning through CSS. Share selection column sizing between the grid and sticky offsets, and update tests and accessibility samples. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…mall screens Preserve the sticky divider while exposing row focus outlines, disable row-header stickiness below 600px with CSS, and add responsive regression coverage and sample highlights. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
f0924fc to
e62ae8b
Compare
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Thank you for your contribution! 👏
PR checklist
Check the Development Hints
Follow the Commit message Guidelines
For example:
fix(ui5-*): correct/fix sthorfeat(ui5-*): add/introduce sth. If you don't want the change to be part of the release changelog - usechore,refactorordocs.Add proper description about the background of the change and the change itself
Link to an existing issue (if available)
Use
Fixes: {#PR_NUMBER}to close the issue automatically when the PR is mergedor
Related to: {#PR_NUMBER}to just create a link between the PR and the issue.No related issue was supplied.
Background
Wide tables need a row-identifying column that stays visible during horizontal scrolling, so users can associate the remaining content with its row.
Changes
rowHeaderproperty toui5-table-header-cell. The matching body cells receive therowheaderrole while retaining their ARIA column indexes.overflowMode="Scroll". Account for preceding status and selection cells, inherit the row background through shadow slots, and show a border at the fixed edge.packages/main/test/pages/TableRowHeader.html.Validation
yarn generate- passed; refreshed generated files.yarn ts --force- passed after generation.packages/main:yarn test:cypress:single 'cypress\specs\Table.cy.tsx,cypress\specs\TableRow.cy.tsx,cypress\specs\TableHeaderRow.cy.tsx,cypress\specs\TableRowBase.cy.tsx,cypress\specs\TableNavigationFixedHeader.cy.tsx'- initially 43 passed, 1 failed because the Cypress runner covered the target of the existing fixed-header test.packages/main:yarn test:cypress:single cypress\specs\TableNavigationFixedHeader.cy.tsx- passed, all 3 tests, on retry after rebuilding.