-
-
Notifications
You must be signed in to change notification settings - Fork 377
Cannot toggle upvote #31
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 8000 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
Comments
Upstream discussion: community/community#3968 |
Update: they're aware of this problem and have put this on their to-do list. |
I noticed Giscus adds an upvote to any user comment, is it related to this issue? |
@alejandrohdezma yeah it's already implemented, but it doesn't work until GitHub allows toggling upvotes using the API with an app-issued token. |
Good to know! Thanks! 😸 |
@laymonage Can you please hide .gsc-upvote-button gsc-social-reaction-summary-item with css until then it starts working, I am telling this just because it doesn't looks good when visitors see something is broken is there any way I can inject css for me only into that iframe? |
Yeah having an option to toggle a simple CSS rule that set |
I made a couple of themes that add only these styles: |
@laymonage is it possible to hide the upvote button since it does not function properly? I tested the script manually on my page in the console but it can't hide it. Thanks in advance!
|
Given that it's been two years and GitHub still hasn't fixed this, I've opted to disable the button and change the styling a bit. I don't hide it completely as I think it's still useful to see the number of upvotes on the comment. |
Maybe there could be an option to hide it? |
Sorry, I don't like to add an option that would likely be removed in the future. If you really want to hide it, you can use a custom theme or self-host giscus. |
I've already done this in #18 but for some reason GitHub throws
FORBIDDEN
errors. Maybe we need to ping some hubbers and see what's the issue?The text was updated successfully, but these errors were encountered: