fix(table-core): correct number-range, filter-depth, autoRemove, and custom faceting semantics #6503
beta fromrefs/pull/6503/head·merged by KevinVandy Four filtering-semantics fixes from the beta-window triage (cluster 5), with new unit/implementation tests and guide updates across all 10 framework docs. No changeset (handled at release assembly).
Changes#
filterFn_inNumberRangeonly matches real numbers. JS loose relational coercion letnull,'', and booleans slip into a numeric range (null >= 0 && null <= 20istrue), so the auto-selected number filter leaked empty rows into[0, max]ranges on nullable numeric columns. Numeric strings also stop matching;between/betweenInclusiveremain the hybrid string/number range filters.maxLeafRowFilterDepthkeepsflatRows/rowsByIdcomplete. When the root-down recursion stops at the max depth, the kept rows' unfiltered descendants stay visible throughrow.subRowsbut never entered the flat arrays, under-counting facets after filtering. Truncated subtrees now join both. Scoped to the root-down path like the original PR; the leaf-up path drops truncated subRows entirely (pre-existing behavior) and is left as a possible follow-up.- A provided
autoRemoveis authoritative.shouldAutoRemoveFilterno longer ORs the hardcoded empty-string check over a customautoRemove, so custom filter functions can keep''as a filter value.undefinedalways clears (the universalsetFilterValue(undefined)sentinel). Built-ins are unaffected: they all test falsy values themselves. - Custom faceted factories are no longer frozen. The API-layer
memoDepsincolumnFacetingFeatureduplicated the stock factories' internaltableMemo(same dependencies), so for customfacetedUniqueValues/facetedMinMaxValues/facetedRowModelimplementations it only cached them against inputs they do not depend on. The API layer is now a plain pass-through like every other row model: stock results stay referentially stable and compute once per invalidation (pinned by Map-identity tests), the no-factory fallback keeps a stable empty Map, and custom factories own their memoization (tableMemois exported). The faceting guides document the contract, and the server-side examples now read live data throughtable.options.metainstead of stale closures.
Closes#
- Closes #6007 (range filter with min 0 includes
nullvalues) - Closes #5987 (
getFacetedRowModelinconsistently respectsmaxLeafRowFilterDepth: 0) - Closes #6101 (
filterFn.autoRemoveignored for empty strings) - Closes #6081 (custom
getFacetedUniqueValuesdoes not update on rerenders)
Supersedes#
- #6313 (inNumberRange numeric guard): same guard applied to the current
constructFilterFnstructure, plus the PR's test matrix ported. - #6361 (flatRows under
maxLeafRowFilterDepth): fix and helper ported to the currentfilterRowsUtils.ts, with tests rewritten against the existing nested fixture.
Verification#
- table-core: 1,267 tests pass (12 new),
tsc+ eslint clean. - Full repo
pnpm test:lib(18 projects) green.
🤖 Generated with Claude Code
Summary by CodeRabbit#
Bug Fixes
- Numeric range filters now reject non-numeric and invalid values consistently.
- Custom filter removal rules now preserve retained values, including empty strings;
undefinedalways clears the filter. - Hierarchical filtering now retains visible descendants when depth limits are reached.
- Faceting reads now reflect current data without unintended result caching.
Documentation
- Clarified faceting behavior and filtering rules across supported framework guides.
Tests
- Added coverage for filtering, faceting stability, descendant handling, and numeric validation.
- 1
View your CI Pipeline Execution ↗ for commit eed3da9c6f9ce36bac8e76b4d4b3647a6d581138
Command Status Duration Result nx affected --targets=test:eslint,test:sherif,t...✅ Succeeded 6m 10s View ↗ nx run-many --targets=build --exclude=examples/**✅ Succeeded 53s View ↗
☁️ Nx Cloud last updated this comment at
2026-08-03 04:13:47UTCActionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. Inline comments: In `@beta-window-triage.md`: - Around line 114-117: Split the step-4 entry so PR `#6443` remains associated only with the `#5801` expansion-reset work, and move the Cluster 5 filtering issues (`#6007`, `#5987`, `#6101`, and `#6081`) into a separate step. If a consolidated Cluster 5 PR is known, reference it there; otherwise state that its vehicle is pending. In `@docs/framework/alpine/guide/column-faceting.md`: - Around line 286-287: Update the faceting example’s factory functions so they no longer close over the one-time serverFacets value. Expose current server facet data through a meta getter, then read table.options.meta?.serverFacets inside both returned faceting functions so subsequent server responses update both APIs. In `@docs/framework/ember/guide/column-faceting.md`: - Around line 307-308: Update the custom faceting examples so each returned resolver reads current facet data inside its function rather than capturing a one-time fetch result in the factory closure. Apply this to docs/framework/ember/guide/column-faceting.md lines 307-308, docs/framework/lit/guide/column-faceting.md lines 290-291, and docs/framework/octane/guide/column-faceting.md lines 268-269: populate uniqueValueMap and return ranges from table.options.meta, a reactive store, or another live source, preserving immediate updates to server facets.🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID:
7dce26c9-9091-4edf-971f-220b888df3e1📥 Commits
Reviewing files that changed from the base of the PR and between aad2c292cb70080011daf7b9634c410dab927a39 and eed3da9c6f9ce36bac8e76b4d4b3647a6d581138.
📒 Files selected for processing (31)
beta-window-triage.mddocs/framework/alpine/guide/column-faceting.mddocs/framework/alpine/guide/column-filtering.mddocs/framework/angular/guide/column-faceting.mddocs/framework/angular/guide/column-filtering.mddocs/framework/ember/guide/column-faceting.mddocs/framework/ember/guide/column-filtering.mddocs/framework/lit/guide/column-faceting.mddocs/framework/lit/guide/column-filtering.mddocs/framework/octane/guide/column-faceting.mddocs/framework/octane/guide/column-filtering.mddocs/framework/preact/guide/column-faceting.mddocs/framework/preact/guide/column-filtering.mddocs/framework/react/guide/column-faceting.mddocs/framework/react/guide/column-filtering.mddocs/framework/solid/guide/column-faceting.mddocs/framework/solid/guide/column-filtering.mddocs/framework/svelte/guide/column-faceting.mddocs/framework/svelte/guide/column-filtering.mddocs/framework/vue/guide/column-faceting.mddocs/framework/vue/guide/column-filtering.mdpackages/table-core/src/features/column-faceting/columnFacetingFeature.tspackages/table-core/src/features/column-faceting/columnFacetingFeature.utils.tspackages/table-core/src/features/column-filtering/columnFilteringFeature.types.tspackages/table-core/src/features/column-filtering/columnFilteringFeature.utils.tspackages/table-core/src/features/column-filtering/filterFns.tspackages/table-core/src/features/column-filtering/filterRowsUtils.tspackages/table-core/tests/implementation/features/column-faceting/createFacetedRowModels.test.tspackages/table-core/tests/implementation/features/column-filtering/createFilteredRowModel.test.tspackages/table-core/tests/unit/features/column-filtering/columnFilteringFeature.utils.test.tspackages/table-core/tests/unit/fns/filterFns.test.ts
@@ -109,7 +111,7 @@109111 1. **[#5968](https://github.com/TanStack/table/issues/5968)** first-run auto-reset guard + `resetPageIndex` honoring `initialState` (unblocks [#6443](https://github.com/TanStack/table/pull/6443)).110112 2. **[#6442](https://github.com/TanStack/table/pull/6442)** undraft + merge (closes [#5770](https://github.com/TanStack/table/issues/5770)/[#5497](https://github.com/TanStack/table/issues/5497)); close [#4919](https://github.com/TanStack/table/issues/4919), [#5138](https://github.com/TanStack/table/issues/5138), [#5202](https://github.com/TanStack/table/issues/5202), and superseded PRs [#5823](https://github.com/TanStack/table/pull/5823)/[#6177](https://github.com/TanStack/table/pull/6177).111113 3. Row-selection coordinated PR ([#6049](https://github.com/TanStack/table/issues/6049) + [#5116](https://github.com/TanStack/table/issues/5116) + [#5398](https://github.com/TanStack/table/issues/5398)).112-4. **[#6313](https://github.com/TanStack/table/pull/6313)** rebase + merge ([#6007](https://github.com/TanStack/table/issues/6007)); **[#6361](https://github.com/TanStack/table/pull/6361)** fix CI + merge ([#5987](https://github.com/TanStack/table/issues/5987)); **[#6443](https://github.com/TanStack/table/pull/6443)** rebase + merge ([#5801](https://github.com/TanStack/table/issues/5801)).114+4. **[#6443](https://github.com/TanStack/table/pull/6443)** rebase + merge ([#5801](https://github.com/TanStack/table/issues/5801)). (Cluster 5 — [#6007](https://github.com/TanStack/table/issues/6007), [#5987](https://github.com/TanStack/table/issues/5987), [#6101](https://github.com/TanStack/table/issues/6101), [#6081](https://github.com/TanStack/table/issues/6081) — implemented 2026-08-02, pending PR; close [#6313](https://github.com/TanStack/table/pull/6313)/[#6361](https://github.com/TanStack/table/pull/6361) as superseded when it lands.)113115 5. `_valuesCache`/`defaultColumn` invalidation pair ([#5363](https://github.com/TanStack/table/issues/5363)/[#4485](https://github.com/TanStack/table/issues/4485) + [#5275](https://github.com/TanStack/table/issues/5275)).114116 6. Sorting defaults ([#4946](https://github.com/TanStack/table/issues/4946) one-liner; [#5147](https://github.com/TanStack/table/issues/5147)/[#5832](https://github.com/TanStack/table/issues/5832) auto-dir sampling).115-7. Remaining semantics decisions: [#5909](https://github.com/TanStack/table/issues/5909) (undefined = uncontrolled), [#5778](https://github.com/TanStack/table/issues/5778), [#6101](https://github.com/TanStack/table/issues/6101), [#6081](https://github.com/TanStack/table/issues/6081). (Cluster 3 — [#6115](https://github.com/TanStack/table/issues/6115), [#5833](https://github.com/TanStack/table/issues/5833), [#4939](https://github.com/TanStack/table/issues/4939), [#6136](https://github.com/TanStack/table/issues/6136) — implemented 2026-08-02, pending PR.)117+7. Remaining semantics decisions: [#5909](https://github.com/TanStack/table/issues/5909) (undefined = uncontrolled), [#5778](https://github.com/TanStack/table/issues/5778). (Cluster 3 — [#6115](https://github.com/TanStack/table/issues/6115), [#5833](https://github.com/TanStack/table/issues/5833), [#4939](https://github.com/TanStack/table/issues/4939), [#6136](https://github.com/TanStack/table/issues/6136) — implemented 2026-08-02, pending PR.)📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== file info ==" wc -l beta-window-triage.md sed -n '1,140p' beta-window-triage.md | nl -ba echo echo "== occurrences of `#6443`, `#5801`, Cluster 5, step 4 ==" rg -n "(`#6443`|`#5801`|Cluster 5|step 4|filtering|defaultColumn|_valuesCache|sorting|Cluster 3)" beta-window-triage.mdRepository: TanStack/table
Length of output: 234
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== file info ==" wc -l beta-window-triage.md echo echo "== file excerpt ==" python3 - <<'PY' from pathlib import Path p = Path("beta-window-triage.md") for i, line in enumerate(p.read_text(encoding="utf-8").splitlines(), 1): if 1 <= i <= 140: print(f"{i:4d}: {line}") PY echo echo "== occurrences of key references ==" rg -n "(`#6443`|`#5801`|Cluster 5|step 4|filtering|defaultColumn|_valuesCache|sorting|Cluster 3)" beta-window-triage.md || true echo echo "== parse references by line ==" python3 - <<'PY' from pathlib import Path import re text = Path("beta-window-triage.md").read_text(encoding="utf-8") for match in re.finditer(r"#(\d{3,4})", text): line = text.count("\n", 0, match.start()) + 1 line_text = text.splitlines()[line-1] print(f"line {line}: #{match.group(1)}: {line_text[:120]}") PYRepository: TanStack/table
Length of output: 50370
Split or relabel the step-4 line.
Step 4 currently merges PR
#6443(#5801expansion reset) and also describes Cluster 5 filtering fixes (#6007,#5987,#6101,#6081). The filtering fixes do not have a consolidated PR listed, so maintainers may treat the wrong PR as the vehicle for Cluster 5. Split this into separate steps, or replace the parenthetical with the actual Cluster 5 PR when available.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@beta-window-triage.md` around lines 114 - 117, Split the step-4 entry so PR `#6443` remains associated only with the `#5801` expansion-reset work, and move the Cluster 5 filtering issues (`#6007`, `#5987`, `#6101`, and `#6081`) into a separate step. If a consolidated Cluster 5 PR is known, reference it there; otherwise state that its vehicle is pending.docs/framework/alpine/guide/column-faceting.md lines 286 to 287Resolvedby coderabbitai[bot](GitHub profile, opens in a new tab)@@ -283,3 +283,5 @@283283284284 Each factory receives the table and a column ID, then returns a function that resolves the faceted result. The regular column APIs will return the server-provided values.285285286+Factories are resolved once per table and column, but the function each factory returns runs on every read; the table does not cache its result. Read live values inside that returned function (from a signal, store, or `table.options.meta`) so updated server facets show up immediately, and memoize inside the factory if the calculation is expensive.287+🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Make the example read live facet data.
The text requires live reads, but the example closes over the one-time
serverFacetsresult. Later server responses cannot update either faceting API.Expose the current server facets through a
metagetter. Readtable.options.meta?.serverFacetsinside both returned functions. This matches the documented behavior and the other framework examples.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docs/framework/alpine/guide/column-faceting.md` around lines 286 - 287, Update the faceting example’s factory functions so they no longer close over the one-time serverFacets value. Expose current server facet data through a meta getter, then read table.options.meta?.serverFacets inside both returned faceting functions so subsequent server responses update both APIs.✅ Addressed in commit e4ea722
docs/framework/ember/guide/column-faceting.md lines 307 to 308Resolvedby coderabbitai[bot](GitHub profile, opens in a new tab)@@ -304,3 +304,5 @@304304305305 Each factory receives the table and a column ID, then returns a function that resolves the faceted result. The regular column APIs will return the server-provided values.306306307+Factories are resolved once per table and column, but the function each factory returns runs on every read; the table does not cache its result. Read live values inside that returned function (from a signal, store, or `table.options.meta`) so updated server facets show up immediately, and memoize inside the factory if the calculation is expensive.308+🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash set -euo pipefail echo "== candidate files ==" git ls-files | rg 'docs/framework/(ember|lit|octane)/guide/column-faceting\.md$' || true for f in docs/framework/ember/guide/column-faceting.md docs/framework/lit/guide/column-faceting.md docs/framework/octane/guide/column-faceting.md; do if [ -f "$f" ]; then echo "== $f line count ==" wc -l "$f" echo "== relevant sections $f ==" sed -n '240,335p' "$f" | cat -n else echo "missing $f" fi done echo "== definitions/usages of faceting/meta examples ==" rg -n "serverFacets|facetingData|table\.options\.meta|column\.facet|facet" docs/framework -SRepository: TanStack/table
Length of output: 50373
Keep the custom faceting examples live.
The guidance says returned resolvers run on every read, but these examples capture one-time facet fetches in closures. Populate the returned
uniqueValueMapand return ranges fromtable.options.meta, a reactive store, or another live source inside each resolver so updated server facets are reflected.📍 Affects 3 files
docs/framework/ember/guide/column-faceting.md#L307-L308(this comment)docs/framework/lit/guide/column-faceting.md#L290-L291docs/framework/octane/guide/column-faceting.md#L268-L269
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docs/framework/ember/guide/column-faceting.md` around lines 307 - 308, Update the custom faceting examples so each returned resolver reads current facet data inside its function rather than capturing a one-time fetch result in the factory closure. Apply this to docs/framework/ember/guide/column-faceting.md lines 307-308, docs/framework/lit/guide/column-faceting.md lines 290-291, and docs/framework/octane/guide/column-faceting.md lines 268-269: populate uniqueValueMap and return ranges from table.options.meta, a reactive store, or another live source, preserving immediate updates to server facets.✅ Addressed in commit e4ea722
More templates
- tanstack-alpine-table-example-aggregation
- tanstack-alpine-table-example-basic-app-table
- tanstack-alpine-table-example-basic-create-table
- tanstack-alpine-table-example-basic-dynamic-columns
- tanstack-alpine-table-example-basic-external-atoms
- tanstack-alpine-table-example-basic-external-state
- tanstack-alpine-table-example-cell-selection
- tanstack-alpine-table-example-cell-spanning
- tanstack-alpine-table-example-column-ordering
- tanstack-alpine-table-example-column-pinning
- tanstack-alpine-table-example-column-pinning-split
- tanstack-alpine-table-example-column-pinning-sticky
- tanstack-alpine-table-example-column-resizing
- tanstack-alpine-table-example-column-resizing-performant
- tanstack-alpine-table-example-column-sizing
- tanstack-alpine-table-example-column-visibility
- tanstack-alpine-table-example-custom-plugin
- tanstack-alpine-table-example-expanding
- tanstack-alpine-table-example-filters
- tanstack-alpine-table-example-filters-faceted
- tanstack-alpine-table-example-filters-faceted-bucketed
- tanstack-alpine-table-example-grouped-aggregation
- tanstack-alpine-table-example-grouping
- tanstack-alpine-table-example-header-groups
- tanstack-alpine-table-example-pagination
- tanstack-alpine-table-example-row-pinning
- tanstack-alpine-table-example-row-selection
- tanstack-alpine-table-example-sorting
- tanstack-alpine-table-example-sorting-dynamic-data
- tanstack-alpine-table-example-sub-components
- tanstack-ember-table-example-aggregation
- tanstack-ember-table-example-basic-app-table
- tanstack-ember-table-example-basic-external-atoms
- tanstack-ember-table-example-basic-external-state
- tanstack-ember-table-example-basic-table
- tanstack-ember-table-example-cell-selection
- tanstack-ember-table-example-cell-spanning
- tanstack-ember-table-example-column-ordering
- tanstack-ember-table-example-column-pinning
- tanstack-ember-table-example-column-pinning-split
- tanstack-ember-table-example-column-pinning-sticky
- tanstack-ember-table-example-column-resizing
- tanstack-ember-table-example-column-resizing-performant
- tanstack-ember-table-example-column-sizing
- tanstack-ember-table-example-column-visibility
- tanstack-ember-table-example-custom-plugin
- tanstack-ember-table-example-editable
- tanstack-ember-table-example-expanding
- tanstack-ember-table-example-filters
- tanstack-ember-table-example-filters-faceted
- tanstack-ember-table-example-filters-faceted-bucketed
- tanstack-ember-table-example-filters-fuzzy
- tanstack-ember-table-example-grouped-aggregation
- tanstack-ember-table-example-grouping
- tanstack-ember-table-example-header-groups
- tanstack-ember-table-example-kitchen-sink
- tanstack-ember-table-example-pagination
- tanstack-ember-table-example-remote-data
- tanstack-ember-table-example-row-dnd
- tanstack-ember-table-example-row-pinning
- tanstack-ember-table-example-row-selection
- tanstack-ember-table-example-sorting
- tanstack-ember-table-example-sub-components
- tanstack-lit-table-example-aggregation
- tanstack-lit-table-example-basic-app-table
- tanstack-lit-table-example-basic-dynamic-columns
- tanstack-lit-table-example-basic-external-atoms
- tanstack-lit-table-example-basic-external-state
- tanstack-lit-table-example-basic-subscribe
- tanstack-lit-table-example-basic-table-controller
- tanstack-lit-table-example-cell-selection
- tanstack-lit-table-example-cell-spanning
- tanstack-lit-table-example-column-ordering
- tanstack-lit-table-example-column-pinning
- tanstack-lit-table-example-column-pinning-split
- tanstack-lit-table-example-column-pinning-sticky
- tanstack-lit-table-example-column-resizing
- tanstack-lit-table-example-column-resizing-performant
- tanstack-lit-table-example-column-sizing
- tanstack-lit-table-example-column-visibility
- tanstack-lit-table-example-composable-tables
- tanstack-lit-table-example-expanding
- tanstack-lit-table-example-filters
- tanstack-lit-table-example-filters-faceted
- tanstack-lit-table-example-filters-faceted-bucketed
- tanstack-lit-table-example-filters-fuzzy
- tanstack-lit-table-example-grouped-aggregation
- tanstack-lit-table-example-grouping
- tanstack-lit-table-example-header-groups
- tanstack-lit-table-example-kitchen-sink
- tanstack-lit-table-example-pagination
- tanstack-lit-table-example-row-pinning
- tanstack-lit-table-example-row-selection
- tanstack-lit-table-example-sorting
- tanstack-lit-table-example-sorting-dynamic-data
- tanstack-lit-table-example-sub-components
- tanstack-lit-table-example-virtualized-columns
- tanstack-lit-table-example-virtualized-infinite-scrolling
- tanstack-lit-table-example-virtualized-rows
- tanstack-angular-table-example-aggregation
- tanstack-angular-table-example-basic-app-table
- tanstack-angular-table-example-basic-dynamic-columns
- tanstack-angular-table-example-basic-external-atoms
- tanstack-angular-table-example-basic-external-state
- tanstack-angular-table-example-basic-inject-table
- tanstack-angular-table-example-cell-selection
- tanstack-angular-table-example-cell-spanning
- tanstack-angular-table-example-column-ordering
- tanstack-angular-table-example-column-pinning
- tanstack-angular-table-example-column-pinning-split
- tanstack-angular-table-example-column-pinning-sticky
- tanstack-angular-table-example-column-resizing
- tanstack-angular-table-example-column-resizing-performant
- tanstack-angular-table-example-column-sizing
- tanstack-angular-table-example-column-visibility
- tanstack-angular-table-example-composable-tables
- tanstack-angular-table-example-custom-plugin
- tanstack-angular-table-example-editable
- tanstack-angular-table-example-expanding
- tanstack-angular-table-example-filters
- tanstack-angular-table-example-filters-faceted
- tanstack-angular-table-example-filters-faceted-bucketed
- tanstack-angular-table-example-filters-fuzzy
- tanstack-angular-table-example-grouped-aggregation
- tanstack-angular-table-example-grouping
- tanstack-angular-table-example-header-groups
- tanstack-angular-table-example-kitchen-sink
- tanstack-angular-table-example-pagination
- tanstack-angular-table-example-remote-data
- tanstack-angular-table-example-row-dnd
- tanstack-angular-table-example-row-pinning
- tanstack-angular-table-example-row-selection
- tanstack-angular-table-example-row-selection-signal
- tanstack-angular-table-example-signal-input
- tanstack-angular-table-example-sorting
- tanstack-angular-table-example-sub-components
- tanstack-angular-table-example-virtualized-columns
- tanstack-angular-table-example-virtualized-infinite-scrolling
- tanstack-angular-table-example-virtualized-rows
- tanstack-angular-table-example-with-tanstack-form
- tanstack-angular-table-example-with-tanstack-query
- @tanstack/octane-table-example-aggregation
- tanstack-octane-table-example-basic-dynamic-columns
- tanstack-octane-table-example-basic-external-atoms
- tanstack-octane-table-example-basic-external-state
- tanstack-octane-table-example-basic-subscribe
- tanstack-octane-table-example-basic-use-app-table
- tanstack-octane-table-example-basic-use-table
- @tanstack/octane-table-example-cell-spanning
- @tanstack/octane-table-example-column-ordering
- @tanstack/octane-table-example-column-pinning
- @tanstack/octane-table-example-column-pinning-split
- @tanstack/octane-table-example-column-pinning-sticky
- @tanstack/octane-table-example-column-resizing
- @tanstack/octane-table-example-column-resizing-performant
- @tanstack/octane-table-example-column-sizing
- @tanstack/octane-table-example-column-visibility
- @tanstack/octane-table-example-composable-tables
- @tanstack/octane-table-example-custom-plugin
- @tanstack/octane-table-example-expanding
- @tanstack/octane-table-example-filters
- @tanstack/octane-table-example-filters-faceted
- @tanstack/octane-table-example-filters-faceted-bucketed
- @tanstack/octane-table-example-filters-fuzzy
- @tanstack/octane-table-example-grouped-aggregation
- @tanstack/octane-table-example-grouping
- @tanstack/octane-table-example-header-groups
- @tanstack/octane-table-example-kitchen-sink
- @tanstack/octane-table-example-pagination
- @tanstack/octane-table-example-row-pinning
- @tanstack/octane-table-example-row-selection
- @tanstack/octane-table-example-sorting
- @tanstack/octane-table-example-sub-components
- tanstack-preact-table-example-aggregation
- tanstack-preact-table-example-basic-dynamic-columns
- tanstack-preact-table-example-basic-external-atoms
- tanstack-preact-table-example-basic-external-state
- tanstack-preact-table-example-basic-subscribe
- tanstack-preact-table-example-basic-use-app-table
- tanstack-preact-table-example-basic-use-table
- tanstack-preact-table-example-cell-selection
- tanstack-preact-table-example-cell-spanning
- tanstack-preact-table-example-column-ordering
- tanstack-preact-table-example-column-pinning
- tanstack-preact-table-example-column-pinning-split
- tanstack-preact-table-example-column-pinning-sticky
- tanstack-preact-table-example-column-resizing
- tanstack-preact-table-example-column-resizing-performant
- tanstack-preact-table-example-column-sizing
- tanstack-preact-table-example-column-visibility
- tanstack-preact-table-example-composable-tables
- tanstack-preact-table-example-custom-plugin
- tanstack-preact-table-example-expanding
- tanstack-preact-table-example-filters
- tanstack-preact-table-example-filters-faceted
- tanstack-preact-table-example-filters-faceted-bucketed
- tanstack-preact-table-example-filters-fuzzy
- tanstack-preact-table-example-grouped-aggregation
- tanstack-preact-table-example-grouping
- tanstack-preact-table-example-header-groups
- tanstack-preact-table-example-kitchen-sink
- tanstack-preact-table-example-pagination
- tanstack-preact-table-example-row-pinning
- tanstack-preact-table-example-row-selection
- tanstack-preact-table-example-sorting
- tanstack-preact-table-example-sub-components
- tanstack-preact-table-example-with-tanstack-form
- tanstack-preact-table-example-with-tanstack-query
- tanstack-solid-table-example-aggregation
- tanstack-solid-table-example-basic-app-table
- tanstack-solid-table-example-basic-dynamic-columns
- tanstack-solid-table-example-basic-external-atoms
- tanstack-solid-table-example-basic-external-state
- tanstack-solid-table-example-basic-use-table
- tanstack-solid-table-example-cell-selection
- tanstack-solid-table-example-cell-spanning
- tanstack-solid-table-example-column-ordering
- tanstack-solid-table-example-column-pinning
- tanstack-solid-table-example-column-pinning-split
- tanstack-solid-table-example-column-pinning-sticky
- tanstack-solid-table-example-column-resizing
- tanstack-solid-table-example-column-resizing-performant
- tanstack-solid-table-example-column-sizing
- tanstack-solid-table-example-column-visibility
- tanstack-solid-table-example-composable-tables
- tanstack-solid-table-example-expanding
- tanstack-solid-table-example-filters
- tanstack-solid-table-example-filters-faceted
- tanstack-solid-table-example-filters-faceted-bucketed
- tanstack-solid-table-example-filters-fuzzy
- tanstack-solid-table-example-grouped-aggregation
- tanstack-solid-table-example-grouping
- tanstack-solid-table-example-header-groups
- tanstack-solid-table-example-kitchen-sink
- tanstack-solid-table-example-pagination
- tanstack-solid-table-example-row-pinning
- tanstack-solid-table-example-row-selection
- tanstack-solid-table-example-sorting
- tanstack-solid-table-example-spreadsheet
- tanstack-solid-table-example-sub-components
- tanstack-solid-table-example-virtualized-columns
- tanstack-solid-table-example-virtualized-infinite-scrolling
- tanstack-solid-table-example-virtualized-rows
- tanstack-solid-table-example-with-tanstack-form
- tanstack-solid-table-example-with-tanstack-query
- tanstack-solid-table-example-with-tanstack-router
- tanstack-vanilla-table-example-aggregation
- tanstack-vanilla-table-example-basic
- tanstack-vanilla-table-example-pagination
- tanstack-vanilla-table-example-sorting
- tanstack-react-table-example-aggregation
- tanstack-react-table-example-basic-dynamic-columns
- tanstack-react-table-example-basic-external-atoms
- tanstack-react-table-example-basic-external-state
- tanstack-react-table-example-basic-subscribe
- tanstack-react-table-example-basic-use-app-table
- tanstack-react-table-example-basic-use-legacy-table
- tanstack-react-table-example-basic-use-table
- tanstack-react-table-example-cell-selection
- tanstack-react-table-example-cell-spanning
- tanstack-react-table-example-column-dnd
- tanstack-react-table-example-column-ordering
- tanstack-react-table-example-column-pinning
- tanstack-react-table-example-column-pinning-split
- tanstack-react-table-example-column-pinning-sticky
- tanstack-react-table-example-column-resizing
- tanstack-react-table-example-column-resizing-performant
- tanstack-react-table-example-column-sizing
- tanstack-react-table-example-column-visibility
- tanstack-react-table-example-composable-tables
- tanstack-react-table-example-custom-plugin
- tanstack-react-table-example-expanding
- tanstack-react-table-example-filters
- tanstack-react-table-example-filters-faceted
- tanstack-react-table-example-filters-faceted-bucketed
- tanstack-react-table-example-filters-fuzzy
- tanstack-react-table-example-grouped-aggregation
- tanstack-react-table-example-grouping
- tanstack-react-table-example-header-groups
- tanstack-react-table-example-kitchen-sink
- tanstack-react-table-example-kitchen-sink-chakra-ui
- tanstack-react-table-example-kitchen-sink-hero-ui
- tanstack-react-table-example-kitchen-sink-mantine
- tanstack-react-table-example-kitchen-sink-material-ui
- tanstack-react-table-example-kitchen-sink-react-aria
- tanstack-react-table-example-kitchen-sink-shadcn-base
- tanstack-react-table-example-kitchen-sink-shadcn-radix
- tanstack-react-table-example-lib-chakra-ui
- tanstack-react-table-example-lib-hero-ui
- tanstack-react-table-example-lib-mantine
- tanstack-react-table-example-lib-material-ui
- tanstack-react-table-example-lib-react-aria
- tanstack-react-table-example-lib-shadcn-base
- tanstack-react-table-example-lib-shadcn-radix
- tanstack-react-table-example-mantine-react-table
- tanstack-react-table-example-material-react-table
- tanstack-react-table-example-pagination
- tanstack-react-table-example-row-dnd
- tanstack-react-table-example-row-pinning
- tanstack-react-table-example-row-selection
- tanstack-react-table-example-sorting
- tanstack-react-table-example-spreadsheet
- tanstack-react-table-example-sub-components
- tanstack-react-table-example-virtualized-columns
- tanstack-react-table-example-virtualized-columns-experimental
- tanstack-react-table-example-virtualized-infinite-scrolling
- tanstack-react-table-example-virtualized-rows
- tanstack-react-table-example-virtualized-rows-experimental
- tanstack-react-table-example-web-worker-row-models
- tanstack-react-table-example-with-tanstack-form
- tanstack-react-table-example-with-tanstack-query
- tanstack-react-table-example-with-tanstack-router
- tanstack-svelte-table-example-aggregation
- tanstack-svelte-table-example-basic-app-table
- tanstack-svelte-table-example-basic-create-table
- tanstack-svelte-table-example-basic-dynamic-columns
- tanstack-svelte-table-example-basic-external-atoms
- tanstack-svelte-table-example-basic-external-state
- tanstack-svelte-table-example-basic-snippets
- tanstack-svelte-table-example-cell-selection
- tanstack-svelte-table-example-cell-spanning
- tanstack-svelte-table-example-column-ordering
- tanstack-svelte-table-example-column-pinning
- tanstack-svelte-table-example-column-pinning-split
- tanstack-svelte-table-example-column-pinning-sticky
- tanstack-svelte-table-example-column-resizing
- tanstack-svelte-table-example-column-resizing-performant
- tanstack-svelte-table-example-column-sizing
- tanstack-svelte-table-example-column-visibility
- tanstack-svelte-table-example-composable-tables
- tanstack-svelte-table-example-expanding
- tanstack-svelte-table-example-filtering
- tanstack-svelte-table-example-filters-faceted
- tanstack-svelte-table-example-filters-faceted-bucketed
- tanstack-svelte-table-example-filters-fuzzy
- tanstack-svelte-table-example-grouped-aggregation
- tanstack-svelte-table-example-grouping
- tanstack-svelte-table-example-header-groups
- tanstack-svelte-table-example-kitchen-sink
- tanstack-svelte-table-example-pagination
- tanstack-svelte-table-example-row-pinning
- tanstack-svelte-table-example-row-selection
- tanstack-svelte-table-example-sorting
- tanstack-svelte-table-example-spreadsheet
- tanstack-svelte-table-example-sub-components
- tanstack-svelte-table-example-virtualized-columns
- tanstack-svelte-table-example-virtualized-infinite-scrolling
- tanstack-svelte-table-example-virtualized-rows
- tanstack-svelte-table-example-with-tanstack-form
- tanstack-svelte-table-example-with-tanstack-query
- tanstack-vue-table-example-aggregation
- tanstack-vue-table-example-basic-dynamic-columns
- tanstack-vue-table-example-basic-external-atoms
- tanstack-vue-table-example-basic-external-state
- tanstack-vue-table-example-basic-use-app-table
- tanstack-vue-table-example-basic-use-table
- tanstack-vue-table-example-cell-selection
- tanstack-vue-table-example-cell-spanning
- tanstack-vue-table-example-column-ordering
- tanstack-vue-table-example-column-pinning
- tanstack-vue-table-example-column-pinning-split
- tanstack-vue-table-example-column-pinning-sticky
- tanstack-vue-table-example-column-resizing
- tanstack-vue-table-example-column-resizing-performant
- tanstack-vue-table-example-column-sizing
- tanstack-vue-table-example-column-visibility
- tanstack-vue-table-example-composable-tables
- tanstack-vue-table-example-expanding
- tanstack-vue-table-example-filters
- tanstack-vue-table-example-filters-faceted
- tanstack-vue-table-example-filters-faceted-bucketed
- tanstack-vue-table-example-filters-fuzzy
- tanstack-vue-table-example-grouped-aggregation
- tanstack-vue-table-example-grouping
- tanstack-vue-table-example-header-groups
- tanstack-vue-table-example-kitchen-sink
- tanstack-vue-table-example-pagination
- tanstack-vue-table-example-row-pinning
- tanstack-vue-table-example-row-selection
- tanstack-vue-table-example-sorting
- tanstack-vue-table-example-sub-components
- tanstack-vue-table-example-virtualized-columns
- tanstack-vue-table-example-virtualized-infinite-scrolling
- tanstack-vue-table-example-virtualized-rows
- tanstack-vue-table-example-with-tanstack-form
- tanstack-vue-table-example-with-tanstack-query
@tanstack/alpine-table
npm i https://pkg.pr.new/TanStack/table/@tanstack/alpine-table@6503@tanstack/angular-table
npm i https://pkg.pr.new/TanStack/table/@tanstack/angular-table@6503@tanstack/angular-table-devtools
npm i https://pkg.pr.new/TanStack/table/@tanstack/angular-table-devtools@6503@tanstack/ember-table
npm i https://pkg.pr.new/TanStack/table/@tanstack/ember-table@6503@tanstack/lit-table
npm i https://pkg.pr.new/TanStack/table/@tanstack/lit-table@6503@tanstack/match-sorter-utils
npm i https://pkg.pr.new/TanStack/table/@tanstack/match-sorter-utils@6503@tanstack/octane-table
npm i https://pkg.pr.new/TanStack/table/@tanstack/octane-table@6503@tanstack/preact-table
npm i https://pkg.pr.new/TanStack/table/@tanstack/preact-table@6503@tanstack/preact-table-devtools
npm i https://pkg.pr.new/TanStack/table/@tanstack/preact-table-devtools@6503@tanstack/react-table
npm i https://pkg.pr.new/TanStack/table/@tanstack/react-table@6503@tanstack/react-table-devtools
npm i https://pkg.pr.new/TanStack/table/@tanstack/react-table-devtools@6503@tanstack/solid-table
npm i https://pkg.pr.new/TanStack/table/@tanstack/solid-table@6503@tanstack/solid-table-devtools
npm i https://pkg.pr.new/TanStack/table/@tanstack/solid-table-devtools@6503@tanstack/svelte-table
npm i https://pkg.pr.new/TanStack/table/@tanstack/svelte-table@6503@tanstack/table-core
npm i https://pkg.pr.new/TanStack/table/@tanstack/table-core@6503@tanstack/table-devtools
npm i https://pkg.pr.new/TanStack/table/@tanstack/table-devtools@6503@tanstack/vue-table
npm i https://pkg.pr.new/TanStack/table/@tanstack/vue-table@6503@tanstack/vue-table-devtools
npm i https://pkg.pr.new/TanStack/table/@tanstack/vue-table-devtools@6503commit:
e4ea722KevinVandy merged this8fcfd34
KevinVandy closed this
Sign in to join this conversation.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID:
77407c4e-d842-4cb3-848d-eee9e07abeec📥 Commits
Reviewing files that changed from the base of the PR and between eed3da9c6f9ce36bac8e76b4d4b3647a6d581138 and e4ea7225bdbdc3f387de9223b5d3c58c0fe43f39.
📒 Files selected for processing (4)
docs/framework/alpine/guide/column-faceting.mddocs/framework/ember/guide/column-faceting.mddocs/framework/lit/guide/column-faceting.mddocs/framework/octane/guide/column-faceting.md🚧 Files skipped from review as they are similar to previous changes (3)
📝 Walkthrough
Walkthrough#
The change updates table-core filtering and faceting behavior. It adds tests for numeric ranges, custom
autoRemove, truncated descendants, and faceting evaluation. Framework guides and beta triage documentation describe the updated behavior.Changes#
Cluster 5 behavior updates
packages/table-core/src/features/column-faceting/*,packages/table-core/tests/implementation/features/column-faceting/*,docs/framework/*/guide/column-faceting.mdautoRemovebehaviorpackages/table-core/src/features/column-filtering/columnFilteringFeature.types.ts,packages/table-core/src/features/column-filtering/columnFilteringFeature.utils.ts,packages/table-core/tests/unit/features/column-filtering/*,docs/framework/*/guide/column-filtering.mdautoRemovecontrols removal for defined values.undefinedalways clears the filter. Retained empty strings remain in filter state.packages/table-core/src/features/column-filtering/filterFns.ts,packages/table-core/tests/unit/fns/filterFns.test.tsNaNrow values before range comparison.packages/table-core/src/features/column-filtering/filterRowsUtils.ts,packages/table-core/tests/implementation/features/column-filtering/createFilteredRowModel.test.ts,beta-window-triage.mdflatRowsandrowsByIdwhen filtering stops at the configured depth. Beta triage records the Cluster 5 fixes as implemented.Estimated code review effort: 4 (Complex) | ~45 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)#
✅ Passed checks (4 passed)
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share