-
Notifications
You must be signed in to change notification settings - Fork 29
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
fix: multiple undo tap for drawing, unnecessary recompositions (WPB-8810) 🍒 #3033
Conversation
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3033 +/- ##
===========================================
+ Coverage 44.26% 44.29% +0.02%
===========================================
Files 448 448
Lines 14517 14519 +2
Branches 2493 2493
===========================================
+ Hits 6426 6431 +5
+ Misses 7389 7385 -4
- Partials 702 703 +1
Continue to review full report in Codecov by Sentry.
|
APKs built during tests are available here. Scroll down to Artifacts! |
Build 4973 succeeded. The build produced the following APK's: |
This PR was automatically cherry-picked based on the following PR:
Original PR description:
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
We are doing unnecessary recompositions, and we are not using immutable lists.
Causes (Optional)
Sometimes, we need to tap the undo button many times for the same line.
Solutions
Make use of immutable collections, and mark state as stable too, to help the compiler.
Add tests coverage for this case.
Testing
Test Coverage (Optional)
How to Test
Draw lines and see if it is necessary to tap many undos.
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.