Commit Graph

85 Commits

Author SHA1 Message Date
Discourse Translator Bot 8753fe8cab
Update translations (#74) 2024-12-10 20:16:15 +01:00
David Taylor af0e0bf116
DEV: Update linting (#73) 2024-11-28 15:13:08 +01:00
David Taylor 56d4c4d495
DEV: Update linting (#72) 2024-11-20 18:39:06 +01:00
dependabot[bot] 5452892b38
Bump cross-spawn from 7.0.3 to 7.0.6 (#71)
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 11:01:58 +00:00
David Taylor d7335940a5
DEV: Update eslint config (#70) 2024-11-19 11:35:59 +01:00
Discourse Translator Bot 7469f11c87
Update translations (#69) 2024-11-05 16:55:40 +01:00
Jarek Radosz 27fc602156
DEV: Disable Rubocop rule for JS migration specs (#68) 2024-10-23 12:16:14 +02:00
Kelv d5e12cf9c4
DEV: Update linting setup (#67)
* DEV: Update linting setup

* update pnpm lockfile
2024-10-17 11:07:55 +02:00
Kelv 60636f7d99
DEV: Switch to use pnpm (#66) 2024-10-14 10:01:47 +02:00
dependabot[bot] 2633387499
Bump micromatch from 4.0.5 to 4.0.8 (#65)
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:42:28 +02:00
overgrow f670596c6a
DEV: Improve plugin outlets in category-banner component (#64)
Add category argument to plugin outlet to make it more usable for customization, create new outlet 'after-description'
2024-08-27 06:44:55 +08:00
Discourse Translator Bot cfb96a9703
Update translations (#63) 2024-08-13 16:33:11 +02:00
Natalie Tay 6595991b2d
DEV: Pin theme for Discourse < 3.4.0.beta1-dev (#62) 2024-08-02 17:29:28 +08:00
Bryce Huhtala 851f9c4264
FIX: Group and invalid mention colors (#61)
* UX: Fix group mention color

* FIX: Add comma

* FIX: Non-existent user mention color
2024-07-24 14:36:25 -05:00
Discourse Translator Bot 4eac07db3a
Update translations (#59) 2024-06-25 15:39:55 +02:00
Discourse Translator Bot 313d38ab6e
Update translations (#58) 2024-06-18 15:39:02 +02:00
dependabot[bot] 8517cba2c2
Bump braces from 3.0.2 to 3.0.3 (#57)
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-16 22:32:03 +02:00
Discourse Translator Bot eb3b1308dd
Update translations (#56) 2024-06-11 17:20:01 +02:00
Discourse Translator Bot b48aecd5d2
DEV: Add Crowdin support (#55) 2024-06-11 13:36:05 +02:00
JimmyJammyDodger d3993df800
Update about.json (#54) 2024-06-10 10:00:14 +01:00
Kris e22d73b5dc
UX: fix mention color (#53) 2024-05-30 18:19:37 -04:00
Kris cd2cbb6bfd
UX: update link color in banners (#52) 2024-05-30 18:10:52 -04:00
Alan Guo Xiang Tan 04c2b2b6ff
DEV: Migrate `categories` setting to new objects setting type (#51)
Since https://github.com/discourse/discourse/commit/a440e15, we have started to support objects typed theme setting so we are switching this theme component to use it instead as it provides a much better UX for configuring the settings required for the theme component.
2024-05-06 13:08:39 +08:00
MarcRez33 7da1900e78
FIX: Show the right color for @usernames with dark/light mode (#49) 2024-04-30 13:43:10 -04:00
Alan Guo Xiang Tan 77645890df
DEV: Add tests for `categories` setting (#50)
This commit improves the test coverage for the client side logic
surrounding the `categories` theme setting
2024-04-24 11:57:34 +08:00
Alan Guo Xiang Tan 41ddbb8c11
DEV: Move settings descriptions into translation file (#48)
This commit moves the description for the theme's settings into
`locales/en.yml`. This follows our theme's best practice listed in
https://meta.discourse.org/t/add-localizable-strings-to-themes-and-theme-components/109867
2024-04-09 14:18:34 +08:00
Jarek Radosz d61629c0fc
DEV: Update linting (#47) 2024-03-27 16:16:16 +00:00
Selase Krakani 84bf1a4ae0
DEV: Pin theme for Discourse < 3.3.0.beta1-dev (#46) 2024-02-29 12:49:39 -07:00
Kris c46f2905bd
FIX: include setting type for `align_text` (#45) 2024-01-31 15:16:39 -05:00
Kris daec18921f
FEATURE: optionally show category logo, change text alignment (#44) 2024-01-31 14:47:25 -05:00
Alan Guo Xiang Tan 264dde939a
DEV: Use plugin api version 1.13.0 (#43)
Plugin API versions > 1.13 is not released in any beta versions.
2023-10-27 08:09:54 +08:00
Kris 71c371c7c5
FIX: allow HTML in category description (#42)
This regressed in 1398eeeff5
2023-10-25 06:24:14 +08:00
Alan Guo Xiang Tan 0bc1e74e61
DEV: Fix flaky and incorrect tests (#41)
1. Use `category.url` instead instead of forming URLs by hand. The
   subcategory urls were wrong but the tests were passing since we were
asserting for the component not displaying which will still pass when
the page 404s.

1. Use `let!` instead of `fab!` for `upload_theme_component` since `let!` ensures that the theme cache is cleared between tests.
2023-10-23 14:15:51 +08:00
Alan Guo Xiang Tan 899ac6da71
DEV: Update compatibility file (#40)
`api.renderInOutlet` is a new API released in `3.2.0.beta2` so we need
to update the compatibility file to ensure this theme component
continues to work with older version of the plugin
2023-10-23 13:04:46 +08:00
Alan Guo Xiang Tan 1398eeeff5
DEV: Various improvements to theme (#39)
This commits introduces the follow changes:

1. Use the `renderInOutlet` API over the connectors convention
1. Renames `discourse-category-banners` component to `category-banner`
   which is more appropriate cause we are only rendering banner for one
category.
1. Adds system tests
2023-10-23 12:17:00 +08:00
dependabot[bot] 65a2cfc43f
Bump @babel/traverse from 7.20.10 to 7.23.2 (#38)
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:25:02 +02:00
Penar Musaraj 9d23caf230
DEV: Pin theme for Discourse 3.1 stable (#36) 2023-08-22 14:01:07 -05:00
dependabot[bot] e7b1e68708
Bump word-wrap from 1.2.3 to 1.2.4 (#35)
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 01:57:40 +02:00
dependabot[bot] 095e350205
Bump semver from 6.3.0 to 6.3.1 (#34)
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-11 10:46:25 +02:00
Kris 21284e2419
UX: add more plugin outlet options (#33) 2023-07-06 16:42:00 -04:00
Kris 813151307f
FEATURE: add features for tag banner integration, clean up (#32) 2023-05-03 12:51:41 -04:00
Kris 3199fd59d3
DEV: ensure class removal when banner doesn't show (#30) 2023-03-31 10:41:01 -04:00
Kris f7696c3372
UX: category icon compatibility improvements (#29) 2023-03-30 13:10:47 -04:00
Kris ca80cd248c
REFACTOR: Update from widget to a glimmer component (#28) 2023-03-28 16:08:09 -04:00
discoursebot 43c9dc5c40
DEV: Update CI workflows (#26)
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 19:07:18 +00:00
David Taylor 3ccc3b9bdb
DEV: Update eslint-config-discourse, use prettier for hbs (#25) 2023-01-04 13:41:35 +01:00
dependabot[bot] 53981dc5e3
Bump json5 from 2.2.1 to 2.2.2 (#24)
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:48:32 -05:00
discoursebot 9ed10ed7ba
DEV: Update CI workflows (#23)
Co-authored-by: discoursebuild <build@discourse.org>
2022-12-30 22:38:16 -05:00
discoursebot 12da491851
DEV: Update CI workflows (#22)
Co-authored-by: discoursebuild <build@discourse.org>
2022-11-07 14:23:17 -06:00
Kris 306db2c055
remove hotlinked image from readme (#21) 2022-08-01 12:34:29 -04:00