Skip to content

refactor: drop updateColumns method after declarative refactor#19

Merged
damyanpetev merged 1 commit into
masterfrom
dpetev/update-col-method
Dec 12, 2025
Merged

refactor: drop updateColumns method after declarative refactor#19
damyanpetev merged 1 commit into
masterfrom
dpetev/update-col-method

Conversation

@damyanpetev
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

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 removes the updateColumns method from the grid component following a refactor to support declarative column updates. Instead of using the imperative updateColumns API, columns can now be updated directly by modifying their properties.

Key Changes:

  • Removed the updateColumns public method from IgcGridLite
  • Updated test fixture to manipulate column elements directly via DOM queries
  • Documented the breaking change in CHANGELOG

Reviewed changes

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

File Description
src/components/grid.ts Removed the updateColumns method from the grid component
test/utils/grid-fixture.ts Replaced method call with direct DOM manipulation of column elements
CHANGELOG.md Documented the breaking change removal of updateColumns

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/utils/grid-fixture.ts
Comment thread test/utils/grid-fixture.ts
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 20170065037

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 96.557%

Totals Coverage Status
Change from base Build 20161670348: 0.3%
Covered Lines: 2989
Relevant Lines: 3078

💛 - Coveralls

@damyanpetev damyanpetev merged commit 92a43c6 into master Dec 12, 2025
5 checks passed
@damyanpetev damyanpetev deleted the dpetev/update-col-method branch December 12, 2025 15:23
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.

4 participants