Skip to content

fix(grid): strict string typing the grid paging mode #15706

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 10 commits into from
Apr 16, 2025

Conversation

ChronosSF
Copy link
Member

No description provided.

@ChronosSF ChronosSF requested a review from damyanpetev April 14, 2025 11:09
@@ -708,47 +708,4 @@ export class CsvExportComponent {
)
).toEqual(expectedContent);
});

it('should update GridPagingMode enum from lowerCase to TitleCase', async () => {
Copy link
Member

Choose a reason for hiding this comment

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

Assuming these don't work because the resolution is based on the TypeScript LS checking GridPagingMode and verifying it's an igniteui-angular export, the member is based pure string match. Perhaps we have a class declaration or enum filter that fails the check for the new const. Might want to check, even though not really critical for this PR

@ChronosSF ChronosSF requested a review from damyanpetev April 15, 2025 14:09
Copy link
Member

@damyanpetev damyanpetev left a comment

Choose a reason for hiding this comment

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

@ChronosSF Also changelog, since it should be noted the input on the grid can now be set in markup directly as 'remote' instead of importing in the enum (requires extra prop/code).
Otherwise, LGTM.

@ChronosSF ChronosSF merged commit 3e3b3fe into master Apr 16, 2025
5 checks passed
@ChronosSF ChronosSF deleted the sstoychev/change-pagingmode-enum branch April 16, 2025 08:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants