Page MenuHomePhabricator

Page Curation toolbar next article button does not adequately handle the "disabled" state
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • visit the last (or only) unreviewed article in the queue

What happens?:

  • Page Curation toolbar next article button's background color is clear but the button still looks clickable; it is not clear that the button is disabled and that there is no next item in the queue.

image.png (772×135 px, 36 KB)

What should have happened instead?:

  • Page Curation toolbar next article button should be clearly disabled and should communicate that there is no next item

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I don't see this on enwiki yet, just localhost wiki. Maybe it's because I only have one unreviewed article in my queue?

@Novem_Linguae You are correct; that's the "disabled" button when there is no next article, e.g. the end of the queue.

marking this as declined, but please reopen if there's more to discuss.

It doesn't match the behavior of the old toolbar, and it is a little bit of an eyesore. A pretty minor bug report, but I wouldn't mind having a patch for this one.

Novem_Linguae set the point value for this task to 1.Jun 5 2024, 2:22 AM

I interpreted the current behavior of the old toolbar code as a bug and silently "fixed" it in the new one. There's code in there that swaps the the two images around, but it always lands on the "enabled" version in the end. I don't have strong feelings about it either way. Recommend that we remove the "disabled" image when we remove the old toolbar code if we fix the "fix" in the new version.

@Novem_Linguae I wanted to follow up on this a little more explicitly: I think the old toolbar has a bug in that it does not indicate when the user has reached the end of the queue and the "next" button becomes non functional. I don't find the look of the disabled button to be particularly appealing, but there is code and an asset to support a disabled state that just doesn't happen to work in the old version of the toolbar. If the current way of showing that the button is disabled is a bug, what is the desired way to communicate it? We could also just adjust the image colors in a way that still indicates "disabled" without being such an eyesore.

If we do keep it this way, a good first step would be to change the pointer hand/finger cursor on hover back to a regular arrow cursor. In my opinion, the pointer finger cursor erroneously makes it still look clickable.

Maybe also add a "Queue empty" title= on hover.

If we do keep it this way, a good first step would be to change the pointer hand/finger cursor on hover back to a regular arrow cursor. In my opinion, the pointer finger cursor erroneously makes it still look clickable.

Maybe also add a "Queue empty" title= on hover.

👍 That sounds extremely doable.

jsn.sherman renamed this task from Page Curation toolbar next article button's background color is clear instead of gray to Page Curation toolbar next article button does not adequately handle the "disabled" state.Jun 10 2024, 3:23 PM
jsn.sherman triaged this task as Low priority.
jsn.sherman updated the task description. (Show Details)
jsn.sherman moved this task from Inbox to Triaged on the Moderator-Tools-Team board.
jsn.sherman updated the task description. (Show Details)

Change #1055646 had a related patch set uploaded (by Yash9265; author: Yash9265):

[mediawiki/extensions/PageTriage@master] Fix disabled state handling for next article button.

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

@Novem_Linguae I have submitted a patch for this task. Please can you review it?

@Soda Uploaded new patch set.Please review it.

Change #1055646 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Fix disabled state handling for next article button.

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