Shield icon missing on usercard when profile hidden

I believe the shield icon is hidden on the usercards of users whose profiles are hidden. I am able to see the shield next to every post of that user.

However, it’s not visible on their usercard.

This issue created some confusion in the forum. Most importantly, because the sign on the user card is much larger and easier to see. I’m wondering if the shield is hidden on purpose.

3개의 좋아요

IIn the meantime the message button was added, but the shield is still hidden


3개의 좋아요

I don’t see an obvious reason for it, but it does appear to be intentional in the code… the admin/moderator status is left out of the hidden_profile_serializer and the user-status helper that renders the shield is also excluded.

The implementation appears to be fairly old, and as you said, the shield is already visible on posts anyway… so we should probably reconsider. :thinking:

4개의 좋아요