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 Mi Piace

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

1 Mi Piace

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 Mi Piace

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

3 Mi Piace

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 Mi Piace

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

1 Mi Piace

Funziona quasi ovunque, ma non nelle notifiche email.

Quindi, ad esempio, nella scheda utente sembra tutto a posto.

Ma nelle notifiche email il nome completo non viene dato prioritĂ :

(Inoltre, penso che solo uno dei due nomi debba essere ipertestuale, il primo credo).

2 Mi Piace

@techAPJ puoi investigare una soluzione per le email?

3 Mi Piace

Risolto tramite:

Quando prioritize_username_in_ux è abilitato:

Quando prioritize_username_in_ux è disabilitato:

4 Mi Piace

Ulteriore semplificazione dello stile per utilizzare lo stesso CSS per username e user-name. (notare il font-weight in grassetto per username rispetto a quello normale per user-name.)

4 Mi Piace

Ho spinto un’altra correzione qui per la pagina /about:

4 Mi Piace

Ho trovato un luogo in cui questa impostazione non sembra avere effetto: l’elenco delle corrispondenze di nome utente nei risultati di ricerca:

Geminiscp è il nome utente e prioritize username in ux = true.

3 Mi Piace

Abbiamo appena installato la barra laterale e la chat sperimentali. I nomi completi possono essere prioritari anche nella sezione Chat personale se disabilitiamo prioritize_username_in_ux?

1 Mi Piace