Skip to content
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

Baseline component seems to show incorrect Baseline status or BCD is incorrect #10297

Open
3 tasks done
teoli2003 opened this issue Jan 10, 2024 · 1 comment
Open
3 tasks done
Assignees
Labels
idle involves: Content Requires the attention of the Content team.

Comments

@teoli2003
Copy link
Contributor

Summary

Baseline provides information about the status of a feature.

It is displayed on subfeatures too.

This leads to incoherence: a feature can be marked as limited availability on a page where the subfeature is available for a long time. Example: https://developer.mozilla.org/en-US/docs/Web/CSS/:defined

As it is not clear in the banner that the feature and the subfeature are two different things, this leads to confusion to readers (we get report every week of errors)

URL

https://developer.mozilla.org/en-US/docs/Web/CSS/:defined

Reproduction steps

Trivial

Expected behavior

Either the banner should be displayed on the feature only and not the subfeature; or the banner should make it clear it is for the whole feature, to avoid confusion.

Actual behavior

The banner is confusing.

Device

Other (specify below)

Browser

Other (specify below)

Browser version

Other version (specify below)

Operating system

Other (specify below)

Screenshot

No response

Anything else?

No response

Validations

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 10, 2024
@argl argl added involves: Content Requires the attention of the Content team. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jan 31, 2024
@mdn mdn deleted a comment from Grogogoll Feb 7, 2024
@LeoMcA
Copy link
Member

LeoMcA commented Feb 7, 2024

Our current "sticking plaster" fix for this is to add problematic BCD queries to a blocklist, like so:

However, ultimately this is something we need to fix in collaboration with upstream, much discussion about showing per-feature rather than per-group baseline statuses has happened here: web-platform-dx/web-features#495

And publishing code to allow us to do those computations is happening here: web-platform-dx/web-features#544. It may be that we use this code to compute a Baseline banner for the BCD keys shown on each page, or it may be that we use this code to simply hide the group banner if there's a discrepancy - most recent discussion has tended towards the latter.

@LeoMcA LeoMcA self-assigned this Feb 7, 2024
@github-actions github-actions bot added the idle label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle involves: Content Requires the attention of the Content team.
Projects
None yet
Development

No branches or pull requests

3 participants