Use user names in participants list

Hello!

We noticed the list of participants to an event is based on the username. We think it would be nice if the user’s name could be used instead (and username used as a fallback).

Are you interested with this feature ? If so, I’d modify the User component (plugins/discourse-calendar/assets/javascripts/discourse/components/modal/post-event-invitees/user.gjs.

If you think this is a bad idea, can we propose a site setting to toggle this feature?

2 לייקים

That’s a nice idea. Maybe whether username or full name is displayed could be tied to the Enable names site setting? What say, @j.jaffeux?

2 לייקים

I’m surprised it isn’t already tbh. Imo that setting should cover most, if not all, appearances of a username.

2 לייקים

There’s a couple other gaps in the (full) name priority, in notifications and the hover title in the Who’s Online plugin. Should these get reported?

2 לייקים

Let’s see what this topic leads to once our dev chimes in; it might all be covered in one go. Maybe also @lindsey for opinion?

3 לייקים

IMHO we should tie all username / name display to both enable names and prioritize username in ux site settings.

3 לייקים

There are other areas where we could be more consistent with the enable names and prioritize username in ux settings but I don’t think we need to wait to have a complete list before we start fixing them.

@j.jaffeux would you consider this pr-welcome to ensure that the Events participant list shows the full name when enable names is “true” and prioritize username in ux is “false”? That would make it more consistent with how we handle names and usernames on user cards, profiles, etc.

3 לייקים