Some built-in merge checks have bold names in the UI, like No failed builds, No in progress builds, All tasks resolved, etc. Can a custom merge check have bold in its name? I tried
name: "Is **this** bold?" in the manifest, but it did not work.
Hi @DaniAsztalos,
No. Those built-in labels aren’t a name with bold in it. They’re a sentence with a value slotted in, and the bold sits on the value: the summary line reads 1 of 4 checks passed in the module docs screenshot and 2 of 3 checks passed in the one on Atlassian’s blog, bold on the number both times. No failed builds is that same shape with the count at zero.
A custom check hands Bitbucket one string for the whole line, so there’s no fragment in it to bold. I pulled @forge/manifest 13.3.0 and read the schema: name takes a plain string or an i18n key, and neither branch has a markup hook.
What did yours actually render on the card, the literal asterisks or nothing at all?
It was asterisks, "Is **this** bold?" verbatim from the manifest.
Hi @DaniAsztalos, then it lines up with the schema. name resolves to a plain string, so the asterisks reach Bitbucket as characters and come out as characters. Nothing parses them on the way through.
The bold on the built-ins is the count inside a templated summary line. A custom check supplies that whole line rather than a fragment of one, so there is nowhere for the markup to attach. I would not expect that to change without a new field on the module.