RTL languages on Meta Branded theme show team-only links

AI-generated summary

A bug was reported by NateDhaliwal where team-only links were visible in the site header when using an RTL language with the Meta Branded theme. The links, which included a mail icon and a group icon with a plus, were not accessible to non-team members and returned404 errors. tshenry explained that the header icons theme component was set up for the support team and should be hidden for others through CSS tweaks. After tshenry investigated, NateDhaliwal confirmed that the issue seemed to be fixed and the icons were no longer visible on mobile.

Description

If you pick an RTL language in your interface settings, you will see that the site header contains some links that aren’t normally there. See the screenshot for more information.

The 2 new icons are as following:

  • The mail icon leads to https://meta.discourse.org/my/messages/group/team
  • The group icon with a plus leads to https://meta.discourse.org/g/tech-advocates/assigned/tech-advocates

Naturally, as I am not a team member nor a tech advocate, both pages return 404s.

Repro Steps

  1. Go to /my/preferences/interface.
  2. Select the Meta Branded theme.
  3. Select an RTL language (e.g. Persian).
  4. Press ‘Save Changes’.
  5. You will see those icons in the site header that do not appear to non-team members.

Screenshots

Platform

Android (mobile)

Browser

Chrome

Additional Comments

You will probably need to be on a account that is not in team or tech-advocates [1].


  1. FYI, that was not a group ping but an <a class="mention"></a>. ↩︎

2 Likes

@nat / @jordan.vidrine any thoughts on this one?

Hmm I am not very sure about this one, but @tshenry might be aware of the theme component that’s adding the additional items.

We have had the header icons theme component set up like that for the support team for ages. It should be hidden for anyone outside of the Technical Advocates group through some CSS tweaks since it’s not relevant to others.

I’ve tried to repro with a test account using the steps that were shared, but I’m not seeing any sign of the icons. Are you still seeing them @NateDhaliwal? If so, can you repro on any other platform / browser?

It seem like it’s fixed now. I don’t see it anymore on mobile.

1 Like

This topic was automatically closed after 11 hours. New replies are no longer allowed.