Avatar flair not showing in two-column view of main page

AI-generated summary

Users reported that avatar flair for staff members isn’t visible in the two-column view of the main page, which reduces visibility of staff participation in threads. Stephen noted flair is only supported in specific locations and would require a plugin to extend elsewhere. awesomerobot and Perry_Eising argued that flair should appear wherever avatars do — especially in topic lists — to highlight staff and community champions. sam acknowledged this as an oversight and confirmed it will be fixed, though it requires changes to both API and client code, taking a few weeks. riking explained flair was previously omitted from topic lists due to small avatar sizes on desktop, but agreed it’s needed in “Categories + Latest” and mobile views. vinothkannans submitted a PR adding flair to “Categories + Latest” and “Categories + Top” views, but noted mobile support requires adding the avatar-flair component to a raw Handlebars template — which isn’t currently supported. eviltrout advised recreating the helper/component for now, while noting the broader question of raw Handlebars will be explored during the Ember CLI migration.

Hi all,

We have avatar flar set up for members of a staff group working on our forum, it’s great:

That said, we can’t see the avatar flair on the two-column view of our main page:

(the person where I’ve drawn a red box is a staff member)

this leads to people not realizing that a staff member is involved in a thread when they are seeing it on the main page.

How can we rectify this? thanks.

Flair doesn’t appear everywhere, here’s a list of the supported locations:

https://meta.discourse.org/t/create-a-group-that-automatically-adds-associated-flair-to-its-members-avatars/82700/8

To add it somewhere else would require a plugin.

I do think we should include flair on those topic lists; really it should appear everywhere that user’s avatar does… in this case it appears it’s left out of our category template entirely.

i agree. if the avatar flair’s job is to distinguish some community members from others, the topic list is a key place for that. It shows our customers that staff and community champions are engaged in those threads.

This is a bit of an oversight on our part, we will get it sorted but it may take us a couple of weeks, @awesomerobot had a look and we need to amend the API server a well as the client code so it is not a trivial change.

fantastic, I really look forward to seeing this get added!

IIRC, we haven’t done it on the topic lists so far because desktop just has so many freakin’ avatars and they’re so small the flair would be almost invisible.

Categories + Latest, as well as mobile, change that. I agree with adding the flair here.

https://github.com/discourse/discourse/pull/9197

Avatar flairs added to the “Categories + Latest” and “Categories + Top” views in the above PR.

For that, we have to include the “avatar-flair” component in the raw handlebar “topic-list-item.hbr” which is not supported. Else we have to create a new “avatar-flair” raw template for it. It may not a proper solution. @eviltrout any ideas?

I think Android is not a slow platform anymore. Do we still need raw handlebars?

This is a bigger question that hopefully we will be researching during the Ember CLI migration. For the time being you have to re-create the helper/component unfortunately.