Commit Graph

13 Commits

Author SHA1 Message Date
David Taylor da7b271923
DEV: Update eslint-config-discourse, use prettier for hbs (#22) 2023-01-04 13:46:49 +01: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
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
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 0d9363d8c9
fix currentUser not found error (#4) 2021-02-05 10:29:39 -05:00
David Taylor 1e6ade528d DEV: Refactor into component with computed properties
This commit also
  - Removes use of api.onPageChange in favor of the router service
  - Removes JQuery use
  - Uses currentRouteName instead of currentURL so that the bar is hidden for loading substates
2020-12-18 11:52:17 +00:00
David Taylor 4422ee24d3 DEV: Move JS/HBS into dedicated files
This introduces no functional changes, it simply copies the js and templates
into their own files, and applies prettier formatting.
2020-12-18 11:52:17 +00:00