Shields: Customizing build status titles

Created on 5 Dec 2019  路  4Comments  路  Source: badges/shields

:clipboard: Description
For example, I prefer to see success instead of passing. I think there are people that also prefer success or something else. AppVeyor already allows you to customize build status titles https://www.appveyor.com/docs/status-badges/#customizing-titles.

question

All 4 comments

Hi! One of Shields' goals is to provide consistency and so we limit the amount of choices that are made available through the official badges.

We do have some test badges that allow overriding the message, however none of the build badges have this 鈥撀爐hey all use passing: https://shields.io/category/build

I understand that individual preferences might differ and one way to accomplish this if you feel strongly enough is to use endpoint badge, which lets you specify the exact content you want, while using img.shields.io for caching and formatting.

Some relevant conversation on this topic over in https://github.com/badges/shields/issues/4393#issuecomment-561383287.

I detailed my opinion over in the linked thread but just to summarize for inline awareness here:

I definitely agree that we need consistent default values for green/red messages (which are respectively passing and failing) but I don't personally have any objections to allowing users to specify those messages via optional query params like we already do for the set of Tests badges and Status/Uptime badges.

I wouldn鈥檛 be opposed to allowing users to specify replacement text, what would the parameters look like though?
passing=success&failing=failed

Given that this is not a feature that our users have requested often, I would tend to agree with @paulmelnikow and aim for consistency and simplicity with regard to build status labels. 馃槈

Was this page helpful?
0 / 5 - 0 ratings

Related issues

salaros picture salaros  路  3Comments

rominf picture rominf  路  3Comments

Turnerj picture Turnerj  路  3Comments

calebcartwright picture calebcartwright  路  3Comments

paulmelnikow picture paulmelnikow  路  3Comments