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

refactor: avoid duplicate sort calls #91

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

chintankavathia
Copy link
Member

What kind of change does this PR introduce? (check one with "x")
Currently on initialization internal sort is called multiple times (>4) which is not needed.
Also sort is called twice when ghost loading is enabled with virtual infinite scroll.

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)

What is the new behavior?
sortInternalRows is called only once avoiding redundant calls.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@chintankavathia chintankavathia marked this pull request as ready for review October 3, 2024 06:33
@chintankavathia chintankavathia force-pushed the refactor/sort-2 branch 2 times, most recently from bf4f231 to 0ed6bba Compare October 3, 2024 06:59
@chintankavathia chintankavathia marked this pull request as draft October 3, 2024 07:02
@chintankavathia chintankavathia force-pushed the refactor/sort-2 branch 2 times, most recently from 52b2626 to f968632 Compare October 3, 2024 07:27
@chintankavathia chintankavathia marked this pull request as ready for review October 3, 2024 07:30
Copy link
Member

@timowolf timowolf left a comment

Choose a reason for hiding this comment

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

LGTM

@timowolf timowolf merged commit cb7056d into siemens:master Oct 9, 2024
1 check passed
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.

2 participants