Page MenuHomePhabricator

After "Thanks" on mobile site no change in color and impossible to click
Closed, DuplicatePublic

Description

Summary

As it says on the tin. When using the mobile web interface (Minerva Neue and/or MobileFrontend?) and giving another contributor a "Thanks", while text changes from "Thank" to "Thanked" the color of the "Thanks" button doesn't change/

Description

This behavior persists in both Flow discussions and in pages like Special:MobileDiff. Wherever a "Thank" label appears.

This does not happen on desktop using the Vector skin. I can "Thank" someone and the "Thanked" label remains as it should.

Note: This does not send multiple notifications. Notifications are only given upon the first "Thanks". Subsequent thanks do not fire off email or web notifications.

Expectation

When giving Thanks to someone the "Thanked" label should persist so as to not confuse the user that more "Thanks" are able to be given for the same action – and to clarify that the "Thank" was successfully sent.

Steps to reproduce

  1. Use the mobile web interface while logged in.
  2. Visit a page where a "Thank" label appears.
  3. Tap or click the "Thank" button.
  4. A notification at the bottom of the screen will appear saying you have thanked someone. The "Thank" button changes to "Thanked"
    1. A similar process happens with the "Thank" link in Flow boards.
  5. Refresh the page.
  6. The "Thank" button is reset. Repeat process x∞

I was using an iPhone Xr and mobile Safari. I was also able to reproduce on a Mac using Safari and Chrome.

You can thank either my personal or staff account if you want to test. Here are some example URLs.

Thanks on mobile Flow: https://m.mediawiki.org/wiki/Topic:Uhrkpqsyuvuk7yy0
Thanks on desktop Flow: https://www.mediawiki.org/wiki/Topic:Uhrkpqsyuvuk7yy0

Diff with Minerva: https://m.mediawiki.org/wiki/Special:MobileDiff/2813207
Diff with Vector: https://www.mediawiki.org/w/index.php?diff=2813207&diffmode=source

A short video showing this in a page revision.

How it looks after the thank process:

Screenshot 2019-11-20 at 3.03.21 PM.png (235×324 px, 16 KB)

Event Timeline

Is this still a problem?

It's still. Actually I think it even becomes worse. Previously when you thanked a user, the button turns to grey (signifying disabled state) but now it remains colorful blue as it was before thanking just as if nothing occurred

Is this still a problem?

Yes, ditto as ammarpad.

You can thank either my personal or staff if you want to test.

@CKoerner_WMF you do know that's an invitation to spammers?

Jdlrobson renamed this task from Giving "Thanks" on mobile site doesn't show "Thanked" label (and allows for multiple incomplete "Thanks") to After "Thanks" on mobile site no change in color and impossible to click.Nov 20 2019, 8:04 PM
Jdlrobson edited projects, added Web-Team-Backlog (Tracking); removed Web-Team-Backlog.
Jdlrobson updated the task description. (Show Details)

Is this still a problem?

It's still. Actually I think it even becomes worse. Previously when you thanked a user, the button turns to grey (signifying disabled state) but now it remains colorful blue as it was before thanking just as if nothing occurred

Confirmed - the issue is still present - checked on testwiki wmf.22

I think T353062 is the modern equivalent of this bug. If not, please feel free to reopen with an updated description. The MobileDiff page has now been removed as part of T358293