twilio / twilio-node

Node.js helper library
MIT License
1.37k stars 495 forks source link

chore: removed unnecessary badge and added relevant badges #995

Closed tiwarishubham635 closed 5 months ago

tiwarishubham635 commented 5 months ago

Fixes

Removed nodeio.co, twilioquest badges and added relevant badges for download counts and npm version

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.

bnb commented 5 months ago

looks like the npm version bade is breaking:

image
tiwarishubham635 commented 5 months ago

Hey @bnb! The seems to be working when I am looking at it. Maybe try clearing cache or opening from incognito browser?

tiwarishubham635 commented 5 months ago

But yeah there is some issue with this badge, since I am also seeing a 500 instead of version v4.20.1

Screenshot 2024-01-23 at 10 09 11 AM
tiwarishubham635 commented 5 months ago

Okay so I investigated over this. The image being rendered is being fetched from some third party API like badgen for npm version. The delay in response from there might cause the image to not render properly. However, the test badge is being used by a Github API only, so that should not break. However, I did saw that breaking as well at times. What is your suggestion? Should we look for other API or remove these badges?

tiwarishubham635 commented 5 months ago

Okay so I have removed the alt text that appears when badge is broken. So if the badge is broken, it won't show at all!

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

tiwarishubham635 commented 5 months ago

Hi @bnb! Please check the changes and if this looks good then we can proceed with this

bnb commented 5 months ago

Looks good to me.