Commit Graph

27 Commits

Author SHA1 Message Date
awesomerobot 0548c1f5d2 UX: show search input on narrow screens 2025-05-06 16:26:41 -04:00
Kris 7708d144c1
UX: restore previous padding (#92) 2025-05-06 15:48:03 -04:00
Jordan Vidrine 69872897e6
fix (#91) 2025-04-24 12:43:24 -05:00
Jordan Vidrine 821e8f0146
DEV: Refactor (#90) 2025-04-21 20:44:20 -05:00
Martin Brennan 1fe3ff23f2
FIX: Use search input id for <SearchMenu /> component (#87)
Relies on https://github.com/discourse/discourse/pull/32099 from
core, which introduces a searchInputId to differentiate
search inputs, since we have 3 now (welcome banner, header, icon)
2025-04-04 11:54:51 +10:00
Jarek Radosz 5ad224e3b3
DEV: Update linting (#85) 2025-03-19 11:56:56 +00:00
Martin Brennan e00b4e1992
DEV: Update theme name to Advanced Search Banner (#84)
Since we are moving a simplified version of this
into core at https://github.com/discourse/discourse/pull/31516,
this component becomes Advanced Search Banner.

The core welcome banner will be hidden if this
component is installed.

This commit also re-enables previously disabled
specs that would have failed the core PR.
2025-03-17 12:18:24 +10:00
Kris 6366cafa29
UX: fix alignment for RTL languages (#67) 2024-09-06 17:37:07 -04:00
Kris 2333c26245
UX: fix button alignment, remove dead CSS (#56) 2024-05-13 13:18:18 -04:00
Kris 58a173be20
UX: fix input button alignment (#54) 2024-04-12 15:07:09 -04:00
Jordan Vidrine 0e267b617c
FIX: Remove outlet causing search icon injection elsewhere (#52) 2024-03-06 17:34:55 -06:00
Isaac Janzen d57ce477f8
DEV: Update to glimmer search menu (#46)
# Without Search Button Text

<img width="599" alt="Screenshot 2023-11-28 at 1 41 23 PM" src="https://github.com/discourse/discourse-search-banner/assets/50783505/f3db62c8-3a64-410a-a254-88cdab9d5d9f">
<img width="635" alt="Screenshot 2023-11-28 at 1 41 32 PM" src="https://github.com/discourse/discourse-search-banner/assets/50783505/c595d6e3-bc04-472c-869a-9c2567399085">
<img width="580" alt="Screenshot 2023-11-28 at 1 44 11 PM" src="https://github.com/discourse/discourse-search-banner/assets/50783505/400a9b72-c599-4518-94f7-a46eb41eb541">


# With Search Button Text

<img width="604" alt="Screenshot 2023-11-28 at 1 46 17 PM" src="https://github.com/discourse/discourse-search-banner/assets/50783505/1195e798-0d21-489f-8672-a5ccd3960b91">
<img width="557" alt="Screenshot 2023-11-28 at 1 45 39 PM" src="https://github.com/discourse/discourse-search-banner/assets/50783505/7eb6681b-08f3-4a7f-98ba-8a3fbe283baa">


# Shared search term
https://github.com/discourse/discourse-search-banner/assets/50783505/fdf12c12-1c9a-4fb6-bd44-8ca5fe2d30d0
2023-11-28 13:59:07 -07:00
Jordan Vidrine 5fb25748da
FIX: Adjust button styling when custom text is used (#45) 2023-11-20 12:52:29 -06:00
Jordan Vidrine b0b6448e7c
UX: Style adjustments and fixes (#44) 2023-11-09 10:11:33 -06:00
Kris eeeb391c88
UX: add optional search button text (#33)
* UX: add optional search button text

* include i18n
2023-07-27 14:46:38 -07:00
Kris 5f6eddaabc
UX: let search button click through to full search (#29) 2023-04-05 17:07:32 -04:00
Prof. Caju 9df5e660b5
Add dark theme background image (#26) 2023-03-31 11:30:34 -04:00
Kris 9be6d63f35
FIX: add clearContext, general cleanup (#25) 2023-03-08 09:29:00 -05:00
Kris 9b7525e228
FEATURE: optional setting for special style (#18) 2022-10-18 13:02:20 -04:00
Penar Musaraj 220e782d52
Revert "DEV: Do not reuse core's element ID for the input (#14)" (#15)
This reverts commit 107be68180.
2022-07-27 23:18:38 +05:30
Penar Musaraj 107be68180
DEV: Do not reuse core's element ID for the input (#14)
This changes `search-term` widget's ID for the input so that we do not
include two elements with the same ID in the DOM.
2022-07-27 12:27:40 -04:00
Kris 703d7c4dd6
FEATURE: replace background setting with upload (#7) 2021-10-25 10:45:40 -04:00
Penar Musaraj 205ead43f9
FIX: Let core handle toggling "in topic" state (#6)
Also adjusts some styling following core changes.
2021-10-21 10:00:00 -04:00
Kris 565174c3e3
Update variables for dark mode support (#5) 2021-05-29 09:14:18 -05:00
awesomerobot d9e5eecac5 Update padding for sticky header, pin old version 2020-10-19 17:58:12 -04:00
Kris ca5e4e7b2f adding some more settings 2019-07-25 10:14:25 -04:00
Kris a75b9063aa initial commit 2019-07-14 23:31:20 -04:00