Skip to content

feat(data-table): refactor url filter and add launch - #1168

Merged
sadmann7 merged 27 commits into
mainfrom
sadman/clean-table
Oct 4, 2026
Merged

sadmann7 merged 27 commits into
mainfrom
sadman/clean-table

Conversation

@sadmann7

@sadmann7 sadmann7 commented Oct 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI balanced review requested due to automatic review settings October 4, 2026 16:08
@vercel

vercel Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tablecn Ready Ready Preview Oct 4, 2026 5:00pm UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

URL synchronization, filter ordering, date handling, and reduced-motion issues remain unresolved.

Review effort: Balanced
Findings: 7 Medium severity

Open (7)
What changed in this PR

Refactors data-table URL filters into compact per-column parameters and adds a self-playing launch demo with expanded automated testing.

Changes:

  • Adds compact filter parsing, calendar-date handling, and shared column configuration.
  • Synchronizes filtering changes across Base and Radix variants.
  • Adds the launch demo, Playwright coverage, and recording support.
File Description
vitest.config.ts Switches tests to Happy DOM.
src/​registry/​bases/​radix/​hooks/​use-data-table.ts Refactors Radix URL-state synchronization.
src/​registry/​bases/​radix/​components/​data-table/​data-table-slider-filter.tsx Supports open decimal ranges.
src/​registry/​bases/​radix/​components/​data-table/​data-table-range-filter.tsx Preserves numeric input values.
src/​registry/​bases/​radix/​components/​data-table/​data-table-filter-menu.tsx Adopts renamed filter utilities.
src/​registry/​bases/​radix/​components/​data-table/​data-table-faceted-filter.tsx Renames filter option type.
src/​registry/​bases/​radix/​components/​data-table/​data-table-command-filter-menu.tsx Updates command-filter utilities.
src/​registry/​bases/​base/​hooks/​use-data-table.ts Refactors Base URL-state synchronization.
src/​registry/​bases/​base/​components/​data-table/​data-table-slider-filter.tsx Supports open decimal ranges.
src/​registry/​bases/​base/​components/​data-table/​data-table-range-filter.tsx Preserves numeric input values.
src/​registry/​bases/​base/​components/​data-table/​data-table-filter-menu.tsx Adopts renamed filter utilities.
src/​registry/​bases/​base/​components/​data-table/​data-table-faceted-filter.tsx Renames filter option type.
src/​registry/​bases/​base/​components/​data-table/​data-table-command-filter-menu.tsx Updates command-filter utilities.
src/​lib/​test/​data-table.test.ts Tests parsing and filtering behavior.
src/​lib/​site.ts Splits site configuration into constants.
src/​lib/​parsers.ts Implements compact URL filter parsers.
src/​lib/​data-table-utils.ts Adds filter normalization and date utilities.
src/​lib/​data-table-types.ts Adds typed column configuration APIs.
src/​lib/​data-table-filters.ts Updates client-side filter evaluation.
src/​lib/​data-table-features.ts Uses normalized plain-filter helpers.
src/​hooks/​test/​use-data-table.test.tsx Tests URL-backed table state.
src/​hooks/​test/​use-data-grid.test.tsx Simplifies DOM test mocks.
src/​env.ts Defines validated environment variables.
src/​db/​index.ts Updates environment import.
src/​components/​tailwind-indicator.tsx Updates environment import.
src/​components/​layouts/​site-header.tsx Uses exported site constants.
src/​components/​layouts/​mobile-nav.tsx Uses exported navigation links.
src/​app/​sitemap.ts Uses site constants for sitemap entries.
src/​app/​robots.ts Uses the site URL constant.
src/​app/​page.tsx Uses unified column configuration.
src/​app/​manifest.ts Uses site metadata constants.
src/​app/​lib/​validations.ts Defines shared task column configuration.
src/​app/​lib/​queries.ts Types queries from column configuration.
src/​app/​lib/​filter-columns.ts Updates server-side date and range filters.
src/​app/​layout.tsx Uses site metadata constants.
src/​app/​launch/​page.tsx Adds the launch route.
src/​app/​launch/​lib/​data.ts Provides deterministic launch-demo data.
src/​app/​launch/​launch.css Adds launch animations and styling.
src/​app/​launch/​components/​launch-scenes.tsx Defines launch story scenes.
src/​app/​launch/​components/​launch-director.tsx Implements scripted camera and cursor controls.
src/​app/​launch/​components/​launch-demo.tsx Implements the launch timeline and demo.
src/​app/​launch/​components/​launch-columns.tsx Defines launch table columns.
src/​app/​components/​test/​tasks-table-columns.test.ts Verifies client/server column parity.
src/​app/​components/​tasks-table.tsx Reuses shared default sorting.
src/​app/​components/​tasks-table-columns.tsx Derives options from shared configuration.
pnpm-lock.yaml Locks Playwright and Happy DOM dependencies.
playwright.record.config.ts Configures launch recording.
playwright.config.ts Configures browser E2E tests.
package.json Adds Playwright scripts and dependencies.
next.config.ts Updates environment import.
e2e/​record-launch.spec.ts Captures and encodes the launch demo.
e2e/​data-table.spec.ts Tests URL filtering end to end.
drizzle.config.ts Updates environment import.
.oxlintrc.json Updates the allowed environment import.
.gitignore Ignores E2E and recording artifacts.
.github/​workflows/​code-check.yml Adds database-backed E2E CI.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/app/launch/launch.css
Comment thread src/app/lib/filter-columns.ts Outdated
Comment thread src/lib/data-table-filters.ts
Comment thread src/lib/data-table-utils.ts Outdated
Comment thread src/lib/parsers.ts
Comment thread src/registry/bases/base/hooks/use-data-table.ts Outdated
Comment thread src/registry/bases/radix/hooks/use-data-table.ts Outdated
@sadmann7
sadmann7 merged commit c8864f0 into main Oct 4, 2026
8 checks passed
@sadmann7
sadmann7 deleted the sadman/clean-table branch October 4, 2026 17:02

This branch was successfully deployed

1 active deployment
Preview — 89a32a44 Deployed Oct 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants