Commit Graph

96 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
Discourse Translator Bot b252233a42
Update translations (#89) 2025-04-28 13:41:31 +02: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
Loïc Guitaut 4607dbbb7f
DEV: Add system spec to check core features are working fine (#88) 2025-04-09 15:35:52 +02: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
Discourse Translator Bot 85d1201218
Update translations (#86) 2025-03-18 15:08:35 +01: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
Martin Brennan 15690869c2
DEV: Disable system specs for now (#83)
We are moving this component into core here
https://github.com/discourse/discourse/pull/31516

When that is merged, we can re-enable these specs
hidden behind the core site setting
2025-03-12 12:06:40 +10:00
Jarek Radosz a3beb2c886
DEV: Update license (#80) 2025-02-24 11:32:36 +08:00
dependabot[bot] d3a8140d61
Bump rack from 3.1.8 to 3.1.10 (#79)
Bumps [rack](https://github.com/rack/rack) from 3.1.8 to 3.1.10.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.1.8...v3.1.10)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-18 18:20:00 +01:00
Discourse Translator Bot 3339869b6e
Update translations (#78) 2025-02-11 16:43:45 +01:00
David Taylor a26d98258e
DEV: Bump dependencies and fix linting (#77) 2025-02-06 18:49:46 +01:00
David Taylor 252d5b0618
DEV: Pin version for Discourse <3.5.0.beta1-dev (#76) 2025-02-05 19:47:59 +01:00
Discourse Translator Bot 2cab4e99e0
Update translations (#75) 2025-01-03 14:02:33 +01:00
Discourse Translator Bot 8ac4695034
Update translations (#74) 2024-12-18 15:19:52 +01:00
Kelv 95abe577ed
DEV: Update more deprecated Font Awesome icon names (#73) 2024-12-08 22:13:53 +01:00
David Taylor ba7630cd78
DEV: Update linting (#72) 2024-11-28 15:26:51 +01:00
David Taylor 42e9215eda
DEV: Update linting (#71) 2024-11-20 19:25:38 +01:00
David Taylor a459c49200
DEV: Update eslint config (#70) 2024-11-19 15:24:04 +01:00
Kelv 1e550163e6
DEV: Update linting setup (#69) 2024-10-17 11:29:35 +02:00
Kelv b57eda842f
DEV: Switch to use pnpm (#68) 2024-10-14 11:28:22 +02:00
Kris 6366cafa29
UX: fix alignment for RTL languages (#67) 2024-09-06 17:37:07 -04:00
dependabot[bot] 91741e4b19
Bump micromatch from 4.0.5 to 4.0.8 (#66)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:37:35 +02:00
Discourse Translator Bot 8e13789152
Update translations (#65) 2024-08-20 17:55:00 +02:00
Discourse Translator Bot e9a06574dd
Update translations (#64) 2024-08-13 16:34:52 +02:00
Natalie Tay 29a0d4db0b
DEV: Pin theme for Discourse < 3.4.0.beta1-dev (#63) 2024-08-02 17:41:35 +08:00
Discourse Translator Bot f7e141653a
Update translations (#62) 2024-07-09 23:12:31 +02:00
dependabot[bot] d4a0c84fe8
Bump braces from 3.0.2 to 3.0.3 (#61)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 12:08:12 +02:00
Sérgio Saquetim 7d6505c8a9
DEV: Change license to MIT (#60) 2024-06-19 12:44:28 +10:00
Discourse Translator Bot 0bcdb65ecb
Update translations (#59) 2024-06-11 17:22:23 +02:00
Discourse Translator Bot 81fc51bfd1
DEV: Add Crowdin support (#58) 2024-06-11 13:37:48 +02:00
Nathan Kershaw 34d2b947da
Update about.json (#57) 2024-06-05 09:48:55 -04:00
Kris 2333c26245
UX: fix button alignment, remove dead CSS (#56) 2024-05-13 13:18:18 -04:00
Kris 917327281f
FIX: don't use fallback key as button text (#55) 2024-05-06 13:37:34 -04:00
Kris 58a173be20
UX: fix input button alignment (#54) 2024-04-12 15:07:09 -04:00
David Taylor 2b24f942b3
DEV: Update linting (#53) 2024-03-27 22:55:23 +01:00
Jordan Vidrine 0e267b617c
FIX: Remove outlet causing search icon injection elsewhere (#52) 2024-03-06 17:34:55 -06:00
Selase Krakani c99eecaa4e
DEV: Pin theme for Discourse < 3.3.0.beta1-dev (#51) 2024-02-29 13:00:32 -07:00
Joffrey JAFFEUX 6ba0e9d0a4
FIX: search menu is now closed on keydown (#50) 2024-01-22 15:19:02 +01:00
Isaac Janzen 1c9b0b074c
FIX: Force search menu to always be displayed as a dropdown (#49)
Raised in https://meta.discourse.org/t/search-banner/122939/109?u=isaac

> a dark overlay comes over the entire site page and i’m unable to navigate the site

Force the search menu to always render as a dropdown and don't apply the `slide out` styling (dark overlay).

# Before

https://github.com/discourse/discourse-search-banner/assets/50783505/17a5009b-d0c5-40c8-95a5-b00a0685970c


# After

https://github.com/discourse/discourse-search-banner/assets/50783505/4962728f-759b-41bc-af49-6bdc5fe209f7
2024-01-08 15:56:58 -07:00
Jarek Radosz 934e0d3577
DEV: Update linting (#47) 2023-11-29 23:06:37 +01: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
Natalie Tay e20a36d9f5
DEV: Use new i18n package (#43) 2023-11-06 12:22:20 +08:00
dependabot[bot] 144c7fed42
Bump @babel/traverse from 7.20.10 to 7.23.2 (#42)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 18:27:40 +02:00
Alan Guo Xiang Tan 76495edcbf
DEV: Fix theme compatibility problem (#41)
Technically < 3.2.0.beta2-dev is wrong cause it is a development version and there are many commits within that version. If Discourse core is on a commit that does not include the necessary changes required in 257427ba30, the theme will break.
2023-10-18 08:42:25 +08:00