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 https://github.com/discourse/discourse/commit/58fe45ffd95dc89bf008eeef28509a4fbc72263b.

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

I noticed this issue too, made a PR with some updates

https://github.com/angusmcleod/discourse-header-search-theme/pull/3

「いいね!」 7

Thanks! Merged :tada:

「いいね!」 5

A nice setting would be to place it exactly in the center of the header :slight_smile:

「いいね!」 1

Hey @angus

are there any plans to update the theme component? In theme preview it seems to have some layout issues
I think it’s a great feature that animates user more to use search function more frequently.

「いいね!」 4

このPRを提出しました: FIX: deprecations for ember-cli by pfaffman · Pull Request #4 · paviliondev/discourse-header-search-theme · GitHub

これが、この廃止が存在することの通知以上のものとなることを願っています。 :man_shrugging:

「いいね!」 3

レイアウトの問題を修正するPRを作成しました。

「いいね!」 4

この#theme-componentと、以下でリンクされているコンポーネントとの違いは何ですか?

「いいね!」 1

ヘッダーの下に検索バーを移動させようとしているのですが、うまくいきません。何か提案はありますか?ヘッダー後のHTMLで作成したdivクラス内にネストしようとしていました。

よろしくお願いします。

Jacob

こんにちは。

素晴らしいコンポーネントをありがとうございます。

検索ボックスの色を変更するにはどうすればよいですか?

白くしたいです。

ありがとうございます。

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