Header search plugin

Thanks, fixed.

https://github.com/angusmcleod/discourse-header-search/commit/4e7f6e39a59694b2ba213e0c0161bbe15953e3b8

Live on my sandbox.

3 Likes

Great! It looks like you disabled it for mobile in your sandbox?

The plugin doesn’t support mobile yet :slight_smile: It should only affect search on desktop.

1 Like

there is small padding issue, trying to solve anyhelp ?

Untitled

It looks like you’re pointing to the border around the input. That’s standard Discourse css.

Add this to your custom css to override it for this specific input:

.search-header #search-term {
   border: 1px solid #your_color
}

A little fix even for the Header Search Theme Component , please master :wink:.

1 Like

Theme fixed :slight_smile:

https://github.com/angusmcleod/discourse-header-search-theme/commit/4a44f5fd578cab57aad3db7abf7207daa30a976a

cc @supernaturally

2 Likes

if the word(ing) for “extended” is longer in the localization (here: de:“Erweiterte Suche”), the layout is messed up by overtypging.
(And the bar would have enough space to expand a little)

1 Like

mm ok. I’ve put that link outside the search input. Let’s see how that goes.

https://github.com/angusmcleod/discourse-header-search/commit/ea436962efb3994e28619868f29c9c698215db20

4 Likes

The old search icon shows up, and when clicked disappears while still opening the search bar:



It appears when I enter the home pages, or leave or enter a topic.

1 Like

Thanks, fixed.

https://github.com/angusmcleod/discourse-header-search/commit/4be3c0743027904cd23739a7778156308a7a66d6

2 Likes

@angus I am still getting this bug

Can describe, or give an example for, the specific issue you’re seeing?

As described by @nawthor , the issue seems to be fixed.

See e.g. https://discourse.angusmcleod.com.au

@angus

This plugin appears to be causing issues with rendering in IE 11.
On IE 11 my site stopped loading and displayed a white display only. I then went through and unistalled/installed each plugin until I got to this one.

This plugin seems to stop Discourse from loading in IE 11. I am running IE 11.0.9600.18837

Additionally I was able to replicate this on: https://discourse.angusmcleod.com.au/



ie11


Edit: This only shows in IE, can’t replicate in Firefox or Chrome.

Thanks, fixed. :sun_with_face:

https://github.com/angusmcleod/discourse-header-search/commit/17e7cdea4670f403ece72fc701980ad33dd32170

4 Likes

@angus

You are a champ :slight_smile:

1 Like

I think the text should be highlighted title to see more easily.

1 Like

are the “known issues” listed in the original post still an issue?

Nope, they’re resolved. But I can’t edit the first post anymore. @hawk can you wikify?

5 Likes

I’m out for a couple of weeks. Ping @jomaxro

4 Likes