Skip to content

Fix unused import/variable lint warnings in Table components - #102

Merged
cixzhang merged 1 commit into
mainfrom
lint-fixes
Feb 12, 2026
Merged

cixzhang merged 1 commit into
mainfrom
lint-fixes

Conversation

@cixzhang

Copy link
Copy Markdown
Contributor
  • Remove unused imports: XDSBaseTable, TablePlugin, within, beforeEach, useCallback, useRef, useEffect, useMemo
  • Prefix unused column parameter with underscore in transformHeaderCell

- Remove unused imports: XDSBaseTable, TablePlugin, within, beforeEach, useCallback, useRef, useEffect, useMemo
- Prefix unused column parameter with underscore in transformHeaderCell
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 12, 2026
@cixzhang
cixzhang merged commit 92344d5 into main Feb 12, 2026
3 checks passed
@cixzhang
cixzhang deleted the lint-fixes branch February 12, 2026 01:41
@github-actions

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR

Modified Components

Table
Metric Before After Delta
Bundle Size (ESM) N/A 367B N/A
Lines of Code N/A 673 -
Complexity N/A Very High (44) -

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@xds/core 5.1KB 8.5KB 1.4KB

Accessibility Audit

Status: 1 accessibility violation(s) found.

XDSTable - 1 issue(s)
  • serious: Links must have discernible text
    • Rule: link-name

Component Previews

Includes interactive hover previews as animated GIFs.

XDSTable

Default

Screenshot:

Default

Interaction Preview: (view video)

Default interaction

Run yarn storybook and navigate to: core-xdstable--default

Compact

Screenshot:

Compact

Interaction Preview: (view video)

Compact interaction

Run yarn storybook and navigate to: core-xdstable--compact

Spacious

Screenshot:

Spacious

Interaction Preview: (view video)

Spacious interaction

Run yarn storybook and navigate to: core-xdstable--spacious

Striped With Hover

Screenshot:

Striped With Hover

Interaction Preview: (view video)

Striped With Hover interaction

Run yarn storybook and navigate to: core-xdstable--striped-with-hover

Grid Dividers

Screenshot:

Grid Dividers

Interaction Preview: (view video)

Grid Dividers interaction

Run yarn storybook and navigate to: core-xdstable--grid-dividers

Column Dividers

Screenshot:

Column Dividers

Interaction Preview: (view video)

Column Dividers interaction

Run yarn storybook and navigate to: core-xdstable--column-dividers

No Dividers

Screenshot:

No Dividers

Interaction Preview: (view video)

No Dividers interaction

Run yarn storybook and navigate to: core-xdstable--no-dividers

Auto Columns

Screenshot:

Auto Columns

Interaction Preview: (view video)

Auto Columns interaction

Run yarn storybook and navigate to: core-xdstable--auto-columns

Custom Cell Renderer

Screenshot:

Custom Cell Renderer

Interaction Preview: (view video)

Custom Cell Renderer interaction

Run yarn storybook and navigate to: core-xdstable--custom-cell-renderer

Children Mode

Screenshot:

Children Mode

Interaction Preview: (view video)

Children Mode interaction

Run yarn storybook and navigate to: core-xdstable--children-mode

All Densities

Screenshot:

All Densities

Interaction Preview: (view video)

All Densities interaction

Run yarn storybook and navigate to: core-xdstable--all-densities

Kitchen Sink

Screenshot:

Kitchen Sink

Interaction Preview: (view video)

Kitchen Sink interaction

Run yarn storybook and navigate to: core-xdstable--kitchen-sink


Generated by PR Enrichment workflow | Storybook | View full report

cixzhang added a commit that referenced this pull request Apr 26, 2026
- Remove unused imports: XDSBaseTable, TablePlugin, within, beforeEach, useCallback, useRef, useEffect, useMemo
- Prefix unused column parameter with underscore in transformHeaderCell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant