Add /users to top nav

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.

That’s why this theme component is still in the #customization:theme:broken-theme category.

Do not use this component until it remains in this category.

We will fix it when we have time but we have no ETA.

PRs are welcome!

5개의 좋아요

해당 컴포넌트는 이제 다음 커밋으로 수정되었습니다.

해당 PR에는 번역 가능한 문자열도 추가되어 있어 @Pad_Pors 님의 문제를 해결할 수 있을 것입니다.

11개의 좋아요

안녕하세요. 한 달 전쯤 FreeCodeCamp 리더보드 내비게이션 바의 표시 방식을 수정하기 위해 풀 리퀘스트를 만들었습니다. 플렉스 박스를 사용하지 않으면 요소들이 완전히 정렬이 안 됩니다. 이 문제를 해결하고 싶은데, 불행히도 다른 곳에서도 사용 중인 클래스에 display:flex 속성을 추가하면 예상치 못한 결과가 생길 수 있습니다.

제 PR을 한번 검토해 주시겠어요?

1개의 좋아요

이것은 제 변경 사항이 적용되기 전의 컴포넌트입니다.

Before

다음은 제가 추가하고자 하는 변경 사항이 적용된 후의 모습입니다.

After

1개의 좋아요

PR에 대한 링크를 공유해 주시면 도움이 될 것 같습니다?

1개의 좋아요

PR에서 해결하려고 했던 문제와 의도한 내용을 제대로 설명하지 못했습니다. 제 실수였습니다.

2개의 좋아요