Page MenuHomePhabricator

Implement a group by toggle for the RecentChanges/Watchlist/RelatedChanges special pages
Closed, ResolvedPublic

Description

To implement the group by toggle experiment we need to implement an experiment that captures the instrumentation spec we arrived at here.

Acceptance Criteria:

  • add the group by toggle
  • ensure the toggle only shows up when "toggled" parameter set to true

Event Timeline

Kgraessle triaged this task as High priority.
Kgraessle moved this task from Ready to In Progress on the Moderator-Tools-Team (Kanban) board.
Kgraessle set the point value for this task to 5.
Kgraessle removed the point value 5 for this task.Jun 17 2025, 3:12 PM

Change #1162025 had a related patch set uploaded (by Kgraessle; author: Kgraessle):

[mediawiki/core@master] Implement a group by toggle for the RecentChanges/Watchlist/RelatedChanges special pages

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

Kgraessle updated the task description. (Show Details)

Test wiki created on Patch demo by KGraessle-WMF using patch(es) linked to this task:
https://patchdemo.wmcloud.org/wikis/b14b407e88/w/

Hi @Kgraessle, thanks!
2 small things:

  1. When decreasing the size of the screen, the group by page toggle and the time filter stay grouped together and align left. Can they stack on top of each other and align right?
CurrentDesign
Screenshot 2025-06-20 at 15.49.58 1.png (481×1 px, 153 KB)
Group 5482.png (685×499 px, 121 KB)

14 pxl - 0.875 em; 26 pxl - 1.625 em

  1. The space between toggle and the filter is a tiny bit smaller than it should be (1pxl). Can it be increased to 12 pxl/0.75 em?

Test wiki on Patch demo by KGraessle-WMF using patch(es) linked to this task was deleted:

https://patchdemo.wmcloud.org/wikis/b14b407e88/w/

Test wiki created on Patch demo by KGraessle-WMF using patch(es) linked to this task:
https://patchdemo.wmcloud.org/wikis/a74a380067/w/

Test wiki on Patch demo by KGraessle-WMF using patch(es) linked to this task was deleted:

https://patchdemo.wmcloud.org/wikis/a74a380067/w/

Test wiki created on Patch demo by KGraessle-WMF using patch(es) linked to this task:
https://patchdemo.wmcloud.org/wikis/94b451613c/w/

Test wiki on Patch demo by KGraessle-WMF using patch(es) linked to this task was deleted:

https://patchdemo.wmcloud.org/wikis/94b451613c/w/

Kgraessle renamed this task from Implement a group by toggle for the treatment group to Implement a group by toggle for the RecentChanges/Watchlist/RelatedChanges special pages.Jun 20 2025, 10:33 PM

Test wiki created on Patch demo by KGraessle-WMF using patch(es) linked to this task:
https://patchdemo.wmcloud.org/wikis/0b218a74ef/w/

Test wiki on Patch demo by KGraessle-WMF using patch(es) linked to this task was deleted:

https://patchdemo.wmcloud.org/wikis/0b218a74ef/w/

Test wiki created on Patch demo by KGraessle-WMF using patch(es) linked to this task:
https://patchdemo.wmcloud.org/wikis/90d2a735d0/w/

@OTichonova

This should be ready to take a look at again. I was able to get the stacking working but wanted your input on the spacing.

Test wiki on Patch demo by KGraessle-WMF using patch(es) linked to this task was deleted:

https://patchdemo.wmcloud.org/wikis/90d2a735d0/w/

Test wiki created on Patch demo by KGraessle-WMF using patch(es) linked to this task:
https://patchdemo.wmcloud.org/wikis/99f03bb62f/w/

Change #1162025 merged by jenkins-bot:

[mediawiki/core@master] Implement a group by toggle for the RecentChanges/Watchlist/RelatedChanges special pages

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

Test wiki on Patch demo by KGraessle-WMF using patch(es) linked to this task was deleted:

https://patchdemo.wmcloud.org/wikis/99f03bb62f/w/

Scardenasmolinar moved this task from QA to Done on the Moderator-Tools-Team (Kanban) board.
Scardenasmolinar subscribed.

The toggle is showing and working correctly when we pass the URL parameter