Skip to content

Grids - FilterSync: Move the column option synchronization into the controller - #35252

Open
Alyar666 wants to merge 1 commit into
DevExpress:mainfrom
Alyar666:gridcore_move_column_sync_to_filter_sync_26_2
Open

Alyar666 wants to merge 1 commit into
DevExpress:mainfrom
Alyar666:gridcore_move_column_sync_to_filter_sync_26_2

Conversation

@Alyar666

Copy link
Copy Markdown
Contributor

No description provided.

@Alyar666 Alyar666 self-assigned this Sep 16, 2026
Copilot AI lite review requested due to automatic review settings September 16, 2026 22:59
@Alyar666 Alyar666 added the 26_2 label Sep 16, 2026
@Alyar666
Alyar666 requested a review from a team as a code owner September 16, 2026 22:59

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.

🟡 Changes recommended

Fix the unavailable suspendColumnSources call before approval.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Moves column-option filter synchronization into FilterSyncController.

Changes:

  • Extracts column-property parsing into utilities.
  • Delegates synchronization from the data-controller extender.
  • Adds utility and synchronization tests.

A critical issue remains: m_filter_sync.ts calls an unavailable suspendColumnSources method.

File summaries
File Summary
packages/devextreme/js/__internal/grids/grid_core/filter_sync/utils.ts Adds column-property parsing.
packages/devextreme/js/__internal/grids/grid_core/filter_sync/m_filter_sync.ts Centralizes column-option synchronization.
packages/devextreme/js/__internal/grids/grid_core/filter_sync/extenders/filter_sync_data_controller.ts Delegates column changes to the controller.
packages/devextreme/js/__internal/grids/grid_core/filter_sync/__tests__/utils.test.ts Tests property parsing.
packages/devextreme/js/__internal/grids/grid_core/filter_sync/__tests__/filter_sync.sync_column_option.test.ts Tests synchronization scenarios.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

@Alyar666
Alyar666 force-pushed the gridcore_move_column_sync_to_filter_sync_26_2 branch from 42e57a8 to ec3901d Compare September 17, 2026 18:55
Copilot AI review requested due to automatic review settings September 17, 2026 18:55

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.

🟡 Changes recommended

One or more issues must be addressed before approval.

Get a fresh assessment by requesting another Copilot review.

Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 1
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 17, 2026 19:21
@Alyar666
Alyar666 force-pushed the gridcore_move_column_sync_to_filter_sync_26_2 branch from ec3901d to 125699c Compare September 17, 2026 19:21

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.

🟢 Approval recommended

No unresolved issues were identified, and focused synchronization tests were added.

Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

|| previousValue === FILTER_TYPES_EXCLUDE;
const isExcludeFilterTypeToggled = propertyName === 'filterType' && hasExcludeFilterType;
const needSyncHeaderFilter = isExcludeFilterTypeToggled || propertyName === 'filterValues';
const needSyncFilterRow = propertyName === 'filterValue'

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.

would a small typed union for propertyName read better here than the 'filterValue' / 'filterValues' / 'filterType' string comparisons, or do you see it as churn since this moved over verbatim from the data extender?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants