Closed
Bug 1148938
Opened 6 years ago
Closed 6 years ago
Temporarily test suggested tiles for Nightly and Aurora
Categories
(Firefox :: New Tab Page, defect)
Firefox
New Tab Page
Tracking
()
People
(Reporter: Mardak, Assigned: Mardak)
References
Details
(Whiteboard: .001)
Attachments
(2 files, 2 obsolete files)
|
610.22 KB,
image/png
|
Details | |
|
6.78 KB,
patch
|
adw
:
review+
|
Details | Diff | Splinter Review |
In order to uplift suggested tiles in bug 1148859, we'll need wider testing that's on by default in Nightly and Aurora. One simple fix is to change the newtab pref to a hardcoded data uri. Alternatively, we could host a test file somewhere (probably not on people.mozilla).. maybe tiles.up.mozillalabs or even tiles.services.mozilla if it's easy enough for us to just upload. Then we could point users to something like.. https://tiles.services.mozilla.com/test/suggested/%LOCALE% Not sure if we need to allocate tile ids on our server. Or perhaps we can use a dummy id... of 0?
| Assignee | ||
Comment 1•6 years ago
|
||
Ran into bug 1149021 when testing with this suggested tile that only had an image: https://people.mozilla.org/~elee/suggested.unicorn.json
Depends on: 1149021
| Assignee | ||
Updated•6 years ago
|
Summary: Use test suggested tiles for Nightly and Aurora → Temporarily test suggested tiles for Nightly and Aurora
| Assignee | ||
Comment 2•6 years ago
|
||
Not entirely sure what the url will be yet, and this code should be removed before we hit release.. but just in case, I added the ifdef.
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
adw, is there a good way to only set the temporary pref value for en-US? some ifdef AB_CD = en-US type thing? Or maybe we just do it through js code: Instead of this.__linksURL = Services.prefs.getCharPref(this._observedPrefs["linksURL"]); if en-US: use alternate test url, e.g., https://people.mozilla.org/~elee/suggested.unicorn.json
Flags: needinfo?(adw)
| Assignee | ||
Comment 5•6 years ago
|
||
This makes sure only en-US users get the suggested tile as only en-US has strings localized.
Attachment #8585306 -
Attachment is obsolete: true
Attachment #8585306 -
Flags: review?(adw)
Attachment #8585656 -
Flags: review?(adw)
| Assignee | ||
Comment 6•6 years ago
|
||
Ha.. brain fart. We don't need to remotely host a test tile as we aren't changing it. And by the time we do change it, we'll probably have the v3 endpoint up. So just convert the file to data uri!
Attachment #8585656 -
Attachment is obsolete: true
Attachment #8585656 -
Flags: review?(adw)
Flags: needinfo?(adw)
Attachment #8585711 -
Flags: review?(adw)
Comment 7•6 years ago
|
||
Comment on attachment 8585711 [details] [diff] [review] v2.1 Review of attachment 8585711 [details] [diff] [review]: ----------------------------------------------------------------- (In reply to Ed Lee :Mardak from comment #4) > adw, is there a good way to only set the temporary pref value for en-US? > some ifdef AB_CD = en-US type thing? Not that I know of. But this kind of seems like something you could use the experiments system for. Have you considered that? Anyhow, r+.
Attachment #8585711 -
Flags: review?(adw) → review+
| Assignee | ||
Comment 8•6 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/568ab0081a4e
Iteration: --- → 40.1 - 13 Apr
Points: --- → 2
Comment 9•6 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/568ab0081a4e
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
| Assignee | ||
Comment 10•6 years ago
|
||
http://hg.mozilla.org/releases/mozilla-aurora/rev/4638866dd455
status-firefox39:
--- → fixed
Comment 11•6 years ago
|
||
Confirming this implementation on Windows 7 64-bit, Windows 8.1 64-bit, Ubuntu 14.04 32-bit and Mac OS X 10.9.5 using: - latest Nightly, build ID: 20150407030207; - latest Aurora, build ID: 20150407004006.
You need to log in
before you can comment on or make changes to this bug.
Description
•