Page MenuHomePhabricator

Article Feedback Page - Remember the last filter you chose and display it on refresh
Closed, ResolvedPublic

Description

We would like the feedback system to remember the filter you last used on the feedback page. Right now, we show the relevance filter by default to readers + editors, and the 'All comments' filter to everyone else, but if you change the filter then refresh the page, we do not remember which filter you were using before you refreshed.

This is something we would like to change, if possible, so that whatever filter you were using last is always shown, until you change the filter again. This would happen in cases where you refresh the same feedback page --- and possibly as well as when you go to another feedback page for a different article (subject to feasibility study and subsequent community discussion).

(This could potentially be done with the same cookie that also stores your last post, so we could hit two targets with one stone.)


Version: unspecified
Severity: major

Details

Reference
bz36767

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 22 2014, 12:29 AM
bzimport added a project: ArticleFeedbackv5.
bzimport set Reference to bz36767.

It (remembering filter & sort) is up on Gerrit (https://gerrit.wikimedia.org/r/#/c/10355/) & prototype

Storing the last post has for now remained untouched

Additional info on how it works:
User gets to see the filter&sort settings on the last central feedback page visited, resorted, unless 1 day has passed since the data was saved.

Scenario:
User visits Obama's central feedback page, changes filters.
User visits permalink of some feedback post.
User comes back to Obama's central feedback page, sees his previous filters/sort options.
User moves on to Golden-Crowned Sparrow central feedback page, changes filters.
User visits permalink of some feedback post.
User comes back to Golden-Crowned Sparrow central feedback page, sees his previous filters/sort options.
User comes back to Obama's central feedback page, sees default filters/sort options, not his/her previous'.

That ok?