mdn / yari

The platform code behind MDN Web Docs
Mozilla Public License 2.0
1.17k stars 488 forks source link

From the Browser compatibility tables, link to the actual JSON data in BCD #6596

Open Schweinepriester opened 2 years ago

Schweinepriester commented 2 years ago

MDN URL

Example: https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-east-asian#browser_compatibility

What specific section or headline is this issue about?

Browser compatibility

What information was incorrect, unhelpful, or incomplete?

There is no direct link from the Browser compatibility table to the actual JSON being used.

What did you expect to see?

A link, it must not be very present (e.g. in the "Found a problem with this page?" an additional link "Data source on GitHub"), to the actual data.

Caniuse does it perfectly including for BCD, e.g. https://caniuse.com/mdn-http_status_103: image

Do you have any supporting links, references, or citations?

For https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-east-asian#browser_compatibility it ends up being https://github.com/mdn/browser-compat-data/blob/main/css/properties/font-variant-east-asian.json but to get there is a pain (hopping repos, clicking a bunch or searching for the prop) instead of one click.

Do you have anything more you want to share?

I strongly assume I'm not the first one to suggest this, but I tried to find prior issues and failed. Apologies if it is a duplicate, please link me to the proper one.

teoli2003 commented 2 years ago

This would be nice. @schalkneethling Can you transfer this to mdn/yari? (I can't)