Skip to content
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

Fix first-commit-message-for-new-prs #3722

Merged
merged 5 commits into from
Nov 17, 2020

Conversation

yakov116
Copy link
Member

GitHub is going to give us a very hard time. There are almost no more class specific selectors

Test on:
https://github.com/sindresorhus/refined-github/compare/master...yakov116:text?expand=1 (Cross-fork)
https://github.com/sindresorhus/refined-github/compare/master...sindresorhus:lint?expand=1 (Same-repo)

@yakov116 yakov116 added the bug label Nov 13, 2020
@yakov116 yakov116 changed the title Drop getRepoGQL Fix first-commit-message-for-new-prs Nov 13, 2020
'[href="#commits_bucket"] .Counter' // Same repository
].join());
const commitsBucket = await elementReady<HTMLElement>('#commits_bucket');
const commitCount = commitsBucket?.previousElementSibling?.querySelector('ul > li:nth-child(1) .text-emphasized');
Copy link
Member

@fregante fregante Nov 13, 2020

Choose a reason for hiding this comment

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

😱

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes testing link in first post

Copy link
Member

@fregante fregante Nov 15, 2020

Choose a reason for hiding this comment

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

Use octicon-git-commit to select this

Copy link
Member

Choose a reason for hiding this comment

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

What did you test exactly? Neither one of those commits have a description

Copy link
Member Author

Choose a reason for hiding this comment

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

Your right I did not test the description part but the title changes. Will test it soon.

Copy link
Member

@fregante fregante left a comment

Choose a reason for hiding this comment

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

Merge after testing

@yakov116
Copy link
Member Author

Screenshot_20201117-003429_Microsoft Remote Desktop

@yakov116 yakov116 merged commit 48bb7fe into master Nov 17, 2020
@yakov116 yakov116 deleted the fix-first-commit-message-for-new-prs branch November 17, 2020 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants