Tuba icon indicating copy to clipboard operation
Tuba copied to clipboard

[Request]: Pronouns next to username

Open tsbarnes opened this issue 1 year ago • 3 comments

Describe the request

The latest version of Fedilab added support for displaying a users pronouns next to their name, it checks for a user field named "Pronouns" and uses the contents. I'd love to see this in Tuba.

Implementation Details

tsbarnes avatar Feb 05 '24 00:02 tsbarnes

I wanted to this for a while but don't really know where to place them and how ellipsizing will work

I've split it into 4 options:

  1. Account popovers #495 - it shows all fields

image

  1. Overlay icon with tooltip or popover on click

Screenshot from 2024-02-05 03-05-29

  1. Overlay label - nope, would suck on lengthy fields

Screenshot from 2024-02-05 03-07-47

  1. Append to name or handle - it will have to be ellipsized or might look bad

Screenshot from 2024-02-05 03-09-19

Screenshot from 2024-02-05 03-10-14

I'm not sure about fedilab but megalodon does the 4th option and ellipsizes the name. The problem is that the pronouns field might contain a lot more info e.g. location or the pronouns in different languages. So ellipsizing the name could turn out to just ... if the field is too long. Ellipsizing the handle is a no-go due to impersonation concerns

I'm personally leaning towards the first 2

GeopJr avatar Feb 05 '24 01:02 GeopJr

Option 1 is probably the best user experience out of the first two.

tsbarnes avatar Feb 05 '24 02:02 tsbarnes

It would be great to have l10n support for this as well, it could e.g. check for both "pronouns" and the localized version of the string, or even for the localized string in all available languages (if not too resource heavy).

bragefuglseth avatar Mar 10 '24 00:03 bragefuglseth