mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #305] Badge per check #234
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#234
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SuperSandro2000 on GitHub (Nov 21, 2019).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/305
I would like to generate a badge from a specific check with that checks name for a project I maintain.
Sadly currently you can only get badges from projects or tags which both do not have the badge name customization I would like to have.
So my requests: Could you add badges per check? Maybe they need to be enabled on a by check case to save performance?
And/or can you add a customization option to change the text on all badges? I would like to have something like "Project synced with upstream" which is currently no possible.
@cuu508 commented on GitHub (Dec 5, 2019):
We could add support for overriding labels via query string. Let's say the SVG badge URL is:
We could support this:
As for badges per individual check: if the number of checks is manageable, you could give each check an unique tag. And each unique tag would have its badge, controlled by a single check.
@cuu508 commented on GitHub (Dec 5, 2019):
Ah, if shields.io endpoint gets implemented, then shields.io could handle the label override:
@SuperSandro2000 commented on GitHub (Dec 5, 2019):
This would totally work for me right now. Thanks!
Label override via query string is exactly what I had in mind.
Edit:
Well, it would work if I could override the Label name cause I want a space in the display.
@cuu508 commented on GitHub (Dec 5, 2019):
I've just added shields.io support which also lets you override badge labels.
Example badge:
Same badge, custom label: