Prioritizing full name vs username in the UX

I just added a site setting that allows you to prioritize full names as opposed to usernames in the UI.

When usernames are prioritized cause the site setting prioritize_username_in_ux is enabled you will see:

In card:

On user page:

In post stream:

If you change it so prioritize_username_in_ux is disabled you will see:

In card:

On user page:

In post stream:

I feel an @ symbol may be worth adding per:

This can be done safely via CSS, leaving it off for now.

Quotes inside the UX still pull in username eg:

We may look at making this switch to be fullname based when the setting is set.

22 Me gusta

Bug report: If full name is blankish, username is offset and not fully bold

1 me gusta

eh?

corrected per

https://github.com/discourse/discourse/commit/0e2d918b3b3807041126bc66d3e0d205d42c7820

Still abusable, but we might as well correct that server side by doing a trim on save that is unicode aware.

3 Me gusta

That is a can-of-worms to implement, same class as improving quotes. I may get to it, but not for this round.

3 Me gusta

I believe the username should be shown with @ by the default. It’s a lot less confusing.

And the username should always be visible. Don’t make me think.

5 Me gusta

At symbol too noisy repeated all over the page. In the user card should suffice.

1 me gusta

Esto funciona en casi todos los lugares, pero no en las notificaciones por correo electrónico.

Por ejemplo, en la tarjeta de usuario se ve bien.

Pero en las notificaciones por correo electrónico, el nombre completo no tiene prioridad:

(También creo que solo uno de los dos nombres necesita estar hipervinculado, el primero, supongo).

2 Me gusta

@techAPJ ¿puedes investigar una solución para los correos electrónicos?

3 Me gusta

Corregido mediante:

Cuando prioritize_username_in_ux está habilitado:

Cuando prioritize_username_in_ux está deshabilitado:

4 Me gusta

Se simplificó aún más el estilo para usar el mismo CSS para username y user-name. (Observa el grosor de fuente en negrita para username frente al normal para user-name.)

4 Me gusta

He aplicado otra corrección aquí para la página /about:

4 Me gusta

He encontrado un lugar donde esta configuración no parece estar surtiendo efecto: la lista de coincidencias de nombres de usuario en los resultados de búsqueda:

Geminiscp es el nombre de usuario y prioritize username in ux = true.

3 Me gusta

Acabamos de instalar la barra lateral y el chat experimentales. ¿Se pueden priorizar también los nombres completos en la sección de chat personal si deshabilitamos prioritize_username_in_ux?

1 me gusta