إضافة /users إلى شريط التنقل العلوي

Location

repo: GitHub - discourse/discourse-users-nav: Add users nav for Discourse (theme component) · GitHub

Preview

About

This theme component adds the full nav bar on both mobile and desktop on the users page:


Install guide

How to install a theme or theme component

24 إعجابًا

this theme gives an error for Persian locale, removing this line helps:

I18n.translations.en.js.filters.users = { title: "Users", help: "User leaderboard" };

but then the string becomes something like this:

image

3 إعجابات

The theme appears to cause an issue with the /u or /users page preventing it from loading.

This can be reproduced using the preview link provided in the initial post on this topic. Open the link, when prompted select “View Theme” then follow the link for users either on the top nav bar or from the hamburger menu.

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

Yes, the error that I’m getting when I try to visit the users route is Assertion Failed: [ember-route-action-helper] Unable to find action createTopic.

3 إعجابات

I recently installed this, and it caused my /users page to stop loading entirely. There was a background XHR request that was taking a very long time. Upon removing the component, it worked again. Just thought I would let you know.

EDIT: Same error as reported above.

ولهذا السبب لا يزال هذا المكوّن الثيم ضمن فئة #customization:theme:broken-theme.

لا تستخدم هذا المكوّن ما دام موجودًا في هذه الفئة.

سنقوم بإصلاحه عندما يتوفر لدينا الوقت، لكننا لا نملك موعدًا نهائيًا.

نرحب بمساهماتك (PRs)!

5 إعجابات

تم إصلاح هذا المكون الآن وفقًا لـ

كما أن طلب الدمج (PR) يضيف سلاسل قابلة للترجمة، مما ينبغي أن يحل مشكلتك @Pad_Pors

11 إعجابًا

مرحباً. لقد قدمت طلب سحب (pull request) منذ حوالي شهر لإصلاح كيفية عرض شريط التنقل في لوحة المتصدرين في FreeCodeCamp. بدون صندوق مرن (flex box)، تكون العناصر غير متوافقة تمامًا. أريد إصلاح ذلك. لسوء حظي، فإن وضع سمة display:flex على فئة تُستخدم في أماكن أخرى سيؤدي إلى عواقب غير متوقعة.

هل يمكنك مراجعة طلب السحب الخاص بي؟

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

هذه هي المكونات الخاصة بك قبل تغييراتي.

Before

هذا هو الوضع بعد التغييرات التي أرغب في إضافتها.

After

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

قد يساعد رابط إلى طلب السحب؟

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

لم أصف بشكل صحيح في طلب السحب (PR) المشكلة التي كنت أحاول إصلاحها ولا ما كان القصد فعله. كان ذلك خطأً من جانبي.

إعجابَين (2)