discourse/app
Shaun 4885a2535a
UX: Display user.username on user cards (#16539)
If you happen to mention someone with the wrong capitalization for that
person's username (e.g. `@sAm`), that incorrect capitalization would get
displayed on their user card.

This update will fix that by displaying the `user.username` value, which
will have the correct capitalization.

I also added some tests that will ensure `username` and `name` are
displayed on the user card in the correct order based on the
`prioritize_username_in_ux` setting.

This issue was reported here:
https://meta.discourse.org/t/capitalization-does-not-match-when-you-open-user-cards-using-mentions/217166
2022-05-02 09:28:50 -04:00
..
assets UX: Display user.username on user cards (#16539) 2022-05-02 09:28:50 -04:00
controllers DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
helpers DEV: Allow Ember CLI assets to be used by development Rails app (#16511) 2022-04-21 16:26:34 +01:00
jobs DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
mailers DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
models FEATURE: Optionally skip using full_name when suggesting usernames (#16592) 2022-04-29 14:00:13 +01:00
serializers DEV: Setup experimental sidebar skeleton (#16575) 2022-04-28 15:27:06 +08:00
services DEV: Upgrade to Rails 7 2022-04-28 11:51:03 +02:00
views DEV: Ensure ember-cli `rake theme:qunit` works with CSP enabled (#16541) 2022-04-22 16:59:45 +01:00