Refined-github: Don't hide new comment toolbar

Created on 4 Jul 2017  路  9Comments  路  Source: sindresorhus/refined-github

screen shot 2017-07-04 at 11 16 18

This is an anti-feature. It does not remove UI bloat. Instead it removes the ability to easily quote an entire block of text, to easily convert a few lines in an ordered list, etc.
The toolbar is not just about typing Markdown. It has editing capabilities.

Since you're against adding options, I suggest to just remove that feature.

change request

Most helpful comment

It does not remove UI bloat.

When I look at a colleague's screen who is not using the extension I really feel frustrated of the fact GitHub thinks this is useful.

Instead it removes the ability to easily quote an entire block of text, to easily convert a few lines in an ordered list, etc.

I just use my text editor if I need to do something fancy, but this is like <1% of my GitHub comments.


馃憤 on working around that or uninstalling the extension instead. I realise Refined GitHub is removing features and not only unnecessary UI elements, but that's on purpose.

All 9 comments

You can use Stylish to display them again:

.toolbar-group .toolbar-item {
    display: block !important;
}

Thank you for the workaround.

Here is the exact CSS rule:

@-moz-document regexp("^https?://((gist|guides|help|raw|status|developer)\\.)?github.com((?!generated_pages/preview).)*$"), domain("githubusercontent.com") {
    .toolbar-group .toolbar-item {
       display: block !important;
    }
    .toolbar-group {
       display: inline-block !important;
    }
}

The first line restricts the style to GitHub.com only. It was written for Firefox since I'm using the unofficial Firefox version of Refined GitHub. You can either adapt it or remove it if you are using Chrome.

screen shot 2017-07-04 at 12 32 18


My suggestion still hold though. Maybe some people will agree.

I'm using the unofficial Firefox version of Refined GitHub

What do you mean? What's the unofficial Firefox version?

It does not remove UI bloat.

When I look at a colleague's screen who is not using the extension I really feel frustrated of the fact GitHub thinks this is useful.

Instead it removes the ability to easily quote an entire block of text, to easily convert a few lines in an ordered list, etc.

I just use my text editor if I need to do something fancy, but this is like <1% of my GitHub comments.


馃憤 on working around that or uninstalling the extension instead. I realise Refined GitHub is removing features and not only unnecessary UI elements, but that's on purpose.

I really feel frustrated of the fact GitHub thinks this is useful.

Non-developers don't like not-pressing buttons, it's useful for them at least.

I don't feel strongly about this feature either, so I think I'll use my own CSS to re-enable it 馃槃

@bfred-it said

I'm using the unofficial Firefox version of Refined GitHub

What do you mean? What's the unofficial Firefox version?

Nevermind. While looking through issues for my problem, I thought reading about Firefox not being officially supported. It actually is.

@hkdobrev
Sure. The only question is: who should be using Stylish to customize the toolbar to his taste? Should it be hidden or not by default?

who should be using Stylish to customize the toolbar to his taste? Should it be hidden or not by default?

Here are the scenarios in my opinion:

  1. People using default GitHub interface.
  2. People using GitHub + custom styles to remove/improve things they don't like.
  3. People using an opinionated extension for GitHub with all of its opinions.
  4. People using an opinionated extension for GitHub with custom styles to customize it according to their own preference.

All of the above scenarios are completely fine and are based on personal preference. I'll support anyone wanting to go with any of it!

PS: I could not find a way to restore the margins between .toolbar-group because the margin is already removed using !important

Mostly restored by #872 馃憤

Was this page helpful?
0 / 5 - 0 ratings