-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add NTP Customization Settings onboarding popover #3428
base: dominik/ntp-search-bar
Are you sure you want to change the base?
Conversation
if let title = viewModel.title { | ||
messageWithTitleBody(title) | ||
} else { | ||
messageBody | ||
} |
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 change to this file is the support for title
parameter.
When title is present, we display a different message body, consisting of title and message.
When title is not present, we display the old view with just the message.
|
||
@State var isHovering: Bool = false | ||
@Binding var isSettingsVisible: Bool |
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 has been removed in favor of using settingsVisibilityModel.
0ef80c9
to
56e51ee
Compare
|
Task/Issue URL: https://app.asana.com/0/0/1208583505730578/f
Description:
This change adds a popover that is displayed once for every user over the 'Customize' button on the NTP.
It's not a part of the experiment nor it's related to the search bar project. We're adding the onboarding to
increase engagement with NTP customization settings.
Steps to test this PR:
DefaultNewTabPageSearchBoxExperimentCohortDecider.cohort
getter body to justreturn .experiment
Definition of Done:
Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation