-
Notifications
You must be signed in to change notification settings - Fork 19
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
Added rich tooltips for 7tv emote links #155
Conversation
extra line detected Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Host now matches properly through the MatchesHost function Path still matches through the regex
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.
Overall looks good to me - I would want to proxy the thumbnail requests though. Once that's done, I'm happy to have this merged in. Should use the utils.FormatThumbnailURL
on the current thumbnail format and it should be good, just have to figure out at a way to pass BaseURL to this resolver.
Please take a look at the commits I pushed to the PR too, I added some tests, changed the way the query is generated (using proper GQL variables now), standardized the 'check' function to use the same methods that FrankerFaceZ uses.
…tv-emote-resolver
Every attempt to decode either animated or static WEBP thumbnails fails, so even though we proxy thumbnails through our cache, it fails to provide the thumbnail for us
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.
Looks to be working as expected 👌 Feel free to merge this into master whenever you're ready @zneix
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.
Pull request checklist:
CHANGELOG.md
was updated, if applicableDescription
I've added a new custom resolver for 7tv emotes. It uses their GQL API.
Things left to do: