Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Virtualized Property Grid: display loader on all loads #660

Merged
merged 21 commits into from
Jan 16, 2024

Conversation

ViliusBa
Copy link
Contributor

@ViliusBa ViliusBa commented Jan 2, 2024

Changes

This PR changes the logic of VirtualizedPropertyGridWithDataProvider to display the loading spinner on all selections if delay threshold is met (250 ms currently). Which basically means that if a getData call takes longer than the 250 ms to complete a loading spinner will be shown instead of the grid until the call is completed.

Testing

Added a test case which replicates the aforementioned situation.

@ViliusBa ViliusBa requested review from a team as code owners January 2, 2024 19:19
@grigasp grigasp linked an issue Jan 3, 2024 that may be closed by this pull request
Copy link
Contributor

@raplemie raplemie left a comment

Choose a reason for hiding this comment

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

LGTM!

@ViliusBa ViliusBa enabled auto-merge (squash) January 16, 2024 07:36
@ViliusBa ViliusBa merged commit ea031fd into master Jan 16, 2024
17 checks passed
@ViliusBa ViliusBa deleted the property-grid/change-loader-logic branch January 16, 2024 13:28
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.

Property grid: Spinner is not rendered at all on subsequent selections
4 participants