-
Notifications
You must be signed in to change notification settings - Fork 901
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
Highlights Onboarding Experiment #5116
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This stack of pull requests is managed by Graphite. Learn more about stacking. |
nalcalag
force-pushed
the
feature/noelia/highlights_pre_onboarding
branch
2 times, most recently
from
October 9, 2024 14:44
5f1f36e
to
cf30363
Compare
marcosholgado
approved these changes
Oct 14, 2024
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.
A few comments added in Asana but otherwise LGTM
nalcalag
force-pushed
the
feature/noelia/highlights_pre_onboarding
branch
from
October 14, 2024 15:38
66b721a
to
1cdddac
Compare
nalcalag
force-pushed
the
feature/noelia/highlights_pre_onboarding
branch
from
October 21, 2024 12:22
404a508
to
0355839
Compare
Task/Issue URL: https://app.asana.com/0/1207908166761516/1208267346828963/f ### Description Adds a new DaxBubbleCardViewExperiment for upcoming experiment with onboarding. These are not visible will be used later in another task. To see these dialogs they will need to be enabled in code. ### Steps to test this PR _Launch onboarding_ - [ ] Ensure dialog shape and arrows have not changed ### UI changes There should be none. But here are examples of what the dialogs should look like when shown: ![Screenshot_20240926_121050](https://github.com/user-attachments/assets/480f2f4e-9e8d-44c7-a48c-48017f1afc9b) ![Screenshot_20240926_122205](https://github.com/user-attachments/assets/219a0875-9874-471e-ac01-bc83a8a4cc2f) ![Screenshot_20240926_155207](https://github.com/user-attachments/assets/17f96275-896a-4850-9ffe-96bb9716a8d9)
Task/Issue URL: https://app.asana.com/0/1207418217763355/1208542610603557/f ### Description This PR removes the extra gap that was visible during onboarding. The issue was mainly caused by [this](https://github.com/duckduckgo/Android/compare/feature/noelia/highlights_pre_onboarding...fix/ondrej/onboarding_gap?expand=1#diff-38c52e4c3d2d7891eed9656823f30c41a4984cdeaa5f89a78e31f57340f6afbeL39). Removing it, however, had a cascading side effect: - A [behavior](https://github.com/duckduckgo/Android/compare/feature/noelia/highlights_pre_onboarding...fix/ondrej/onboarding_gap?expand=1#diff-38c52e4c3d2d7891eed9656823f30c41a4984cdeaa5f89a78e31f57340f6afbeR25) had to be added to the new browser tab layout so that the NTP content would stay below the address bar now that the padding was removed - The change above, caused some new layout changes, for example the button on the NTP was now out of the viewport, so a bottom margin [had to be added](https://github.com/duckduckgo/Android/compare/feature/noelia/highlights_pre_onboarding...fix/ondrej/onboarding_gap?expand=1#diff-38c52e4c3d2d7891eed9656823f30c41a4984cdeaa5f89a78e31f57340f6afbeR45) - The change above had a side effect that an unwanted gap was added to the browser view during the partial onboarding, so some logic had to be added bot to the [bottom](https://github.com/duckduckgo/Android/compare/feature/noelia/highlights_pre_onboarding...fix/ondrej/onboarding_gap?expand=1#diff-fe6ebde9b11eddd212b40d9b12701a7e23e083cfc919c06b7a084d8f3e61154dR60) and [top](https://github.com/duckduckgo/Android/compare/feature/noelia/highlights_pre_onboarding...fix/ondrej/onboarding_gap?expand=1#diff-f5d61424e875a30ac1059375679a3bebb00e754e93a33f01d026019618bea1c0R45-R48) bar behavior ### Steps to test this PR _The toolbar is at the **top**_ - [x] Test the entire onboarding flow with the bar at the top and verify no unwanted gaps are present - [x] Test that the NTP looks correct, with the Edit button visible at the bottom - [x] Test the autocomplete list is scrollable and all items are visible - [x] Test that browser layout looks correct with no unwanted gaps _The toolbar is at the **bottom**_ - [x] Test the entire onboarding flow with the bar at the top and verify no unwanted gaps are present - [x] Test that the NTP looks correct, with the Edit button visible at the bottom - [x] Test the autocomplete list is scrollable and all items are visible - [x] Test that browser layout looks correct with no unwanted gaps --------- Co-authored-by: Noelia Alcala <[email protected]> Co-authored-by: Mike Scamell <[email protected]>
nalcalag
force-pushed
the
feature/noelia/highlights_pre_onboarding
branch
from
October 22, 2024 14:00
ad24b48
to
6653bdf
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Task/Issue URL: https://app.asana.com/0/1201807753394693/1208486644029037/f
Description
Implement Highlights Experiment on Android
Steps to test this PR
Pre steps
fun isHighlightsEnabled(): Boolean
inHighlightsOnboardingExperimentManager
to always returntrue
Pre onboarding
m_preonboarding_address_bar_position_dialog_shown_unique
is firedm_preonboarding_bottom_address_bar_selected_unique
is fired...
Try a search Dax dialog
Surprise me!
optionbaby ducklings
search...
SERP Dax dialog
m_odc_s
is fired with parametercta = s
...
Site suggestions Dax dialog
m_odc_s
is fired with parametercta = visit_site
...
Trackers Blocked Dax dialog
m_odc_s
is fired with parametercta = t
Got it!
button...
Fire Button Dax dialog
m_odc_s
is fired with parametercta = fd
...
End onboarding dialog
Fire Dax dialog 'Skip' button
m_onboarding_dax_cta_cancel
is fired with parametercta = fd
m_odc_s
is fired with parametercta = end
Fire Dax dialog 'Try it' button
m_odc_ok
is fired with parametercta = fd
m_odc_s
is fired with parametercta = end
No Trackers Dax dialog
wikipedia.org
m_odc_s
is fired with parametercta = nt
...
Trackers Network Dax dialog
facebook.com
m_odc_s
is fired with parametercta = n
...
UI changes
|
|