yari icon indicating copy to clipboard operation
yari copied to clipboard

BCD: render pre-stable (beta, nightly, planned) releases as blue (not green)

Open foolip opened this issue 4 years ago • 2 comments

In https://github.com/mdn/yari/pull/3997, @Elchi3 is adding support for the special version "preview" in BCD, rendering it in blue ($primary-500) instead of the usual green. Beta is also pre-stable and can't be depended on yet, and I think it would make sense to render that as blue as well.

I'm raising this now because https://github.com/mdn/browser-compat-data/pull/10898 adds a large amount of data for Safari 15 beta, 147 entries it looks like. There's also a fair bit of Firefox beta data (23 entries right now: npm run traverse firefox all 89) and occasionally some for Chrome (1 right now).

Discussed briefly with @Elchi3 on the Matrix chat.

cc @apple-web-evangelist @jensimmons

foolip avatar Jun 10 '21 14:06 foolip

For the record, this had consensus in the BCD call on Wednesday.

Elchi3 avatar Jun 18 '21 08:06 Elchi3

This was already implemented at some point. https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer#browser_compatibility is a current example showing that it works.

foolip avatar Jul 19 '22 10:07 foolip

Fixed via https://github.com/mdn/yari/pull/5532.

caugner avatar Nov 15 '22 21:11 caugner