# Always follow "prioritize username" setting when showing usernames on the interface

**URL:** https://meta.discourse.org/t/always-follow-prioritize-username-setting-when-showing-usernames-on-the-interface/366425
**Category:** UX
**Created:** [May 16, 2025, 11:04am UTC](https://meta.discourse.org/t/always-follow-prioritize-username-setting-when-showing-usernames-on-the-interface/366425 "2025-05-16T11:04:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [May 16, 2025, 11:04am UTC](https://meta.discourse.org/t/always-follow-prioritize-username-setting-when-showing-usernames-on-the-interface/366425/1 "2025-05-16T11:04:14Z")

</div>

This is about this site setting:

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

On recent official components and themes, the setting is not considered where the username is shown. For example on [Topic Cards](https://meta.discourse.org/t/topic-cards/296048), it’s always the username that is shown on the topic list item:

 ![A screenshot of a social media post by "jesse.keebler" with a visible username, author profile picture, published date, and 59 hearts. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/0/9/3/09321a223c904cbe809c0297f2acf718dadf8c3a.png)

Similarly, on the [Horizon Theme](https://meta.discourse.org/t/horizon-theme/360486):

 ![A user is asking for help on how to add emojis to tags, with a "Support" label next to their message. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/b/7/3/b73c3cbe121f009b8ad72e773814ee9c20c6810f.png)

On the templates, only the username is inserted, e.g. as `{{@topic.creator.username}}`. To follow the site setting, it would need to be inserted conditionally, like:

```gjs
{{#if (and @topic.creator.name (not this.siteSettings.prioritize_username_in_ux))}}
  {{@topic.creator.name}}
{{else}}
  {{@topic.creator.username}}
{{/if}}

```

I did a PR to inlcude this on Topic Cards recently ([FEATURE: Show full name if available by nolosb · Pull Request #48 · discourse/discourse-topic-cards · GitHub](https://github.com/discourse/discourse-topic-cards/pull/48)). However, it would need to be added to the theme as well, and potentially in other places. So I wondered if it makes sense to add the logic each time, or if there should rather be a common component for inserting fullname/username conditionally, following the site setting?
