Prioritizing full name vs username in the UX

AI-generated summary

The discussion centers on a new site setting, prioritize_username_in_ux, which allows administrators to choose whether usernames or full names are displayed prominently in the UI. sam introduced the feature, showing visual comparisons of how names appear in cards, user pages, and post streams when the setting is toggled. A suggestion to prefix usernames with ‘@’ for clarity was raised gerhard, though codinghorror cautioned against overuse. A bug where blank full names caused misaligned usernames was reported riking and later fixed sam. jerry0 noted the setting didn’t apply to email notifications, which techAPJ resolved, also unifying CSS styling for consistency techAPJ and extending fixes to the /about page techAPJ. mentalstring identified a gap in search result displays, and debryc requested support for the experimental sidebar/chat. The team acknowledges broader improvements (e.g., quote handling) are deferred for future work sam.

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 إعجابًا

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

إعجاب واحد (1)

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 إعجابات

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

3 إعجابات

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 إعجابات

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

إعجاب واحد (1)

هذا يعمل في معظم الأماكن، لكنه لا يعمل في إشعارات البريد الإلكتروني.

لذا، على سبيل المثال، يبدو الأمر جيدًا في بطاقة المستخدم.

لكن في إشعارات البريد الإلكتروني، لا يُعطى الاسم الكامل الأولوية:

(كما أعتقد أن أحد الاسمين فقط هو الذي يحتاج إلى أن يكون رابطًا تشعبيًا، الأول على ما أظن)

إعجابَين (2)

@techAPJ هل يمكنك التحقيق في إصلاح مشكلة البريد الإلكتروني؟

3 إعجابات

تم الإصلاح عبر:

عند تمكين prioritize_username_in_ux:

عند تعطيل prioritize_username_in_ux:

4 إعجابات

تم تبسيط التنسيق بشكل أكبر لاستخدام نفس CSS لاسم المستخدم وuser-name. (لاحظ وزن الخط العريض لاسم المستخدم مقابل الوزن الطبيعي لـ user-name.)

4 إعجابات

تم دفع إصلاح آخر هنا لصفحة /about:

4 إعجابات

لقد وجدت مكانًا لا يبدو أن هذا الإعداد يعمل فيه: قائمة مطابقات اسم المستخدم في نتائج البحث:

Geminiscp هو اسم المستخدم و prioritize username in ux = true.

3 إعجابات

هل يمكن إعطاء الأولوية للأسماء الكاملة في قسم الدردشة الشخصية أيضًا إذا قمنا بتعطيل “تحديد الأولويات لاسم المستخدم في تجربة المستخدم”؟

إعجاب واحد (1)