-
Notifications
You must be signed in to change notification settings - Fork 870
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
Move Home Panel CTA to Bottom Sheet #4646
Move Home Panel CTA to Bottom Sheet #4646
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @malmstein and the rest of your teammates on Graphite |
27bd6fd
to
39a2f97
Compare
@malmstein if I rotate the screen following the steps to test, it crashes. |
common/common-ui/src/main/java/com/duckduckgo/common/ui/view/dialog/PromoBottomSheetDialog.kt
Show resolved
Hide resolved
@malmstein I tested this and works as expected 👍 However, I have a couple of concerns with the change:
I'll include this comment in Asana too so we can discuss it there. |
41141ae
to
d347ee4
Compare
47a827f
to
6fe8009
Compare
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.
Tested and works as expected ✅
There were a couple of comments from the previous review:
- (NIT) add description to the new method in the PromoBottomSheetDialog API
- (not a blocker) Move logic to display the PromoBottomSheet to the
Cta.kt
instead theBrowserTabFragment
Thanks @nalcalag ! |
Task/Issue URL: https://app.asana.com/0/1174433894299346/1207561426611562/f
Description
Migrates HomeCTA to use PromoBottomSheet
We are also removing all the code to display Surveys in that CTA
Steps to test this PR
Widget CTA Orientation
Widget CTA Logic
Survey CTA Removal