Skip to content

Add official GitHub star count button above the fold #197

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

germainelee
Copy link
Contributor

@germainelee germainelee commented Apr 11, 2025

fix #4280 add official GitHub star count button in hero section, which is above the fold

@@ -7,6 +7,7 @@
</figure>

<div class="intro col-lg-7 col-md-16">
<a class="github-button" href="https://github.com/owncast/owncast" data-color-scheme="no-preference: dark; light: dark; dark: dark;" data-size="large" data-show-count="true" aria-label="Star owncast/owncast on GitHub">Star</a>
Copy link
Member

Choose a reason for hiding this comment

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

This label says "star owncast on github" but pressing this button will not star Owncast on github.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is designed to work like that only because of security issues- buttons/github-buttons#10

Copy link
Member

Choose a reason for hiding this comment

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

I know why, but I'm just saying it's not accurate. It's not possible to star a repository this way, so we shouldn't say that the button does so.

Copy link
Contributor Author

@germainelee germainelee Apr 18, 2025

Choose a reason for hiding this comment

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

Would it be better to write "View owncast/owncast on Github" as the aria label and "Github" as button label?

@germainelee germainelee requested a review from gabek May 6, 2025 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show the star count on the website
2 participants