Skip to content

Conversation

gjulivan
Copy link
Collaborator

Pull request type


Description

@gjulivan gjulivan requested a review from a team as a code owner September 11, 2025 12:02
@Copilot Copilot AI review requested due to automatic review settings September 11, 2025 12:02
Copy link

@Copilot 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 fixes an issue where combobox lazy loading was not working properly on initial load. The fix ensures that the lazy loader is properly initialized with a limit before checking for loading status.

  • Updated the limit calculation logic to handle Infinity and undefined values more robustly
  • Moved the early return for loading status to occur after lazy loader initialization
  • Added changelog entry documenting the fix

Reviewed Changes

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

File Description
packages/pluggableWidgets/combobox-web/src/helpers/LazyLoadProvider.ts Fixed limit calculation to handle Infinity and undefined values properly during lazy loading
packages/pluggableWidgets/combobox-web/src/helpers/Database/DatabaseSingleSelectionSelector.ts Moved loading status check after lazy loader initialization to ensure proper setup
packages/pluggableWidgets/combobox-web/CHANGELOG.md Added changelog entry for the lazy load fix

@gjulivan gjulivan force-pushed the combobox-lazyload-fix branch 2 times, most recently from dc767d7 to 7f21ca5 Compare September 12, 2025 07:34
@gjulivan gjulivan force-pushed the combobox-lazyload-fix branch from 7f21ca5 to 4a6d830 Compare September 12, 2025 09:04
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.

1 participant