feat(table): added stickyHeader (#DS-4911) - #1921
Open
NikGurev wants to merge 3 commits into
Open
Conversation
|
Visit the preview URL for this PR (updated for commit c36c374): https://koobiq-next--prs-1921-duzlhiy3.web.app (expires Thu, 27 Aug 2026 05:01:46 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c9e37e518febda70d0317d07e8ceb35ac43c534c |
rmnturov
approved these changes
Aug 24, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces a new stickyHeader input on KbqTable to support sticky table headers, along with styling, documentation, and examples to demonstrate and validate the behavior.
Changes:
- Added a
stickyHeaderboolean input toKbqTableand applied a corresponding host CSS class. - Implemented sticky header styling and theme background for sticky
<th>cells. - Added docs content, docs examples (including a new sticky-header example), and updated Table Playwright screenshots to cover the new state.
Reviewed changes
Copilot reviewed 12 out of 14 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tools/public_api_guard/components/table.api.md | Updates public API snapshot to include the new stickyHeader input. |
| packages/components/table/table.component.ts | Adds stickyHeader input and host class binding. |
| packages/components/table/table.scss | Adds sticky positioning styles for table header cells. |
| packages/components/table/_table-theme.scss | Adds background color for sticky header cells under the sticky header mode. |
| packages/components/table/table.en.md | Documents stickyHeader usage in English docs. |
| packages/components/table/table.ru.md | Documents stickyHeader usage in Russian docs. |
| packages/docs-examples/components/table/table-sticky-header/table-sticky-header-example.ts | New docs example demonstrating sticky header behavior. |
| packages/docs-examples/components/table/index.ts | Exports/registers the new sticky header example in the table examples module. |
| packages/docs-examples/example-module.ts | Registers the new table sticky header example (and also a file-upload example). |
| packages/components/table/e2e.ts | Adds a sticky header table instance to the table E2E page for visual coverage. |
| packages/components/table/e2e.playwright-spec.ts | Scrolls the sticky header container before screenshots to capture the sticky state. |
| packages/components-dev/table/module.ts | Adds the new sticky header example to the dev examples page. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+5660
to
+5663
| "files": [ | ||
| "table-sticky-header-example.ts", | ||
| "table-sticky-header-example.html" | ||
| ], |
Comment on lines
+40
to
+45
| .kbq-table.kbq-table_sticky-header { | ||
| & > thead > tr > th { | ||
| position: sticky; | ||
| top: 0; | ||
| } | ||
| } |
Comment on lines
+2062
to
+2066
| "file-upload-multiple-add-strategy": { | ||
| "packagePath": "components/file-upload/file-upload-multiple-add-strategy", | ||
| "title": "File-upload multiple add strategy", | ||
| "componentName": "FileUploadMultipleAddStrategyExample", | ||
| "files": [ |
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.
No description provided.