Page MenuHomePhabricator

Vector 2022 suggestions for vector-user-links
Closed, ResolvedPublicFeature

Description

I'm using Vector 2022 on Beta cluster as it seems appropriate to do so there. I've been somewhat annoyed by it due to relatively minor inconveniences that are easy to adjust. (if this task is ignored I'll just userscript it or stick with Vector classic as long as possible)

Feature summary (what you would like to be able to do and where):
The vector-user-links section has the following items:

  • Language selector
  • Link to my user page
  • Alerts
  • Notifications
  • Watchlist
  • Dropdown user menu where everything else got stuffed in, click to open

Suggested changes:

  • Make the user menu open on hover (but with a very small delay, ballpark 100ms, so it won't open if the mouse is just passing by), this would make the other suggestions less pressing. It's all about navigational flow, a click pauses that flow. Which is fine for rarely used items, but not all items in there are rarely used.
  • I rarely visit my own user page. (and why would you? to update it?) Stuff that in the user menu and give me my talk page! I go to my talk page (when there's no alert) to follow up on questions/requests, new users go (or should go) there to read their welcome message again with all the helpful links.
  • Give me my contributions. Mostly useful for experienced users, but I use it a lot. For some people, it's even a kind of watchlist. Being forced into a sub-menu is just inconvenient for something I use so often. I'd be curious to see stats for how often all these links are used.
  • There should probably be a method/option of combining notices and alerts, but I assume that'll be more complicated. Would reduce the icons by one though..
  • Unclutter suggestion: you can compact the language selector. Hide the span with the language (<span>English</span>) and make #ca-uls display it on hover. I'd actually argue that for logged-in users you can omit #ca-uls entirely or stuff it in the dropdown menu.

Benefits (why should this be implemented?):
Make commonly used links directly accessible, unclutter.

Event Timeline

Is there a documented method to add arbitrary links in to vector-user-links via a user.js file?

I would like to add here that the new skin significantly changes the width of buttons. The word "Watchlist" was quite wide, the new icon is thin. I am finding it much easier to misclick now, so it would be nice if the Watchlist icon was of a more accessible size.

I fully support the suggested changes, the talkpage in particular should be there by default. It is one of the most crucial links for any user, especially new ones. It also I hope presents a clear message that users are expected to "talk". Dump the userpage in the dropdown list as suggested, if space gets precious.

FWIW, following up from an enwiki discussion about how to put "contributions" link back on the screen, these userscripts seem to be working:

In Special:MyPage/vector-2022.js put:

/*Add contributions link to the top of the page */
$("#pt-mycontris").insertAfter("#pt-watchlist-2");

In Special:MyPage/vector-2022.css put:

/* Hide menu icon from Contributions link that has been moved in my vector-2022.js file */
.mw-ui-icon-userContributions
{display:none;}

Jdlrobson claimed this task.
Jdlrobson subscribed.

Thanks for the feedback and sorry of the delay (we actively review https://www.mediawiki.org/wiki/Talk:Reading/Web/Desktop_Improvements but not so much this project tag) for feedback on Vector 22. I'm resolving this ticket with pointers to tickets. Feel free to jump into any of the tickets I've pointed in.

Make the user menu open on hover (

This has come up a few times: https://www.mediawiki.org/wiki/Reading/Web/Desktop_Improvements/Features/User_menu#Why_doesn't_the_user_menu_show_on_hover?

I rarely visit my own user page. (and why would you? to update it?) Stuff that in the user menu and give me my talk page! I go to my talk page (when there's no alert) to follow up on questions/requests, new users go (or should go) there to read their welcome message again with all the helpful links.
Give me my contributions. Mostly useful for experienced users, but I use it a lot. For some people, it's even a kind of watchlist. Being forced into a sub-menu is just inconvenient for something I use so often. I'd be curious to see stats for how often all these links are used.

We've been getting lots of feedback around what is in the dropdown and what is not. T291011 is probably the best place to track progress here. Current plan is to monitor data to guide these discussions. Would be cool to have a gadget that managed customization via a user page e.g. User:Jdlrobson/vector-userlinks

There should probably be a method/option of combining notices and alerts, but I assume that'll be more complicated. Would reduce the icons by one though..

This is tracked in T142981 with lots of detail.

Unclutter suggestion: you can compact the language selector. Hide the span with the language (<span>English</span>) and make #ca-uls display it on hover. I'd actually argue that for logged-in users you can omit #ca-uls entirely or stuff it in the dropdown menu.

Possibly. A big theme of the RFC has been concern around using icons without labels which mostly impacts logged in users (search for https://en.wikipedia.org/wiki/Mystery_meat_navigation :-)) Might be a good idea for T328847 though!