Marketplace/Filtering

From MozillaWiki
< Marketplace
Revision as of 18:49, 23 January 2015 by Dbialer (talk | contribs) (→‎Future Steps: added some notes from meeting January 23.)
Jump to navigation Jump to search

Content on the Marketplace is filtered. How this is treated is slightly different between the "Feed" pages (homepage and Feed Item detail pages) and other pages.

Homepage and Feed Item detail pages

  1. The desktop promo area of the homepage is not filtered at all.
  2. The apps list area (formerly known as "The Feed") of the homepage is currently filtered via the API (not client-side), which means that determinant data is sent with API requests:
    1. status -- apps need to be public to be shown
    2. region
    3. feature profile -- only on FxOS
  3. The Feed Item detail pages are treated the same as the apps list area, explained above.

Which means that apps are currently filtered out by platform (user-controlled), and by feature detection (FxOS only).

Display logic

  • If all apps of a specific container (Feed Item) are all filtered out, rendering the container empty, then the Feed Item is not shown (this goes for Featured Apps too, since they're just another Feed Item).
  • If a Feed Item is a collection and does not contain at least 3 apps after filtering, then the Feed Item is not included.
  • If the entire apps list area is empty, then we show the "Rest of world" feed instead. (This is mainly in place to deal with regions we don't provide a specific feed for.) As such, "Rest of world" is the overall fallback, so that content is currently and must continue to be curated in such a way that something shows up (otherwise, it's useless as a fallback).

Other Pages

(Note: other pages includes Category listing pages, Recommended, New, Popular, and Search Results.)

  1. The apps list is currently filtered via the API (not client-side), which means that determinant data is sent with API requests:
    1. status -- apps need to be public to be shown
    2. region
    3. feature profile -- only on FxOS
    4. device type -- based on the compatibility filtering dropdown
      1. mobile values: All Apps, Apps for My Device
      2. desktop values: All Apps, Desktop Apps, Firefox OS Apps, Android Mobile Apps, Android Tablet Apps

("Apps for My Device" does not apply feature profile restrictions or device type or platform.)

Future Steps

  1. add a device type filter to the homepage proposed design
  2. Durst will find out about analytic tracking for selector and audit variable map
  3. Phil will discuss whether to persist platform selector across sites otherwise we get weird behavior across the site. For instance, if you search on Popular page, you get the filter applied to the Search page, not the Popular page.

Decisions

  1. Jan 23, 2015 - Filter selector will be same on home page as other pages