שפות RTL בתבנית הממותגת של Meta מציגות קישורי צוות בלבד

סיכום מבוסס בינה מלאכותית

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 לייקים

@nat / @jordan-vidrine יש מחשבות על זה?

אני לא ממש בטוח לגבי זה, אבל @tshenry עשוי להיות מודע לרכיב העיצוב שמוסיף את הפריטים הנוספים.

יש לנו את רכיב הנושא של סמלי כותרת מוגדר כך עבור צוות התמיכה במשך שנים. הוא אמור להיות מוסתר עבור כל מי שנמצא מחוץ לקבוצת הסנגורים הטכניים באמצעות כמה שינויי CSS מכיוון שהוא לא רלוונטי לאחרים.

ניסיתי לשחזר עם חשבון בדיקה באמצעות השלבים ששותפו, אבל אני לא רואה שום סימן לסמלים. האם אתה עדיין רואה אותם @NateDhaliwal? אם כן, האם אתה יכול לשחזר בכל פלטפורמה / דפדפן אחר?

נראה שזה תוקן עכשיו. אני כבר לא רואה את זה יותר בנייד.

לייק 1

נושא זה נסגר אוטומטית לאחר 11 שעות. תגובות חדשות אינן מותרות עוד.