sindresorhus/refined-github

Add `show-whitespace` toggle button #2240

jerone posted onGitHub

I like the new show-whitespaces feature. But it's enabled by default, with no easy way to toggle it on or off.

What if we add a toggle button (just like the ?w=1 toggle).

Maybe unchecked by default.

See https://github.com/sindresorhus/refined-github/pull/2073#issuecomment-511251314.


Just to give my two cents: this is very noisy for me and is the sort of feature that would make me consider removing the extension if it stays enabled for too long.

posted by Vannevelj over 5 years ago

@Vannevelj commented on Jul 16, 2019, 10:50 AM GMT+2:

Just to give my two cents: this is very noisy for me and is the sort of feature that would make me consider removing the extension if it stays enabled for too long.

You can always go to Refined GitHub options and disable show-whitespace feature: image No need to completely remove this extension.

posted by jerone over 5 years ago

@jerone Awesome, I wasn't aware there was an options section. So far the default changes have always been perfect for me and I never had the need to configure anything. Much appreciated, thanks.

posted by Vannevelj over 5 years ago

@jerone Apparently I am blind and cannot find those settings for the life of me. this is not because A lack of trying, Where can I find them?

posted by ndbeals over 5 years ago

image

posted by yakov116 over 5 years ago

Yeah I literally just figured that out myself and was coming back to update my comment, Appreciate it.

IDK how I missed it. Thanks.

posted by ndbeals over 5 years ago

Extended description here: https://github.com/sindresorhus/refined-github/pull/2073#issuecomment-512070277.

Meanwhile if any of you don't like this feature, just disable the feature, or try to see if you can disable features before starting to complain.

Thanks.

posted by notlmn over 5 years ago

the sort of feature that would make me consider removing the extension if it stays enabled for too long

Anyone who wants to remove the extension can remove it. It's free, having it installed only improves your experience, no one else benefits from it.


There are two ways to improve this situation:

posted by fregante over 5 years ago

What if we add a toggle button (just like the ?w=1 toggle).

I made an POC by adding an toggle button to the blob, compare and commit page.

<details> <summary>Screenshots</summary>

Screenshot blob page

image

Screenshot commit page

image

Screenshot compare page

image

</details>

But I'm not sure what to do with the remaining pages:

  • PR files
  • PR feedback
  • PR suggestions
  • inline code
  • others...

Looking for suggestions 👀

posted by jerone about 5 years ago

Honestly I don’t see the value in this. I never disable whitespace in my editor so why would anyone need to do it here?

Most people had a knee-jerk reaction when the feature was added but this isn’t a solution to that. Those who don’t like the feature can just disable (or already have), we already have options for this.

Adding a distracting toggle for this seems futile. I’d close this issue

posted by fregante about 5 years ago

@jerone thank you for contributing with IssueHunt. I think you can pull your donation from this issue

posted by fregante about 5 years ago

@sindresorhus has cancelled @jerone's funding for this issue.(Cancelled amount: $10.00) See it on IssueHunt

posted by issuehunt-app[bot] about 5 years ago

Fund this Issue

$0.00
Funded

Pull requests

Recent activities

sindresorhus cancelled funding 10.00 for  sindresorhus/ refined-github#2240
about 5 years ago
jerone funded 10.00 for sindresorhus/refined-github# 2240
over 5 years ago