-
Notifications
You must be signed in to change notification settings - Fork 26
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: remove rememberRipple, unify calling icon buttons #2998
Conversation
…nify-calling-buttons
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2998 +/- ##
===========================================
+ Coverage 44.00% 44.15% +0.14%
===========================================
Files 447 447
Lines 14547 14548 +1
Branches 2497 2498 +1
===========================================
+ Hits 6402 6423 +21
+ Misses 7451 7424 -27
- Partials 694 701 +7 see 3 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
APKs built during tests are available here. Scroll down to Artifacts! |
Build 4718 succeeded. The build produced the following APK's: |
…nify-calling-buttons # Conflicts: # app/src/main/kotlin/com/wire/android/ui/calling/controlbuttons/CameraButton.kt # app/src/main/kotlin/com/wire/android/ui/calling/controlbuttons/CameraFlipButton.kt # app/src/main/kotlin/com/wire/android/ui/calling/controlbuttons/DeclineButton.kt # app/src/main/kotlin/com/wire/android/ui/calling/controlbuttons/MicrophoneButton.kt # app/src/main/kotlin/com/wire/android/ui/calling/controlbuttons/SpeakerButton.kt # app/src/main/kotlin/com/wire/android/ui/common/AppExtensions.kt
Quality Gate passedIssues Measures |
APKs built during tests are available here. Scroll down to Artifacts! |
Build 4762 succeeded. The build produced the following APK's: |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
When updating compose version, there were some problems with
rememberRipple
as it has been updated/changed in the compose library. Having custom ripples set in the app may lead to some wrong colors chosen for the indication or ripple not covering or going beyond the element if the shape is not correct.Solutions
Removed all
rememberRipple
in the app, instead rely on the default indication type and colour based on the theme.Added ripple colors to button color scheme to enable setting different ripple colors for different button states in the theme.
Unified all calling icon buttons so that they are consistent, have correct types, reuse the same elements and are in line with designs.
Fixed previews and added some more where missing.
Testing
How to Test
Open calling screens and click on round calling icon buttons.
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
.