Commit Graph

63 Commits

Author SHA1 Message Date
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
Kris 257427ba30
DEV: Switch to new API, with legacy wrapper (#40)
but adds a wrapping div based on the outlet name in search-banner.hbs, so we're not breaking any existing themes.
2023-10-12 07:01:08 +08:00
Kris 53828160af
Revert "DEV: Switch to new API to render into plugin outlet (#36)" (#38)
This reverts commit a77a6143ba.
2023-10-11 09:39:35 -07:00
Alan Guo Xiang Tan a77a6143ba
DEV: Switch to new API to render into plugin outlet (#36)
Why this change?

The `renderInOutlet` plugin API was introduced in Discourse core which
we will prefer to use going forward.
2023-10-11 07:18:07 +08:00
Bianca Nenciu 2951c995fe
DEV: Update to latest guidelines (#37)
- Use Glimmer components
- Remove usage of observer
- Remove unnecessary API call
- Use explicit service injection
2023-09-12 18:14:25 +03:00
Jordan Vidrine 26a24a5e0e
DEV: Add new plugin outlet (#35) 2023-08-23 11:51:49 -05:00
Penar Musaraj 8d475793f7
DEV: Pin theme for Discourse 3.1 stable (#34) 2023-08-22 14:03:44 -05: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
dependabot[bot] fab3594c81
Bump word-wrap from 1.2.3 to 1.2.4 (#32)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 18:05:11 +02:00
dependabot[bot] c16cef52af
Bump semver from 6.3.0 to 6.3.1 (#31)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 14:10:42 +02:00
Kris 2937df0162
UX: add "discovery" option, plugin outlet (#30) 2023-04-18 15:20:25 -04:00
Kris 5f6eddaabc
UX: let search button click through to full search (#29) 2023-04-05 17:07:32 -04:00
Penar Musaraj 7dd9002c9f
DEV: Override `clickOutside` following core change (#28)
See discourse/discourse#20950
2023-04-04 10:00:30 -04:00
Kris a950a7fec2
Minor prettier fix (#27) 2023-03-31 11:57:08 -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
Rishabh 17d3347725
Ensure README images are pointing to discourse/gh-owned repositories (#24) 2023-01-25 17:34:33 +05:30
discoursebot 24b424b9c0
DEV: Update CI workflows (#23)
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 19:31:09 +00:00
David Taylor da7b271923
DEV: Update eslint-config-discourse, use prettier for hbs (#22) 2023-01-04 13:46:49 +01:00
dependabot[bot] 0c4a4382ee
Bump json5 from 2.2.1 to 2.2.2 (#21)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 22:50:43 -05:00
discoursebot 58f594275f
DEV: Update CI workflows (#20)
Co-authored-by: discoursebuild <build@discourse.org>
2022-12-30 22:40:54 -05:00
discoursebot 6c65617483
DEV: Update CI workflows (#19)
Co-authored-by: discoursebuild <build@discourse.org>
2022-11-07 14:10:47 -06:00
Kris 9b7525e228
FEATURE: optional setting for special style (#18) 2022-10-18 13:02:20 -04:00
Penar Musaraj ec94b8bac3
FIX: Prevent error when no attributes are passed to `linkClickedEvent` (#17) 2022-09-12 15:56:52 -04:00
Kris c5c9ed5ac9
FEATURE: support HTML in headline and subhead (#16) 2022-08-25 14:46:02 -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
discoursebot 3caedad451
DEV: Update CI workflows (#13)
Co-authored-by: discoursebuild <build@discourse.org>
2022-06-17 23:31:47 +02:00
Jarek Radosz b15a5e0380
DEV: Update repo URL in README (#12) 2022-05-16 13:55:40 -04:00
Jarek Radosz 09a7b5ba85
DEV: Add CI setup and fix linting issues (#11) 2022-05-13 13:55:40 +02:00
Penar Musaraj d87629059f
REFACTOR: Use `logSearchLinkClick` core helper (#10) 2022-04-01 10:35:38 -04:00
Penar Musaraj c3a26b198d
FEATURE: Log search result clicks (#9) 2022-03-08 20:49:49 +01:00
Penar Musaraj 23bd6582f4
FIX: Remove `clickOutside` event (#8)
No longer needed since it's removed in core
See https://github.com/discourse/discourse/pull/14788
2021-11-02 09:26:31 -04:00
Kris 703d7c4dd6
FEATURE: replace background setting with upload (#7) 2021-10-25 10:45:40 -04:00