-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide comments in fewer clicks #1428
Conversation
I thought of making the secondary dropdown because I thought the Hide button would still appear outside the menu sometimes... but I can't find that anymore. If the Hide button is always inside the dropdown, I can shorten the code by just replacing the content of the dropdown on click instead of opening a new one. |
source/content.js
Outdated
@@ -79,6 +79,7 @@ import displayIssueSuggestions from './features/display-issue-suggestions'; | |||
import addPullRequestHotkey from './features/add-pull-request-hotkey'; | |||
import openSelectionInNewTab from './features/add-selection-in-new-tab'; | |||
import showFollowersYouKnow from './features/show-followers-you-know'; | |||
import hideCommentsFaster from './features/hide-comments-faster'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may just be me. But quicklyhidecomments
would sound a bit better.
Should be good to go ⬇️ |
From 5 clicks + 700px mouse movement to 3 clicks + 100px movement.
Fixes #1268
Replaces and closes #1410
Load more...
(tested on Implement Sideways Data Loading facebook/react#3398)works when the hide button is always visible (not in a dropdown)(I haven't seen this one)