Page MenuHomePhabricator

Consider allowing icons with color (wikilove and watchstar)
Closed, DeclinedPublic

Description

In T234990 we replaced Vector's legacy icons with Wikimedia UI equivalents.

Before:

image.png (211×1 px, 44 KB)

After:

image.png (204×706 px, 21 KB)

Replicate on https://en.wikipedia.beta.wmflabs.org/wiki/User:JDrewniak?vectorvisualenhancementnext=1 while logged in.

The question was raised about whether the Wikilove icon should be red. Currently such a state does not seem possible from a technical point of view.

This task is about deciding whether we want to restore the old color, and if so working out how to do that technically.

Acceptance criteria

  • Make a decision whether Wikilove icon should be filled
  • Make a decision whether Watchstar icon should be filled
  • The watchstar on mobile and desktop should be the same color when filled (T234550)

Event Timeline

@Jdlrobson do we also want to include the question of whether the watchstar should be blue when you're watching a page (as it is on mobile)?

Yes. That's in the list of things to do.

I am finding on User_talk pages when I watch or unwatch, the star is not automatically updated (to be filled or empty as appropriate). Should I raise this as a separate bug?

For example, try clicking the star on one of these pages:

watchstar_not_updating.png (238×650 px, 17 KB)

@dom_walden I am not seeing that bug. can you include a screen recording?

@dom_walden I am not seeing that bug. can you include a screen recording?

The bug has now been fixed T322673#8394255.

I suggested to change color of wikilvoe to red but honestly now I take it back, Reading a bit on color theory, it makes much more sense to avoid adding new colors as much as possible. This goes for the watch icon too (but maybe it would fit under 30 in the 60-30-10 rule though?)

@alexhollender_WMF should this ticket be declined?

@bmartinezcalvo @Sarai-WMDE what do you think about this task? using red for the active state of the wikilove icon button is something we did in Legacy Vector, and currently on mobile/minerva the active state for the watchstar is blue.

@bmartinezcalvo @Sarai-WMDE what do you think about this task? using red for the active state of the wikilove icon button is something we did in Legacy Vector, and currently on mobile/minerva the active state for the watchstar is blue.

@alexhollender_WMF red color is used just as destructive or error state in our color tokens, so I would not use it to paint the selected heart icon. I would use color-progressive--active instead to paint the selected watchlist and heart icons.

Apart from this, since we are using a selectable quiet button, it might make sense to use a Toggled Quiet Button instead:

Captura de Pantalla 2023-02-15 a las 13.09.02.png (432×1 px, 158 KB)

ovasileva subscribed.

Seems like we might not want to do this? Declining, but feel free to reopen in case I'm interpreting the comments incorrectly