Page MenuHomePhabricator

When filtering the mentees' table the last choice of filters should be saved
Closed, ResolvedPublic

Description

From fr.wp: the filters are useful to exclude some users. But when you return back to the Dashboard, these selected filters are not active anymore. Have a way to save the last set of filters would be useful.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
mewoph added subscribers: Urbanecm_WMF, mewoph.

@Urbanecm_WMF perhaps the filters could be serialized in the user's preference?

@Urbanecm_WMF perhaps the filters could be serialized in the user's preference?

Yup, that would be likely the easiest thing to do here. Shouldn't be hard.

I don't think this requires any discussion. Moving to Upcoming work, as it's prioritised in the spreadsheet already.

Urbanecm_WMF triaged this task as Medium priority.

It looks like making this happen is relatively easy, so I created a patch for this.

Change 763232 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] Mentee overview: Persist user's last filter choice

https://gerrit.wikimedia.org/r/763232

Change 763232 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Mentee overview: Persist user's last filter choice

https://gerrit.wikimedia.org/r/763232

Yes @Trizek-WMF. Both features should be deployed to Wikipedias this
Thursday.

Change 767177 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/GrowthExperiments@master] Mentee overview: Persist the page size

https://gerrit.wikimedia.org/r/767177

Change 771572 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] MenteeOverviewPresets: Add QUnit tests

https://gerrit.wikimedia.org/r/771572

Change 771575 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] MenteeOverviewPresets: Add helper methods for known properties

https://gerrit.wikimedia.org/r/771575

Change 767177 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Mentee overview: Persist the page size

https://gerrit.wikimedia.org/r/767177

We should also persist the number of mentees displayed (reported as https://www.mediawiki.org/wiki/Topic:Wqxmt1l49iley84m).

This is now fixed at beta (and will be fixed on production wikis starting Monday March 21). FYI @Trizek-WMF.

Change 771572 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] MenteeOverviewPresets: Add QUnit tests

https://gerrit.wikimedia.org/r/771572

Change 771575 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] MenteeOverviewPresets: Add helper methods for known properties

https://gerrit.wikimedia.org/r/771575

No new report came, and the feature works as expected.