Page MenuHomePhabricator

Wikibase toolbar features outdated icons
Closed, ResolvedPublic

Assigned To
Authored By
Volker_E
Nov 12 2018, 6:19 AM
Referenced Files
F27834338: image.png
Jan 9 2019, 5:56 PM
F27821278: image.png
Jan 8 2019, 12:19 PM
F27821287: image.png
Jan 8 2019, 12:19 PM
F27821374: image.png
Jan 8 2019, 12:19 PM
F27239320: image.png
Nov 16 2018, 11:03 AM
F27239315: image.png
Nov 16 2018, 11:03 AM
F27194217: image.png
Nov 12 2018, 6:19 AM
F27194211: image.png
Nov 12 2018, 6:19 AM

Description

Wikibase (among it's toolbar labelled source) currently features outdated icons back from before T177432
Let's standardize gently.

While the old canvas was 20x20px the icons themselves took up an inconsistently smaller amount of space. That was a.o. one of the reasons for T117432.

Some of those in action:

image.png (106×284 px, 6 KB)

image.png (62×248 px, 2 KB)

Success criteria

Links

Event Timeline

Volker_E triaged this task as Medium priority.Nov 12 2018, 6:19 AM
Volker_E created this task.

Change 473155 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[mediawiki/extensions/Wikibase@master] Update outdated icons with latest standard ones

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

@Jan_Dittrich While I'm working at this, I'd also suggest to replace the help icon seen in the first screenshot with 'helpNotice' of OOUI – asking as it hasn't been standardized like the 5 other icons before.

@Jan_Dittrich @Volker_E I pulled https://gerrit.wikimedia.org/r/473155.

I checked the look of the item page with Jan, we noted that the pencil icon was changed which is fine. In the issue description you also mention Save and Cancel icons, seems that they have not changed. Is this correct?

Save/Cancel

image.png (68×196 px, 3 KB)
Edit
image.png (50×88 px, 1 KB)

Hi @Greta_Doci_WMDE, sorry for not replying for so long.

save and cancel do indeed seem like the correct icons. Is the background-size that @Volker_E mentioned correct? I'm not sure what was meant by that.

Another point: I would suggest also updating the help icon to OOUI. I'm not sure why that wasn't part of the task description. I would use "helpNotice" in this case otherwise it'll look like cancel has a question mark behind it

Is the background-size that @Volker_E mentioned correct? I'm not sure what was meant by that.

Yes, 'background-size' is 16X16

Another point: I would suggest also updating the help icon to OOUI. I'm not sure why that wasn't part of the task description. I would use "helpNotice" in this case otherwise it'll look like cancel has a question mark behind it

+1, It looks a way better if we use either help

image.png (33×155 px, 2 KB)

or helpNotice icon

image.png (47×152 px, 2 KB)

This was is also better because it follows the same design style.
I would also suggest to change the position of the help icon for the same reason that Charlie mention, it look like cancel has a question mark . It can be on the right side of the language section:
image.png (138×923 px, 12 KB)

or maybe the design team have better ideas.

@Greta_Doci_WMDE

since the help icon is not an overall icon but used with every statement etc. it should stay with the other icons. We don't seem to have an overall help icon on the page that is visible at all times. If we need something like that is a different topic.

I'm leaning towards using helpNotice but I am not sure of the use cases for it. @Volker_E would it be appropriate to use helpNotice here? I couldn't find any information on the use cases of icons in the documentation.

@Charlie_WMDE Indeed, 'helpNotice' is the best choice here. 'helpNotice' is used where a focus on interactive area of the help element is useful, while 'help' is working well in a toolbar or framed button.

Change 483123 had a related patch set uploaded (by Greta WMDE; owner: Greta Doçi):
[mediawiki/extensions/Wikibase@master] Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase into review/volkere/replace-wbtoolbar-icons-with-standard-T209259

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

Change 483124 had a related patch set uploaded (by Greta WMDE; owner: Greta Doçi):
[mediawiki/extensions/Wikibase@master] Update help-icon with the new one. -Also hover was removed since there was no icon for it. -width and height was changed according to the new icon size.

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

Change 483123 abandoned by Greta WMDE:
Merge branch 'master' of ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase into review/volkere/replace-wbtoolbar-icons-with-standard-T209259

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

@Charlie_WMDE @Volker_E, I changed the help icon according to your suggestions. I removed the hover, because as I understood the new versions of icons have no hover. But, if I missed something, let me know and I add that back.
Also, I changed the width and height according to the new icon size.

That's a proposal with amended icon, size, background-size, margin and opacity:

image.png (238×768 px, 16 KB)

@Charlie_WMDE, it is already finished by @Volker_E, he also uploaded the patch with the new changes :)

@Jan_Dittrich @Volker_E I pulled https://gerrit.wikimedia.org/r/473155.

I checked the look of the item page with Jan, we noted that the pencil icon was changed which is fine. In the issue description you also mention Save and Cancel icons, seems that they have not changed. Is this correct?

Save/Cancel

image.png (68×196 px, 3 KB)
Edit
image.png (50×88 px, 1 KB)

They have changed and it's visible in your screenshots vs the task description ones. The 'tear' on the checkmark top right path end and bottom left to top right path of the 'close' icon have been removed.

Change 483124 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Update help icon with the new one

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

Volker_E updated the task description. (Show Details)

Change 485991 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[mediawiki/extensions/WikibaseLexeme@master] Replace icon path and update icons accordingly to Wikibase

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

Change 490358 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: VolkerE):
[mediawiki/extensions/Wikibase@master] Clean up CSS comments

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

Change 490359 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseLexeme@master] Update for new Wikibase icon location

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

Change 490360 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: VolkerE):
[mediawiki/extensions/Wikibase@master] Remove oojs-ui/ icons

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

Change 490358 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Clean up CSS comments

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

Change 473155 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Update outdated icons with latest standard ones

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

Change 490359 abandoned by Lucas Werkmeister (WMDE):
Update for new Wikibase icon location

Reason:
I forgot this change already existed as I556d9a0b64.

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

Is there anything left to do here now? I'm sorry I get a bit lost in the patches.

Thanks!
@Lucas_Werkmeister_WMDE you already gave that patch a +2 before a rebase. Maybe you want to re-add your +2.

Change 485991 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Replace icon path and update icons accordingly to Wikibase

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

That's successfully resolved!

Change 490360 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Remove oojs-ui/ icons

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