Closed
Bug 1392538
Opened 7 years ago
Closed 7 years ago
Remove unused Kinto settings
Categories
(Firefox for Android Graveyard :: General, enhancement, P2)
Firefox for Android Graveyard
General
Tracking
(firefox58 fixed)
RESOLVED
FIXED
Firefox 58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: cnevinchen, Assigned: cnevinchen)
Details
(Whiteboard: [FNC][SPT58.4][INT])
Attachments
(1 file)
We had many unused Kinto settings now. e.g. Onboarding experiments.
We should investigate and see what we really need to reduce the Kinto config download size.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → cnevinchen
Priority: -- → P2
Assignee | ||
Comment 1•7 years ago
|
||
Candidates to remove with NI (not used or already on by default)
- custom-tabs
- compact-tabs
- urlbar-show-origin-only
- urlbar-show-ev-cert-owner
- content-notifications-12hrs
- whatsnew-notification
- content-notifications-8am
- content-notifications-5pm
Evaluate before remove
- top-addons-menu
- offline-cache
- promote-add-to-homescreen
- triple-readerview-bookmark-prompt
- bookmark-history-menu
Stays
- leanplum-start
- full-bookmark-management
- activity-stream-opt-out
- process-background-telemetry
- activity-stream-setting
- activity-stream
- download-content-catalog-sync
- hls-video-playback
Assignee | ||
Comment 2•7 years ago
|
||
Looks like belong are already removed code.
We can remove them from Kinto after 57 goes to release
- custom-tabs
- compact-tabs
- urlbar-show-origin-only
- urlbar-show-ev-cert-owner
- content-notifications-12hrs
- whatsnew-notification
- content-notifications-8am
- content-notifications-5pm
- top-addons-menu
- offline-cache
- bookmark-history-menu
Flags: needinfo?(s.kaspari)
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8907403 [details]
Bug 1392538 - Remove unused onboarding experiments.
https://reviewboard.mozilla.org/r/179086/#review184266
::: mobile/android/base/java/org/mozilla/gecko/firstrun/FirstrunAnimationContainer.java
(Diff revision 1)
> }
> animateHide();
> -
> - // Stop all versions of firstrun A/B sessions.
> - Telemetry.stopUISession(TelemetryContract.Session.EXPERIMENT, Experiments.ONBOARDING3_B);
> - Telemetry.stopUISession(TelemetryContract.Session.EXPERIMENT, Experiments.ONBOARDING3_C);
Is there no matching startUISession call?
::: mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetryCorePingBuilder.java
(Diff revision 1)
> payload.put(DEVICE, deviceDescriptor);
> payload.put(LOCALE, Locales.getLanguageTag(Locale.getDefault()));
> payload.put(OS_VERSION, Integer.toString(Build.VERSION.SDK_INT)); // A String for cross-platform reasons.
> payload.put(PING_CREATION_DATE, pingCreationDateFormat.format(nowCalendar.getTime()));
> payload.put(TIMEZONE_OFFSET, DateUtil.getTimezoneOffsetInMinutesForGivenDate(nowCalendar));
> - payload.putArray(EXPERIMENTS, Experiments.getActiveExperiments(context));
Why do you remove the list of experiments from the core ping?
Attachment #8907403 -
Flags: review?(s.kaspari) → review-
Comment 5•7 years ago
|
||
> - custom-tabs
This one should still be used for shipping custom tabs. Somehow the code was backed out in bug 1329152 for no reason.
> - urlbar-show-origin-only
> - urlbar-show-ev-cert-owner
They are still used in the code.
> - whatsnew-notification
This one is also still used and can "trigger what's new" notifications if needed.
> - top-addons-menu
This experiment hasn't even reached release yet (bug 1366681).
Flags: needinfo?(s.kaspari)
Assignee | ||
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8907403 [details]
Bug 1392538 - Remove unused onboarding experiments.
https://reviewboard.mozilla.org/r/179086/#review185252
::: mobile/android/base/java/org/mozilla/gecko/firstrun/FirstrunAnimationContainer.java
(Diff revision 1)
> }
> animateHide();
> -
> - // Stop all versions of firstrun A/B sessions.
> - Telemetry.stopUISession(TelemetryContract.Session.EXPERIMENT, Experiments.ONBOARDING3_B);
> - Telemetry.stopUISession(TelemetryContract.Session.EXPERIMENT, Experiments.ONBOARDING3_C);
We remove all the oboarding experiments after photon since we are pianning for new onboarding design. So yes, they are not used.
::: mobile/android/base/java/org/mozilla/gecko/telemetry/pingbuilders/TelemetryCorePingBuilder.java
(Diff revision 1)
> payload.put(DEVICE, deviceDescriptor);
> payload.put(LOCALE, Locales.getLanguageTag(Locale.getDefault()));
> payload.put(OS_VERSION, Integer.toString(Build.VERSION.SDK_INT)); // A String for cross-platform reasons.
> payload.put(PING_CREATION_DATE, pingCreationDateFormat.format(nowCalendar.getTime()));
> payload.put(TIMEZONE_OFFSET, DateUtil.getTimezoneOffsetInMinutesForGivenDate(nowCalendar));
> - payload.putArray(EXPERIMENTS, Experiments.getActiveExperiments(context));
Sorry... I must be out of my mind :(
Comment hidden (mozreview-request) |
Comment 8•7 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #5)
> > - urlbar-show-origin-only
> > - urlbar-show-ev-cert-owner
>
> They are still used in the code.
Side-tracking question - with the scrollable URL bar and the initial focus on the end of the base domain now implemented, do we want to keep these on standby?
Comment 9•7 years ago
|
||
offline-cache experiment _is_ used: https://dxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#6521
Granted, it's disabled for release users, but hopefully we can work through bugs in Bug 1232867 to enable it at some point.
Please don't remove this experiment from Kinto. It also seems like you haven't fully audited our experiment uses which are outside of java-land, so please do so before committing to any removals.
Comment 10•7 years ago
|
||
(In reply to Jan Henning [:JanH] from comment #8)
> (In reply to Sebastian Kaspari (:sebastian) from comment #5)
> > > - urlbar-show-origin-only
> > > - urlbar-show-ev-cert-owner
> >
> > They are still used in the code.
>
> Side-tracking question - with the scrollable URL bar and the initial focus
> on the end of the base domain now implemented, do we want to keep these on
> standby?
No, we can remove those now - but not only the experiments. Let's remove the code too in a separate bug. :)
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8907403 [details]
Bug 1392538 - Remove unused onboarding experiments.
https://reviewboard.mozilla.org/r/179086/#review199502
Attachment #8907403 -
Flags: review?(s.kaspari) → review+
Comment 12•7 years ago
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #10)
> (In reply to Jan Henning [:JanH] from comment #8)
> > (In reply to Sebastian Kaspari (:sebastian) from comment #5)
> > > > - urlbar-show-origin-only
> > > > - urlbar-show-ev-cert-owner
> > >
> > > They are still used in the code.
> >
> > Side-tracking question - with the scrollable URL bar and the initial focus
> > on the end of the base domain now implemented, do we want to keep these on
> > standby?
>
> No, we can remove those now - but not only the experiments. Let's remove the
> code too in a separate bug. :)
Bug 1412818.
Comment 15•7 years ago
|
||
Pushed by nechen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c7986c821efe
Remove unused onboarding experiments. r=sebastian
Comment 16•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•7 years ago
|
Whiteboard: [FNC][SPT58.4][INT]
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•