Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use BCD to generate status banners at top of pages #6263

Open
queengooborg opened this issue May 13, 2022 · 2 comments
Open

Use BCD to generate status banners at top of pages #6263

queengooborg opened this issue May 13, 2022 · 2 comments
Labels
browser-compat issues related to the browser compatibility data tables (BCD) 🌱 feature-request new feature request or enhancements to existing features 🐌 idle Issues and PRs without recent activity. Flagged for maintainer follow-up. idle p2 We want to address this but may have other higher priority items.

Comments

@queengooborg
Copy link
Collaborator

At the top of some pages, we have macros to indicate whether a feature is experimental, non-standard, or deprecated. However, we should probably obtain this data from BCD. We could introduce a {{FeatureStatus}} macro or something along those lines, which takes a BCD path from either browser-compat or the first argument, and generates the different banners as needed.

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label May 13, 2022
@teoli2003
Copy link
Contributor

I don't know if we need a macro to generate or if it can be directly be added at the top of the article, but the idea to get rid of header macros when with have a browser-compat key in the Yaml header is definitively a good one. Without removing all uses of these {{*_header}}, it will lower drastically its use already, and most important it will improve the coherence of the displayed data for the web developers that read us.

cc/ @schalkneethling who is leading some discussions around these things.

@caugner caugner added 🌱 feature-request new feature request or enhancements to existing features browser-compat issues related to the browser compatibility data tables (BCD) labels May 13, 2022
@wbamberg
Copy link
Collaborator

See also openwebdocs/project#81.

@caugner caugner added p2 We want to address this but may have other higher priority items. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Sep 12, 2022
@github-actions github-actions bot added the 🐌 idle Issues and PRs without recent activity. Flagged for maintainer follow-up. label Nov 15, 2022
@github-actions github-actions bot added the idle label Dec 21, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
browser-compat issues related to the browser compatibility data tables (BCD) 🌱 feature-request new feature request or enhancements to existing features 🐌 idle Issues and PRs without recent activity. Flagged for maintainer follow-up. idle p2 We want to address this but may have other higher priority items.
Projects
None yet
Development

No branches or pull requests

4 participants