From bfda9d3b50bd8e027024b62aa0b7e68611248073 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 28 Mar 2019 11:35:46 +0100 Subject: [PATCH 1/3] FIX: adds auto-route to avoid losing queryParams on successive clicks --- common/header.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/header.html b/common/header.html index 0cf6cb7..c6091ba 100644 --- a/common/header.html +++ b/common/header.html @@ -18,7 +18,8 @@ customHeaderLinks.split("|").map(i => { { href: linkHref, title: linkTitle, - target: linkTarget + target: linkTarget, + attributes: { "data-auto-route": "true" } }, linkText ) From 5544f9ceeaff51ff08c424dde6e12de3e7522b6c Mon Sep 17 00:00:00 2001 From: Andrew Schleifer Date: Wed, 1 May 2019 09:21:02 -0500 Subject: [PATCH 2/3] fill in `about_url` point to the topic on meta --- about.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/about.json b/about.json index 3271ed8..820ca3c 100644 --- a/about.json +++ b/about.json @@ -1,6 +1,6 @@ { "name": "Custom Header Links", - "about_url": "https://meta.discourse.org/t/", + "about_url": "https://meta.discourse.org/t/custom-header-links/90588", "license_url": "https://github.com/hnb-ku/discourse-custom-header-links/blob/master/LICENSE", "component": true } From f26c39a425cb4f0e3873d43d4404a56014547305 Mon Sep 17 00:00:00 2001 From: Neemias Freitas Date: Tue, 22 Jan 2019 13:13:31 -0200 Subject: [PATCH 3/3] Fix header color --- common/common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common.scss b/common/common.scss index b63afbe..78d7895 100644 --- a/common/common.scss +++ b/common/common.scss @@ -4,7 +4,7 @@ list-style: none; a { padding: 6px 10px; - color: $primary; + color: $header_primary; font-size: $font-up-1; } }