Skip to content

Conversation

@damyanpetev
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Dec 11, 2025

Pull Request Test Coverage Report for Build 20135696285

Details

  • 35 of 36 (97.22%) changed or added relevant lines in 13 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.287%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/controllers/navigation.ts 3 4 75.0%
Totals Coverage Status
Change from base Build 20125563371: 0.0%
Covered Lines: 2990
Relevant Lines: 3085

💛 - Coveralls

@damyanpetev damyanpetev requested a review from Copilot December 11, 2025 14:12
Copy link

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 renames column configuration properties to improve API clarity and consistency. The changes rename key to field, type to dataType, and headerText to header across the entire codebase.

  • Property renaming: keyfield, typedataType, headerTextheader
  • Updated all test files to use the new property names
  • Updated component implementations and controllers to reference the new properties

Reviewed changes

Copilot reviewed 24 out of 24 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/utils/row-fixture.ts Updated cell finder to use column.field
test/utils/grid-fixture.ts Updated column configuration to use new property names (field, header, dataType)
test/resize.test.ts Updated test cases to use field instead of key
test/grid.properties.test.ts Updated tests to use new property names and iteration variable
test/data-operation/sort-ui.test.ts Updated test cases to use field instead of key
test/data-operation/filter.test.ts Updated column configuration creation to use field and dataType
test/data-operation/filter-ui.test.ts Updated test cases to use new property names
test/column-config.test.ts Updated all column configuration tests to use new property names
src/internal/utils.ts Updated utility functions to use field and dataType
src/internal/types.ts Updated type definitions and documentation for renamed properties
src/internal/constants.ts Updated default column configuration to use new property names
src/controllers/state.ts Updated column finder to use field
src/controllers/sort.ts Updated sort expression preparation to use field
src/controllers/resize.ts Updated resize logic to use field
src/controllers/navigation.ts Updated navigation logic to use field
src/controllers/filter.ts Updated filter expression creation to use field
src/components/row.ts Updated cell rendering to use field for data access
src/components/header.ts Updated header rendering to use field and header
src/components/header-row.ts Updated header row filtering state check to use field
src/components/grid.ts Updated column lookup to use field
src/components/filter-row.ts Updated filter row logic to use field and dataType
src/components/column.ts Updated property definitions and documentation
demo/demo.ts Updated demo column configurations and usage to new property names
CHANGELOG.md Documented breaking changes for property renames

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

export interface BaseColumnConfiguration<T extends object, K extends Keys<T> = Keys<T>> {
/**
* The field for from the data the this column will reference.
* The field from the data for this column.
Copy link

Copilot AI Dec 11, 2025

Choose a reason for hiding this comment

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

Corrected grammar from 'The field from the data for this column' to 'The field from the data that this column references'.

Suggested change
* The field from the data for this column.
* The field from the data that this column references.

Copilot uses AI. Check for mistakes.
@damyanpetev damyanpetev merged commit b27e537 into master Dec 11, 2025
5 checks passed
@damyanpetev damyanpetev deleted the dpetev/column-props branch December 11, 2025 16:07
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