feat(baseline): include data for discouraged features#311
Draft
feat(baseline): include data for discouraged features#311
Conversation
Contributor
|
a593f82 was deployed to: https://rari-pr311.review.mdn.allizom.net/ |
caugner
reviewed
Jan 19, 2026
|
|
||
| static FEATURE_MDN_URLS: LazyLock<IndexMap<&'static str, &'static str>> = LazyLock::new(|| { | ||
| [ | ||
| ("async-clipboard", "/docs/Web/API/Clipboard_API"), |
Contributor
There was a problem hiding this comment.
Would be nice if web-features could add an mdn field: https://github.com/web-platform-dx/web-features/blob/96d7e3c4e91500cf84f31cbab590f539566980ae/features/async-clipboard.yml#L1-L5
Member
Author
There was a problem hiding this comment.
We've been talking about how best to maintain the web-feature <--> mdn mapping: once we've decided (and implemented) that, I'm sure we'll be able to add an mdn field to web-features.
Perhaps for these "features pointed at by discouraged features" it makes sense to add them manually in the web-features repo though
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opening as draft so this isn't merged without the corresponding fred change: nothing should break if we merge it before, but according to my local diff we'll have 4 baseline high banners appear where we'd want a discouraged banner instead.
Relates to: mdn/fred#654
Allows data for discouraged features to be included in our index.jsons, while maintaining the same asterisk logic as before: a discouraged feature is treated as having no baseline status. Without the asterisk logic change, the font page loses its asterisk.