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

Add codesponsor.io badge #1043

Conversation

coderberry
Copy link
Contributor

@coderberry coderberry commented Jul 23, 2017

PR for #1042

screen shot 2017-09-10 at 6 12 49 pm

@coderberry coderberry changed the title Add codesponsor badge Add codesponsor.io badge Jul 23, 2017
.intercept(nock => nock('https://app.codesponsor.io')
.get('/shield/hopsoft/bg')
.reply(200, {
bitcoin: 0.004359,
Copy link
Member

Choose a reason for hiding this comment

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

This test is going to start failing if this value ever changes... Better to doJoi.number() here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will fix it. Thanks you

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Daniel15 This is now fixed. Thanks!

Copy link
Member

@paulmelnikow paulmelnikow left a comment

Choose a reason for hiding this comment

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

Hi! Thanks for this.

There isn't consensus about how to handle showing vendor logos, particularly by default. The design goal of shields was to display clean, consistent badges. The social badges have logos, though there are only a couple other badges with logos.

Would you mind removing it until a consensus is reached? It would expedite getting this merged.

@paulmelnikow
Copy link
Member

Update: It's fine to leave the logo checked in. With #1092 it can be turned on using ?logo=codesponsor. However, it should be turned off by default.

@paulmelnikow paulmelnikow added service-badge New or updated service badge on-hold Deferred in favor of another approach, blocked on preceding efforts, stale, or abandoned and removed on-hold Deferred in favor of another approach, blocked on preceding efforts, stale, or abandoned labels Sep 30, 2017
@paulmelnikow
Copy link
Member

Are these requests expected to work without a valid token? I can't get them to. I've fiddled with the tests for a while.

Feel free to ping this issue or repoen. I can't test or merge this without your help.

@coderberry
Copy link
Contributor Author

Hi @paulmelnikow I just saw this. I apologize for the delayed reply. I will make the requested changes and will provide a token to test with.

@paulmelnikow
Copy link
Member

Sounds good, and no worries!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service-badge New or updated service badge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants