Skip to content

Enable toggleAllThingsWithAlt on all commits - #1042

Merged
fregante merged 2 commits into
refined-github:masterfrom
brunolemos:patch-2
Mar 6, 2018
Merged

fregante merged 2 commits into
refined-github:masterfrom
brunolemos:patch-2

Conversation

@brunolemos

Copy link
Copy Markdown
Contributor

This feature was only working on PR pages (files changed tab or pr commit), but not when opening a specific commit outside a PR.

@brunolemos

Copy link
Copy Markdown
Contributor Author

Needs to be tested before merging, I commited directly on GitHub.

@fregante fregante left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly it doesn't seem to work. The label is added but alt+click doesn't toggle more than one.

Tested on 4743195

@brunolemos

Copy link
Copy Markdown
Contributor Author

@bfred-it: fixed

@fregante

fregante commented Mar 2, 2018

Copy link
Copy Markdown
Member

I think this breaks other "things", like PR comments

This feature was only working on PR pages (files changed tab or pr commit), but not when opening a specific commit outside a PR.
@brunolemos

Copy link
Copy Markdown
Contributor Author

@bfred-it ready

@fregante fregante left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.repository-content felt too broad (the element appears on all repo pages) but it's limited by isCommit, isPR, and isCompare and it works works correctly on those pages.

@fregante
fregante merged commit 7d81d68 into refined-github:master Mar 6, 2018
@fregante

fregante commented Mar 6, 2018 •

Copy link
Copy Markdown
Member

Thanks @brunolemos 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants