feat: add VirtualTable component (virtualization-first, config-driven)#4738
Draft
gethinwebster wants to merge 1 commit into
Draft
feat: add VirtualTable component (virtualization-first, config-driven)#4738gethinwebster wants to merge 1 commit into
gethinwebster wants to merge 1 commit into
Conversation
Add a new additive component that coexists with Table, aimed at large and streaming datasets: - First-class row virtualization with a single owned scroll container, opt-in per-row measurement, and incremental scroll-offset correction. - Arbitrary non-tabular row expansion (render slot) with measured variable expanded-row heights and a valid grid-child disclosure a11y model. - Full-dataset ARIA grid contract (aria-rowcount/rowindex, aria-colcount/ colindex incl. a materialised disclosure column) under windowing. - Config-driven props API mirroring Table where it transfers. - CloudWatch Logs Insights demo pages (standard, patterns, raw/file views), unit + a11y tests, usage docs, and a test-utils wrapper.
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.
What
Adds VirtualTable — a new, additive Cloudscape component that coexists with
Table(not a rewrite of it), aimed at large and streaming datasets. This is the config-driven, generic framing (F1-A1) from an exploratory design study.Why
Tableis not virtualization-first, and several AWS consoles (notably CloudWatch Logs Insights) maintain bespoke windowed grids because of it. VirtualTable provides first-class row virtualization, arbitrary non-tabular row expansion, and a full-dataset ARIA grid contract as a first-class primitive.Highlights
role=row→ full-widthrole=gridcell→ labeledrole=region,aria-expanded/aria-controls, Tab-in / Escape-out, excluded from arrow-grid nav).aria-rowcount/aria-rowindex,aria-colcount/aria-colindexincl. a materialised disclosure column.Tablewhere it transfers; imperative ref for consumer-composed live tail (scrollToEnd/scrollToItem/isPinnedToEnd).Testing
npm run buildgreen.npm run lintgreen (0 errors).Not in scope / human-gated
aria-livedirectly rather than the internalLiveRegioncomponent — flagged as a follow-up.