Pavilion Header Search Theme Component

Same here. I can repro this on theme creator and discourse development.

3개의 좋아요

@angus perhaps the component needs to be improved? In light of recent changes:

https://github.com/discourse/discourse/commit/58fe45ffd95dc89bf008eeef28509a4fbc72263b

There is some strange behavior in the drop-down menu.

7개의 좋아요

Broken.

1개의 좋아요

Thanks @Stranik and @nexo. I’ve added support for the new event added by UX: Do not close login modal and search menu on outside mouse up even… · discourse/discourse@58fe45f · GitHub.

https://github.com/angusmcleod/discourse-header-search-theme/commit/94276e5bef25255496529e1287105bf11353d0d5

The theme will continue to work with older Discourse versions as well.

8개의 좋아요

User and tags go off of the search modal. Could you check if this happens to your instance?

It’s probably something wrong with your other themes. Long usernames are cut off with “…” when only using this component.
29%20PM

4개의 좋아요

Testing this theme component now and I see that once a search is executed the top of the results are getting cut off, whole element is getting shifted up or something. Anyone else seeing this?

It seems to happen even when I switch to a default theme…but @angus I don’t see this active in your sandbox at the moment so not 100% sure if it’s a bug or something weird with my setup.

1개의 좋아요

We don’t have space for a search bar on mobile. Has anyone ever seen a search bar integrated into the forum itself, rather than the header? I guess it could also be a footer search bar

Have you looked at this component?

7개의 좋아요

thats exactly what i’m looking for. thank you @Johani.

We’ll modify it to work on tag-pages, which is the same for pretty much every plugin right now.

3개의 좋아요

저도 이 문제를 발견해서 업데이트를 포함한 PR을 만들었습니다.

7개의 좋아요

감사합니다! 병합했습니다 :tada:

5개의 좋아요

헤더의 정중앙에 정확히 배치하는 것이 좋은 설정이 될 것입니다 :slight_smile:

1개의 좋아요

안녕하세요 @angus

테마 컴포넌트를 업데이트할 계획이 있나요? 테마 미리보기에서 레이아웃 문제가 있는 것 같습니다.
검색 기능을 더 자주 사용하도록 사용자를 유도하는 아주 좋은 기능이라고 생각해요.

4개의 좋아요

이 PR을 제출했습니다: FIX: deprecations for ember-cli by pfaffman · Pull Request #4 · paviliondev/discourse-header-search-theme · GitHub

이제 이 비추천(deprecation)이 존재한다는 단순한 알림을 넘어, 더 유용한 정보가 될 수 있기를 바랍니다. :man_shrugging:

3개의 좋아요

레이아웃 문제를 수정하는 PR을 만들었습니다.

4개의 좋아요

이 Customization > Theme component 와 아래에 링크된 것의 차이점은 무엇인가요?

1개의 좋아요

안녕하세요, 이유를 모르겠지만 헤더 아래로 검색창을 이동시키는 데 성공하지 못하고 있어요. 혹시 어떤 제안이 있을까요? 헤더 뒤 HTML에서 직접 만든 div 클래스 안에 중첩시켜 보려고 계속 시도하고 있어요.

감사합니다.

제이콥

안녕하세요,

훌륭한 컴포넌트를 제공해 주셔서 감사합니다.

검색 상자의 색상을 변경하는 방법은 무엇인가요?

흰색으로 변경하고 싶습니다.

감사합니다

Screenshot from 2023-02-25 05-14-34

이 컴포넌트가 여전히 기본적으로 작동한다는 사실을 알게 될 때마다 항상 기쁘게 놀랍니다. :slight_smile: 최신 Discourse에 맞게 이 컴포넌트를 좀 더 최신화하기 위해 몇 가지 업데이트를 했습니다.

이 컴포넌트를 사용하고 계신지 확실하지 않지만, 사용 중이시라면 테마 CSS에 다음 내용을 추가해 보세요.

title .search-header #search-term {
  background-color: pink;
}

Screenshot 2023-03-02 at 09.54.36

2개의 좋아요