# Prioritizing full name vs username in the UX

**URL:** https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415
**Category:** UX
**Created:** [Junho 8, 2016, 5:14am UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415 "2016-06-08T05:14:36Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [Junho 8, 2016, 5:14am UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/1 "2016-06-08T05:14:36Z")

</div>

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:

 ![](https://global.discourse-cdn.com/meta/original/3X/e/5/e5e57309d42a6c082db0095901e51b7d2325d089.png)

On user page:

 ![](https://global.discourse-cdn.com/meta/original/3X/8/d/8d663e589fce03142c8ea022cda841518831758a.png)

In post stream:

 ![](https://global.discourse-cdn.com/meta/original/3X/5/c/5c51b12f1ce3aadb209d60fc68db57522a82787d.png)

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

In card:

 ![](https://global.discourse-cdn.com/meta/original/3X/c/3/c3bc537a4fa4020ea36ec9481aa2587307f320b5.png)

On user page:

 ![](https://global.discourse-cdn.com/meta/original/3X/f/4/f4e3b334534f028481bdec75d3b498f84a4a2e3b.png)

In post stream:

 ![](https://global.discourse-cdn.com/meta/original/3X/b/2/b222617ff6d3d52d25a74cceef3ff85d96c8cd06.png)

I feel an @ symbol may be worth adding per:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/0/d0c5b1049a0693259beec3cd229052dff5e07abd.png)

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

Quotes inside the UX still pull in username eg:

> [@sam](#):
>
> Eg: this quote is going to sam: as opposed to sam saffron:

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

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [Junho 8, 2016, 5:37am UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/2 "2016-06-08T05:37:56Z")

</div>

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

 ![](https://global.discourse-cdn.com/meta/original/3X/5/f/5f813f2ab4675117e1419476329f2a38fa8a1322.png)

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [Junho 8, 2016, 5:38am UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/3 "2016-06-08T05:38:25Z")

</div>

eh?

> [@Full name @mentions](https://meta.discourse.org/t/full-name-mentions/23896):
>
> It would look more elegent in posts if @leo (for example) was presented as (or at least the user had the option to present it as) “Leo” or “Leo McArdle”.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [Junho 8, 2016, 5:44am UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/4 "2016-06-08T05:44:23Z")

</div>

corrected per

[https://github.com/discourse/discourse/commit/0e2d918b3b3807041126bc66d3e0d205d42c7820](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.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [Junho 8, 2016, 5:45am UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/5 "2016-06-08T05:45:55Z")

</div>

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

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [Junho 9, 2016, 2:06pm UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/6 "2016-06-09T14:06:12Z")

</div>

> [@sam](#):
>
> I feel an @ symbol may be worth adding per:
> 
> [https://global.discourse-cdn.com/meta/original/3X/d/0/d0c5b1049a0693259beec3cd229052dff5e07abd.png](https://global.discourse-cdn.com/meta/original/3X/d/0/d0c5b1049a0693259beec3cd229052dff5e07abd.png)

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.  
 ![](https://global.discourse-cdn.com/meta/original/3X/6/d/6d091738afe90e00c7196ab9bd765f59f61f68ab.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Junho 9, 2016, 8:27pm UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/7 "2016-06-09T20:27:37Z")

</div>

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

---

<div class="post-metadata">

### Author: ![jerry0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jerry0/32/94523_2.png) [@jerry0](https://meta.discourse.org/u/jerry0)
#### Post date: [Janeiro 3, 2020, 3:06am UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/8 "2020-01-03T03:06:33Z")

</div>

Isso está funcionando na maioria dos lugares, mas não nas notificações por e-mail.

Então, por exemplo, no cartão do usuário, parece correto.

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/0/30ac03e2e8a6b2162952c629853d13507c1198b2.png)

Mas nas notificações por e-mail, o nome completo não é priorizado:

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/e/5ed8baeb7d3d8e45b60fe6c0fc4b90d44b8458c1.png)

(também acho que apenas um dos dois nomes precisa ser hiperlinkado, o primeiro, eu acho)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [Janeiro 3, 2020, 4:19am UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/9 "2020-01-03T04:19:33Z")

</div>

@techAPJ, você pode investigar uma correção para os e-mails?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [Fevereiro 20, 2020, 12:20pm UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/11 "2020-02-20T12:20:37Z")

</div>

Corrigido via:

> <https://github.com/discourse/discourse/commit/f36719c1f5aac7e72e12f298cf9e23a2076ac17b>
>
> UX: only the first attribute should be hyperlinked
> UX: add margin based on attri…bute position

Quando `prioritize_username_in_ux` está habilitado:

 ![Screen Shot 2020-02-20 at 17.42.46](https://global.discourse-cdn.com/meta/original/3X/4/0/40e0d2733aa03bf0b45c6f23ccb0de059bc483e4.png)

Quando `prioritize_username_in_ux` está desabilitado:

 ![Screen Shot 2020-02-20 at 17.41.23](https://global.discourse-cdn.com/meta/original/3X/f/6/f6e34ac340b2e3757355f712f00e93cdfa606153.png)

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [Fevereiro 20, 2020, 12:23pm UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/12 "2020-02-20T12:23:51Z")

</div>

Simplificamos ainda mais o estilo para usar o mesmo CSS para username e user-name. (note o peso da fonte em negrito para username versus o normal para user-name.)

> <https://github.com/discourse/discourse/commit/7b92280b97ea483685040c6c5f8c23b3d8c9f0a2>

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [Março 23, 2020, 4:32pm UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/13 "2020-03-23T16:32:32Z")

</div>

Empurrei outra correção aqui para a página /about:

> <https://github.com/discourse/discourse/commit/e58f0adfcc963305fb16d6c796f51ccfcbe58e00>

---

<div class="post-metadata">

### Author: ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)
#### Post date: [Setembro 13, 2021, 3:25pm UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/14 "2021-09-13T15:25:27Z")

</div>

Encontrei um local onde essa configuração não parece estar surtindo efeito: a lista de correspondências de nome de usuário nos resultados da pesquisa:

 ![Screenshot 2021-09-13 at 16.22.24](https://global.discourse-cdn.com/meta/original/3X/8/3/839e4cb4fbbec81d433f50ffdff844edea9720dd.png)

Geminiscp é o nome de usuário e `prioritize username in ux = true`.

---

<div class="post-metadata">

### Author: ![debryc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/debryc/32/101652_2.png) [@debryc](https://meta.discourse.org/u/debryc)
#### Post date: [Dezembro 2, 2022, 7:18pm UTC](https://meta.discourse.org/t/prioritizing-full-name-vs-username-in-the-ux/45415/15 "2022-12-02T19:18:09Z")

</div>

Acabamos de instalar a barra lateral e o chat experimentais. Os nomes completos podem ter prioridade na seção de chat pessoal também se desativarmos `prioritize_username_in_ux`?
