Skip to content

Grids: decouple dataController from kbn - #34849

Merged
anna-shakhova merged 2 commits into
DevExpress:mainfrom
anna-shakhova:decouple_kbn_data_main
Aug 20, 2026
Merged

Grids: decouple dataController from kbn#34849
anna-shakhova merged 2 commits into
DevExpress:mainfrom
anna-shakhova:decouple_kbn_data_main

Conversation

@anna-shakhova

Copy link
Copy Markdown
Contributor

No description provided.

@anna-shakhova anna-shakhova self-assigned this Aug 20, 2026
@anna-shakhova
anna-shakhova requested a review from a team as a code owner August 20, 2026 09:16
Copilot AI lite review requested due to automatic review settings August 20, 2026 09:16

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.

Pull request overview

This PR refactors Grid Core dependencies to reduce coupling between the base DataController / EditorFactory and the keyboardNavigation controller, moving that dependency into the focus module’s extenders where it’s actually needed.

Changes:

  • Removed keyboardNavigation controller wiring from EditorFactory and DataController base implementations.
  • Added focus-specific extenders that initialize and store keyboardNavigation controller references in m_focus.ts.
  • Updated the focus module extender registration to use the new extender functions.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/devextreme/js/__internal/grids/grid_core/focus/m_focus.ts Adds init() to focus-related extenders to obtain keyboardNavigation and updates extender registration.
packages/devextreme/js/__internal/grids/grid_core/editor_factory/m_editor_factory.ts Removes unused keyboardNavigation controller field/import/initialization from EditorFactory.
packages/devextreme/js/__internal/grids/grid_core/data_controller/data_controller.ts Removes unused keyboardNavigation controller field/import/initialization from DataController.

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

Comment thread packages/devextreme/js/__internal/grids/grid_core/focus/m_focus.ts Outdated
Copilot AI review requested due to automatic review settings August 20, 2026 10:14

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.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@anna-shakhova
anna-shakhova added this pull request to the merge queue Aug 20, 2026
Merged via the queue into DevExpress:main with commit d3968bd Aug 20, 2026
101 checks passed
@anna-shakhova
anna-shakhova deleted the decouple_kbn_data_main branch August 20, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants