Prevent display of MOWs on "desktop"

VERIFIED FIXED

Status

Marketplace
Consumer Pages
P1
normal
VERIFIED FIXED
3 years ago
3 years ago

People

(Reporter: ddurst, Assigned: ngoke)

Tracking

Points:
---

Details

(Reporter)

Description

3 years ago
We're supposed to not show MOWs to desktop. But we are intending to show them to tablets (and, in theory, not just firefoxos tablets).

Knowing that we have checks for firefoxos, android, etc, we should try to reasonably identify a "desktop" (probably as a combination of factors, instead of just size?) and not show MOWs to those clients.

Overhauling the platform detection is probably not in scope, but if there's not a way to do this without doing that, we should talk with Lindsay first.
Note that the API obeys whatever dev/device parameters are passed for Websites. So, if a dev=desktop parameter is passed, it will only return Website that are marked as compatible for desktop.

Unfortunately, that's not enough, since you can override the parameter the frontend is sending through the platform filter. So I think the frontend has to cheat and restrict the doc_types it wants multi-search to return when desktop is detected.
(Reporter)

Comment 2

3 years ago
https://github.com/mozilla/fireplace/pull/1252
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED

Comment 3

3 years ago
Verified as fixed. We found a display issue, but we logged another bug : https://bugzilla.mozilla.org/show_bug.cgi?id=1177030
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.