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

perf(ThreadListView): Remove nested if #796

Merged
merged 3 commits into from
Jun 12, 2023
Merged

perf(ThreadListView): Remove nested if #796

merged 3 commits into from
Jun 12, 2023

Conversation

PhilippeWeidmann
Copy link
Member

Nested if causes the list to render entirely (n elements rendered). If the list contains no If statement only 20-40 elements are rendered. This caused issues with large list of Threads.

Nested If were hidden in SwipeActionModifier and ActionPanelViewModifier.

@PhilippeWeidmann PhilippeWeidmann requested a review from a team as a code owner June 12, 2023 13:49
@sonarcloud
Copy link

sonarcloud bot commented Jun 12, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@valentinperignon valentinperignon merged commit 93c493c into master Jun 12, 2023
5 checks passed
@valentinperignon valentinperignon deleted the perf-list branch June 12, 2023 13:57
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.

None yet

2 participants