Closed ValentinaPC closed 6 years ago
While using the new desktop pages, and accessing the page indicated in this issue - https://addons-dev.allizom.org/en-GB/firefox/search/?sort=hotness&type=extension - we will see no sort option being selected....I guess is not intended. See screenshot:
This is happening for the new Filter menu also.
It seems we lack a "popularity" feature in the sort options which maps to "hotness" on the API.
We should add that sort option and this shoud be fixed, I'd think.
@tofumatt does that mean our SEARCH_SORT_POPULAR
constant is flawed? https://github.com/mozilla/addons-frontend/blob/10146082fb9b11b21408dd80ef14a6f5b24214f6/src/core/constants.js#L100
Related bug report: https://github.com/mozilla/addons/issues/10845
This is happening for each category.
Hmm, I guess this is a semantic difference then. "Popular" doesn't mean "by users", it means "what's popular"–the API lists it as "(average number of users progression), descending."
Maybe we need another option for "User count". @pwalm–what do you think about this? The idea with the popular sort is it's sort of ephemeral/changing with new add-ons getting more downloads, etc. But if that's confusing and people think it means "by most users" we should drop it/change it.
How about "Trending"? That indicates add-ons that are popular right now.
Works for me!
So we’ll change “popular” to “trending” and add a new “popular” that maps to “most users”. Yay!
@tofumatt could you please explain what should be changed because I am a bit confused currently.
sort
algorithm in mozilla/addons#10845 (most popular add-ons on homepage)?Ah, this was assigned to me so I was gonna grab it, but:
'hotness'
should be called TRENDING
.@devaneymoz: Did you want "Popular" on the homepage to mean "trending/up and coming" or "Most users"?
There should also be a up and coming shelf (the last one).
Verified as fixed on AMO-dev FF56(Win 7). Popular add-ons are correctly sorted. A new sort option was added - trending - for the up & coming extensions. Postfix screenshots:
Steps to reproduce:
Expected results: Themes sorted ascending by users are displayed.
Actual results: Random themes are listed.
Notes/Issues: