-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Treat BCD ranges as exact versions, hiding "≤" annotation #3238
Comments
I want to give my +1 to this idea. I've been mulling this over a while and I think this is a reasonable way to put an end to the confusion around Right now, if a reader knows the real, non-ranged value for an ≤ entry, then they need to a) correctly decipher the meaning of ≤ (which we know is a challenge), b) know that we want to record that real value, and c) actually report an issue or open a PR. If we simply report a somewhat wrong value, I think we're much more likely to provoke actionable issues against BCD. The reader only needs to know that the number is off and to report the issue. |
I agree so much that I opened #3494 |
Late to the party, but perhaps another alternative would have been to use an alternative rendering. For example, render "≤37" as I guess it doesn't matter now that the data is getting very close to "fully accurate". I'm only commenting because I saw mdn/content#10899 |
mdn/browser-compat-data#9350 is an example of the display of these entries being confusing, with ≤79 being interpreted as "supported in 79 and earlier", instead of the intended "support in 79 and later, support before 79 unknown".
All allowed versions are here:
https://github.com/mdn/browser-compat-data/blob/fdf38f58f9e660034de914ccb82d34cfd82d91a8/test/linter/test-versions.js#L17-L26
As of BCD 3.2.0, the number of entries for each are:
npm run traverse edge all ≤18
→ 375npm run traverse edge all ≤79
→ 862npm run traverse ie all ≤6
→ 34npm run traverse opera all ≤12.1
→ 1191npm run traverse opera all ≤15
→ 11npm run traverse opera_android all ≤12.1
→ 1188npm run traverse opera_android all ≤14
→ 15npm run traverse safari all ≤4
→ 35npm run traverse safari_ios all ≤3
→ 42npm run traverse webview_android all ≤37
→ 1629The most recent of these is Edge 79, released on 2020-01-15, followed by Edge 18 on 2018-10-02. Most are much older, however, for example Opera 12.1 was released on 2012-11-20.
These ranges are very helpful for improving the accuracy of BCD step-by-step without requiring digging into the ancient history of every feature. However, my hunch is that it would be a net positive for MDN readers if this uncertainty is simply hidden.
The text was updated successfully, but these errors were encountered: