reywood / bitbucket-pr-review

Chrome extension that allows you to flag individual files in a pull request as reviewed
GNU Lesser General Public License v3.0
19 stars 14 forks source link

Fix issue #20 - author class changed to author-name #21

Closed cpettifer closed 5 years ago

reywood commented 5 years ago

I'm still seeing a class name of "author" in my pull requests. Are there multiple pull request UIs available? Maybe a preview of a new pull request UI?

cpettifer commented 5 years ago

That's interesting because someone else in my team at work said they weren't having a problem, so perhaps I have been served some new version, while others are getting the previous / existing version? Maybe hang off for a few days and see what happens on Bitbucket...

reywood commented 5 years ago

Maybe you could change the selector to something that would take either class like this:

comment.querySelector('.author, .author-name').textContent
cpettifer commented 5 years ago

That's a good shout - done