sam
(Sam Saffron)
8 يونيو 2016، 5:14ص
1
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.
18 إعجابًا
riking
(Kane York)
8 يونيو 2016، 5:37ص
2
Bug report: If full name is blankish, username is offset and not fully bold
إعجاب واحد (1)
sam
(Sam Saffron)
8 يونيو 2016، 5:44ص
4
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 إعجابات
sam
(Sam Saffron)
8 يونيو 2016، 5:45ص
5
That is a can-of-worms to implement, same class as improving quotes. I may get to it, but not for this round.
3 إعجابات
gerhard
(Gerhard Schlager)
9 يونيو 2016، 2:06م
6
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)
jerry0
(Jerry)
3 يناير 2020، 3:06ص
8
This is working in almost all places, but not in email notifications.
So, in e.g. user card it looks fine.
But in email notifications full name is not prioritized:
(also I think only one of the two names need be hyperlinked, the first I guess)
إعجابَين (2)
sam
(Sam Saffron)
3 يناير 2020، 4:19ص
9
@techAPJ can you investigate a fix for emails?
3 إعجابات
techAPJ
(Arpit Jalan)
20 فبراير 2020، 12:20م
11
Fixed via:
https://github.com/discourse/discourse/commit/f36719c1f5aac7e72e12f298cf9e23a2076ac17b
When prioritize_username_in_ux
is enabled:
When prioritize_username_in_ux
is disabled:
4 إعجابات
techAPJ
(Arpit Jalan)
20 فبراير 2020، 12:23م
12
Further simplified the styling to use same CSS for username and user-name. (notice the bold font-weight for username vs the normal for user-name.)
https://github.com/discourse/discourse/commit/7b92280b97ea483685040c6c5f8c23b3d8c9f0a2
4 إعجابات
techAPJ
(Arpit Jalan)
23 مارس 2020، 4:32م
13
4 إعجابات
I found a place where this setting doesn’t seem to be taking effect: the list of username matches on search results:
Geminiscp is the username and prioritize username in ux = true
.
3 إعجابات
debryc
(Deborah Chang)
2 ديسمبر 2022، 7:18م
15
We just installed the experimental sidebar and chat. Can full names be prioritized in the Personal chat section as well if we disable prioritize_username_in_ux?
إعجاب واحد (1)