New Discourse optimization ideas

Using discourse is nice, but some issues are making my optimiser-gene unhappy:

  1. I would very much like a link to the official Hugo documentation in the header or footer or somewhere on the page when responding to topics. There is no link anywhere, and I have to open a tab by myself and type gohugo then wait for the page to load then click documentation… that’s like four clicks and two to six characters to be typed depending on my browser history. That makes it hard checking the docs quickly if I try to help someone wink wink.

  2. The checkbox on the left of topics is nearly invisible. How about somehow making them green and fat if they are solved? .topic-status svg.d-icon-far-check-square would hit that icon in a custom stylesheet. (if it does not work the first time try !important at the end of the rule. :white_check_mark:

  3. In my Chromium browser dev console I see content security policy errors. They might impact a feature we might like to use. Have a look :stuck_out_tongue:

  4. I got a category meta post some weeks ago :wink: spend a minute on it. Even if it’s a negative.

that’s all :wink: feel free to ignore my rant.

2 Likes

Taken from the homepage, we could add the following somewhere:

<li><a href="https://gohugo.io/news/">News</a></li>
<li><a href="https://gohugo.io/documentation/">Docs</a></li>
<li><a href="https://themes.gohugo.io/">Themes</a></li>
<li><a href="https://gohugo.io/showcase/">Showcase</a></li>
<li><a href="https://discourse.gohugo.io/">Community</a></li>
<li><a href="https://github.com/gohugoio/hugo/">GitHub</a></li>

Please share the error here; we need to reproduce.

1 Like

I added the links. That looks good.

4 Likes

Unfortunately the mobile layout on iOS Safari is now broken. It does not scroll horizontally.

It’s fixed now. Thanks mysterious person behind the curtain.

Thanks for the links - that shall speed up navigation.

Re #2 - I like the current style of the solved checkboxes. In my opinion, any larger and they’d be too intrusive.

Consider the slightest adjustment:

svg.d-icon-far-check-square {
  color: green;
}
2 Likes

The CSP error disappeared by the way. Maybe just some cache issue.

Yes, I didn’t want to change the size. That silly emoticon at the end is just for fun :wink: making it green will work and be eye-catchy.

Yep, that’s my experience with Discourse.

If you want to DIY it, you could load a user stylesheet to override it locally. :slight_smile: