-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 FXIOS-9968 Studies opt out on Firefox iOS when telemetry usage is unchecked #21917
Conversation
0291e5f
to
5533581
Compare
cc @jeffreygee Tagging you here since you are working on Settings IA and this is unique case which would be best solved if these are somehow combined together or embedded in another view. Having it on top of settings seems odd and doesn't give user enough knowledge about turning of ONE would also turn OFF other. See above video for your reference |
bda033e
to
b887870
Compare
Client.app: Coverage: 30.41
Generated by 🚫 Danger Swift against b887870 |
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.
Seems to work well when I tested. 👍
I did see the toggle freeze up once like you described in Coffee Chat yesterday, but I couldn't reproduce it. Might be because I stopped at a breakpoint during initialization. Anyway, seems very edge case.
I left a few comments. You can see if any of them are something to worry about.
firefox-ios/Client/Frontend/Settings/Main/Support/StudiesToggleSetting.swift
Show resolved
Hide resolved
firefox-ios/Client/Frontend/Settings/Main/Support/StudiesToggleSetting.swift
Show resolved
Hide resolved
firefox-ios/Client/Frontend/Settings/Main/Support/StudiesToggleSetting.swift
Show resolved
Hide resolved
@mergify backport release/v131 |
✅ Backports have been created
|
…ge is unchecked (#21917) Refactor FXIOS-9968 Studies opt out on Firefox iOS when telemetry usage is unchecked (cherry picked from commit 4a11949)
…ge is unchecked (backport #21917) (#22009) Refactor FXIOS-9968 Studies opt out on Firefox iOS when telemetry usage is unchecked (#21917) Refactor FXIOS-9968 Studies opt out on Firefox iOS when telemetry usage is unchecked (cherry picked from commit 4a11949) Co-authored-by: Nishant Bhasin <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
📜 Tickets
Jira ticket - FXIOS-9968
Github issue
💡 Description
These should mostly be visual changes but I did add additional check to ensure we also disable the toggle and save it in prefs.
Although experiments are by default disabled if you are not reporting telemetry > LINK
Below are some cases I added in the video.
A) Initially both are enabled
B) Turning telemetry Off should also turn Off studies
C) Turning telemetry On doesn't automatically turn on studies
FYI Studies are another name for experiments.
Screen.Recording.2024-09-12.at.12.39.30.AM.mov
📝 Checklist
You have to check all boxes before merging
@Mergifyio backport release/v120
)