Hamburger Theme Selector

Feature request! Can we get a section header for this? Without already knowing what at theme is, it’s not immediately apparent to users what these links are for. Granted, it doesn’t take but a click to figure it out, they may not be willing to experiment first. The section should have a (potentially a setting, for those who don’t want a title for that section.) This would also be important for accessibility purposes since there’s no other indication to a screen reader that there’s something different from the category list above.

3 إعجابات

Tricky, nothing else in the hamburger has a title, I guess, maybe, if we can link it somewhere?

إعجابَين (2)

Well, the Categories section is labeled. If it needs to be linked to somewhere, it would likely be the preferences page? /my/preferences/account/interface?

https://meta.discourse.org/my/preferences/interface

4 إعجابات

Yeah I guess we could link it to the place where you set defaults (provided you are logged on)

Only bit of uneasiness I have here is that the hamburger is already huge and this is giving it more vertical height.

إعجابَين (2)

Yeah, that’s one reason I was thinking there might want to be a component setting for this. That way, for those who don’t want massive hugeness can turn it off if they like.

إعجاب واحد (1)

Sure I am totally open to make a theme setting here.

4 إعجابات

@Heather_Dudley The section header is now merged, please update the Hamburger Theme Selector component to get the new setting!

image

10 إعجابات

Thank you so much! It looks good, except for one small problem. On mine, it’s got a stray bullet just above it:

image

There are no other list items on the menu, so I’m not quite sure where it came from. Stray asterisk, perhaps?

Mousing over the text shows the correct link, but clicking it reloads the page as though you clicked one of the themes instead of taking you to preferences.

4 إعجابات

Yeah @martin is investigating this rogue bullet item and should have it sorted soon.

6 إعجابات

@Heather_Dudley sorry about that not sure where our stray bullet point friend wandered in from. I’ve now merged in a fix for this!

6 إعجابات

Interesting, this seems not working now. I don’t know what it is conflict with.

While I think this is a very important and basic component, I think it should be integrated in the discourse system itself.

Working on meta so it must be conflicting with some other component or plugin you have installed

3 إعجابات

عذراً على السؤال في عطلة نهاية الأسبوع، لكن هل يعرف أحد طريقة لإعادة ترتيب السمات الخاصة بك؟ إنها مرتبة أبجدياً، لكنني أود وضع سمة الإضاءة قبل سمة الظلام لأنها السمة الافتراضية؛ لقد جربت هذا لكن حسب علمي لا ينطبق ذلك لأنها تُعرض كـ “block” بدلاً من “flex”. هل توجد طريقة أخرى لإعادة ترتيب عناصر CSS تعمل في هذا السياق؟ مكون رائع في الحقيقة.

إعجابَين (2)

عادةً ما أتجنب تقديم مثل هذه الاقتراحات، ولكن بما أننا لا نستطيع تعديل مكونات السمة بسهولة الآن على الأقل، أردت طرح فكرة.

أجد أن الرمز * بسيط جدًا لإظهار السمة المحددة، وأفضل استخدام بدلاً من ذلك

image

ما رأيك في هذه الفكرة؟

@b481: يتم ترتيب السمات ترتيبًا أبجديًا، والحل الأسهل هو إعادة تسمية سماتك. على سبيل المثال، يمكن تسمية السمة الداكنة بـ “سمة الليل”.

3 إعجابات

أوافق. وربما يمكن أيضًا جعل السمة النشطة بخط عريض؟

أعلم ذلك، لكنني أفضل إمكانية عكس الترتيب إذا أمكن. الأمر ليس كبيرًا، مجرد ملاحظة بسيطة.

إعجاب واحد (1)

لست متأكدًا من كود CSS بعد، فأنا ما زلت أتعلم.

ومع ذلك، يمكنك إنشاء مكون سمة خاص بك باستخدام CSS عبر تجاوز. أعتقد أنه يستخدم !important في خاصية عرض CSS.

إعجاب واحد (1)

بدافع الفضول، هل يمكن تعديل هذا المكون من القالب لعرض لوحات الألوان أيضًا، ربما مع إعداد لتمكين أو تعطيل هذه الميزة؟

مع الميزة الجديدة هنا: Automatic Dark Mode color scheme switching سيكون وجود لوحة ألوان معاكسة لسهولة الوصول إليها أمرًا رائعًا للمستخدمين الذين لا يرغبون في تغيير إعدادات نظام التشغيل الخاص بهم أو البحث عن الألوان في قائمة الواجهة ضمن حسابهم.

4 إعجابات

منذ تحديث مكون السمة هذا الأسبوع الماضي، لم يعد الأعضاء الذين يستخدمون مثيل Discourse الخاص بي قادرين على تغيير سماتهم. تم تحويل جميع المستخدمين إلى السمة الافتراضية (السمة الداكنة في هذه الحالة). عند تغيير السمة، ينتقل رمز النجمة إلى السمة البديلة، لكن لا يحدث أي تغيير فعلي في السمة نفسها. هل لديكم أي أفكار حول ما قد أحتاج إلى فعله لحل هذه المشكلة؟

إعجاب واحد (1)

هل قمت أيضًا بتحديث Discourse إلى أحدث إصدار متاح؟

إعجابَين (2)

نعم، قمت بتحديث Discourse أولاً، ونحالياً نحن في الإصدار 2.7.0.beta6

إعجابَين (2)