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개의 좋아요

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개의 좋아요

사용자 이름(username)과 user-name에 동일한 CSS를 사용하도록 스타일링을 추가로 단순화했습니다. (username은 굵은 글꼴, user-name은 일반 글꼴을 사용하는 것을 주목하세요.)

4개의 좋아요

/about 페이지에 대한 수정 사항을 하나 더 커밋했습니다:

4개의 좋아요

이 설정이 적용되지 않는 것 같은 장소를 발견했습니다. 검색 결과의 사용자 이름 일치 목록입니다:

Geminiscp가 사용자 이름이며 prioritize username in ux = true입니다.

3개의 좋아요

방금 실험용 사이드바와 채팅을 설치했습니다. prioritize_username_in_ux를 비활성화하면 개인 채팅 섹션에서도 전체 이름이 우선적으로 표시될 수 있나요?

1개의 좋아요