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

How about displaying an online/offline badge against everyones name / in their card on the members list / page details #161

Open
cmjchrisjones opened this issue Oct 6, 2020 · 7 comments

Comments

@cmjchrisjones
Copy link

cmjchrisjones commented Oct 6, 2020

I've implemented the same thing on my personal site, similar to the below, we can use shields.io to accomplish and display something like this, and clicking on the button launches that streamers twitch stream in a new tab.

image image

Quick mockup:

image

If you think its a good/valid idea, I'm happy to take a stab at it

@cmjchrisjones cmjchrisjones changed the title How about displaying an online/offline badge against everyones name / in their card on the members list How about displaying an online/offline badge against everyones name / in their card on the members list / page details Oct 6, 2020
@whitep4nth3r
Copy link
Contributor

I'd love to see this @cmjchrisjones - there's another open issue for displaying live channels on the home page - I wonder if these two tickets could be combined? As I'm assuming it would use the same Twitch API call.

@whitep4nth3r
Copy link
Contributor

I'd be inclined to make the 'live' button colour Twitch purple with a Twitch SVG icon too :)

@cmjchrisjones
Copy link
Author

@whitep4nth3r the nice thing about that is there is no direct dependency on the Twitch API, its using https://shields.io to query Twitch and display the status - there are are number of styles to chose from and we could override some of these style too, EG

image
image
image
image
image

@CopperBeardy
Copy link
Contributor

These look cool, the purple button does look better

@whitep4nth3r
Copy link
Contributor

@cmjchrisjones would there be any performance implications in querying shields.io c. 200 times on a single page?

@cmjchrisjones
Copy link
Author

Just some rudimentary testing, but a valid point I guess

image

image

@ThindalTV
Copy link
Collaborator

Working on the code to enable this with in issue #8.

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

No branches or pull requests

4 participants