Queries about the "Baseline" feature #392
-
We are showing baseline banner on some pages. I've a few queries regarding the feature on MDN website.
// for each doc
function addBaseline(doc: Partial<Doc>): WebFeatureStatus | undefined {
if (doc.browserCompat) {
for (const feature of Object.values<WebFeature>(webFeatures)) {
if (
feature.status &&
feature.compat_features?.some((query) =>
doc.browserCompat?.includes(query)
)
) {
return feature.status;
}
}
}
} We need to ask them for classification and reverse lookup.
... then why don't we infer the status from our already available BCD data? If baselines are being built using BCD itself, then why don't we use BCD directly? I'll solve issues in point 4 and 5. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
After this blog ( |
Beta Was this translation helpful? Give feedback.
-
Thank you for starting the conversation, @OnkarRuikar. Tagging, @Rumyra and @atopal |
Beta Was this translation helpful? Give feedback.
-
Hi @OnkarRuikar thanks for opening the discussion - here are hopefully some insights: For all of the queries it would be good to point out this is a prototype and work in progress, over the next few months we plan to improve the feature and roll it out across the site.
I hope that helps somewhat! |
Beta Was this translation helpful? Give feedback.
Hi @OnkarRuikar thanks for opening the discussion - here are hopefully some insights:
For all of the queries it would be good to point out this is a prototype and work in progress, over the next few months we plan to improve the feature and roll it out across the site.