-
Notifications
You must be signed in to change notification settings - Fork 991
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
MBL-1974 Project notice #2214
MBL-1974 Project notice #2214
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #2214 +/- ##
============================================
- Coverage 68.35% 68.21% -0.15%
- Complexity 2198 2200 +2
============================================
Files 352 354 +2
Lines 23726 23866 +140
Branches 3482 3501 +19
============================================
+ Hits 16218 16279 +61
- Misses 5672 5746 +74
- Partials 1836 1841 +5 ☔ View full report in Codecov by Sentry. |
text: String, | ||
textColor: Color = colors.textAccentGrey | ||
) { | ||
OutlinedButton( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Material OutlinedButton adds margins on the top and bottom by default, which made things more complicated to match with spec.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private fun close() = this.dismiss() | ||
|
||
@Composable | ||
fun KSBottomSheetDragHandle() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ended up drawing the drag handle myself because I don't think it was included in material 1 for bottom sheets?
android:right="@dimen/grid_2" /> | ||
<corners android:topRightRadius="@dimen/grid_2" android:topLeftRadius="@dimen/grid_2"/> | ||
|
||
<corners android:topRightRadius="@dimen/grid_9_half" android:topLeftRadius="@dimen/grid_9_half"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file wasn't being used (bc there are no other bottom sheets currently in the app) so I went ahead and increased the corner radius on it.
@@ -0,0 +1,36 @@ | |||
package com.kickstarter.ui.views.compose.projectpage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wanted to write a test for onclick events but didn't have a way for the stubbed viewmodel to communicate with the views inside the composeView. Let me know if you know of a way!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take a look here might be helpful ->
android-oss/app/src/test/java/com/kickstarter/ui/activities/compose/ChangePasswordScreenTest.kt
Line 156 in b6ab5da
var acceptButtonClickedCount = 0 |
when passwords valid and matching, accept button enabled and no warning text visible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Just added a similar test.
* Fix typo on hyperlink * use ksString.format for the solution * fixed url
Timber.w(e, "Undeliverable Exception"); | ||
if (e.getMessage() != null) { | ||
FirebaseCrashlytics.getInstance().setCustomKey("Undeliverable Exception", e.getMessage()); | ||
RxJavaPlugins.setErrorHandler(t -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This es already in master, why are we seeing it this Pr 🤔 ?
📲 What
For projects that Trust & Safety have flagged as problematic, display a "Kickstarter has restricted this creator" alert on the project overview. When the user clicks on the Learn More button, open up a bottom sheet with more information.
🤔 Why
Let users know we are doing something about sus creators.
🛠 How
👀 See
📋 QA
Use this project on staging: https://staging.kickstarter.com/projects/clayospice/clayo-gourmet-peruvian-goods
Story 📖
https://kickstarter.atlassian.net/browse/MBL-1974