Commit Graph

52 Commits

Author SHA1 Message Date
Kris bd0594108a
UX: fix compatibility with discourse-header-search (#35) 2023-08-15 17:55:02 -04:00
Kris 71c9104e48
REFACTOR: move widget to an ember component (#34) 2023-08-03 12:05:58 -04:00
dependabot[bot] c344d0f519
Bump word-wrap from 1.2.3 to 1.2.4 (#33)
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 10:18:16 +02:00
dependabot[bot] b686f420d6
Bump semver from 6.3.0 to 6.3.1 (#32)
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:48:04 +02:00
Arkshine 6bc3216b80
FIX: Links are not displayed if the setting doesn't associate a locale (#31)
Related #30.
Reported here: https://meta.discourse.org/t/missing-custom-header-links-after-update/262594

#### Current behavior
The links are not displayed if a locale is not provided in the setting.

#### Expected behavior
By not associating a locale with a link, the link should be displayed by default regardless of the user's language.
2023-04-24 09:09:35 -05:00
Lena MONTENOT 0661c627cb
Add a locale filter to links (#30)
* Add a locale attribute to custom header links

This attribute is to be set to a language code like 'fr', 'en' or 'de'.

* Filter out links which locale is different from the html document's

* prettier

* more syntax

---------

Co-authored-by: Lena Montenot <lena.montenot@commown.coop>
Co-authored-by: Jordan Vidrine <jordan@jordanvidrine.com>
2023-04-21 08:30:07 -05:00
discoursebot be4c69f8bb
DEV: Update CI workflows (#28)
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 19:07:39 +00:00
David Taylor 2d8c2f23c9
DEV: Update eslint-config-discourse, use prettier for hbs (#27) 2023-01-04 13:41:59 +01:00
dependabot[bot] f8eaf939e6
Bump json5 from 2.2.1 to 2.2.2 (#26)
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:46 -05:00
discoursebot 02db92a3cc
DEV: Update CI workflows (#25)
Co-authored-by: discoursebuild <build@discourse.org>
2022-12-30 22:38:38 -05:00
discoursebot dfbe920c33
DEV: Update CI workflows (#24)
Co-authored-by: discoursebuild <build@discourse.org>
2022-11-07 14:18:46 -06:00
Jarek Radosz a594339a5f
DEV: Add CI setup (#23) 2022-06-18 01:33:51 +02:00
dependabot[bot] 7625534d78
Bump async from 2.6.3 to 2.6.4 (#22)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 18:06:01 +02:00
dependabot[bot] 045174d332
Bump ansi-regex from 4.1.0 to 4.1.1 (#21)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 11:56:06 +02:00
dependabot[bot] fe0c5e2daa
Bump minimist from 1.2.5 to 1.2.6 (#20)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 11:52:33 +02:00
Sam b9c55b68b4
Update README.md 2021-10-25 12:22:40 +11:00
dependabot[bot] 2c6046a0be
Bump path-parse from 1.0.6 to 1.0.7 (#19)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 11:45:49 +02:00
dependabot[bot] cdf32cd56a
Bump glob-parent from 5.1.1 to 5.1.2 (#18)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 19:48:19 +02:00
awesomerobot 3dae9074dc need import 2021-06-02 16:48:34 -04:00
awesomerobot 6c59a269f2 DEV: When decorating home-logo, allow target blank 2021-06-02 16:47:29 -04:00
dependabot[bot] 0a67cc44ea
Bump lodash from 4.17.20 to 4.17.21 (#16)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 02:05:19 +02:00
dependabot[bot] 6581b6c51d
Bump handlebars from 4.7.6 to 4.7.7 (#15)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:49:25 +10:00
dependabot[bot] 777aed770d
Bump y18n from 4.0.0 to 4.0.1 (#14)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-01 11:30:39 +02:00
tshenry 8194fbe0fc
Update about.json 2021-03-04 16:33:04 -08:00
Penar Musaraj fa44683202
DEV: Use color from CSS custom properties (#12) 2021-02-11 12:22:10 -05:00
Penar Musaraj 7266bd01dd
DEV: Use color from CSS custom properties 2021-02-11 11:55:04 -05:00
Penar Musaraj 10b9eabb28
Use list_type: simple for setting 2020-09-24 15:41:37 -04:00
jjaffeux a22d636551 REFACTOR: new code layout/removes jquery/coding standards 2020-09-23 17:00:33 +02:00
Tosin Sonuyi 41bc9b1ae1
DEV: make class name more unique to prevent collisions (#10)
naming a nav link "Directory" for instance collides with a core css class name
2020-08-04 22:53:27 +08:00
Kris a99331c590 FEATURE: Add setting to show links on the left or right 2019-11-12 15:50:13 -05:00
Joe 175a027582
DEV: improved implementation and bug fixes (#3) 2019-05-04 22:14:27 +08:00
Joe 628a523928 Merge remote-tracking branch 'discourse/master' 2019-05-04 21:05:33 +08:00
Neemias Freitas f26c39a425 Fix header color 2019-05-01 09:28:06 -05:00
Andrew Schleifer 5544f9ceea
fill in `about_url`
point to the topic on meta
2019-05-01 09:21:02 -05:00
Joffrey JAFFEUX bfda9d3b50
FIX: adds auto-route to avoid losing queryParams on successive clicks 2019-03-28 11:35:46 +01:00
Joe e84b0a5bb6
DEV: removes unwanted spaces 2018-12-08 13:21:28 +08:00
Joe e5054ac549
DEV: style clean up 2018-12-08 13:17:52 +08:00
Joe caa4b16439
FIX: marked links should hide when topic is visible
This also includes a number of changes to make the component compatible with the latest changes to the header in core
2018-12-08 13:13:54 +08:00
Joe 99d36e3142
Update about.json 2018-09-11 17:07:55 +08:00
Joe 367aa5dde6
Update common.scss 2018-06-24 17:51:59 +08:00
Joe 92d0d17eb2
Update common.scss 2018-06-24 17:18:15 +08:00
Joe 0b07024cc5
Update header.html 2018-06-24 16:21:02 +08:00
Joe a4b8bb0e36
Update header.html 2018-06-24 16:20:52 +08:00
Joe 17604f6631
Update common.scss 2018-06-24 16:20:29 +08:00
Joe d4c8bf0af4
Update header.html 2018-06-24 16:09:25 +08:00
Joe 459c594fbf
Update settings.yml 2018-06-24 15:33:36 +08:00
Joe fd5f5d6d22
Rename setting.yml to settings.yml 2018-06-24 15:29:44 +08:00
Joe 0df1dfe795
Create about.json 2018-06-24 15:27:30 +08:00
Joe cb140d273d
Create setting.yml 2018-06-24 15:16:18 +08:00
Joe d5c56d235f
Create common.scss 2018-06-24 14:55:11 +08:00