question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use deprecation flag from BCD

See original GitHub issue

Currently MDN has a separate deprecation tag and the header. Could it use the deprecated flag from BCD and autogenerate such header, so that there won’t be two separate source of truth?

(BTW, is the Deprecated tag still a thing in Yari? I don’t see it rendered anywhere, except the header.)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
ddbeckcommented, Nov 5, 2021

@schalkneethling There’s a bit to unpack here. This discussion captures some of the issues involved: https://github.com/mdn/content/discussions/5549. That said, the underlying idea—drive this stuff from BCD—is a good idea. But there’s two distinct tasks that would come from this:

  • Generate usage (“traffic light”) banners based on support and statuses (standard track, experimental, and deprecated). This would be a bit of a content/design/engineering effort.
  • Remove existing macros and tags. A content effort, after the previous step.

Not sure if we should open separate issues, hijack this one, or what. Also related: https://github.com/mdn/yari/issues/1400#issuecomment-961880928

0reactions
caugnercommented, Nov 15, 2022

Closing in favor of duplicate https://github.com/mdn/yari/issues/3929.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Merge MDN deprecation notes into BCD? · Issue #6975 · mdn ...
The actual deprecation flag seems like a significant qualifier to the actual compat data we have. A deprecated feature might have cross-browser support,...
Read more >
Experimental, deprecated, and obsolete - MDN Web Docs
For more information on the definition of deprecated, see the deprecated flag BCD documentation.
Read more >
Use deprecation flag through platform - Esri Community
Currently the deprecation item flag is mostly useless. It can be a deterrent from new users picking a service but there is no...
Read more >
Feature Flags and Code Deprecation - SAP
Code deprecation allows you to properly mark obsolete code, and by warning users, it helps them in transitioning to better alternatives.
Read more >
Solved Question 3 Not yet answered Marked out of 2.00 The ...
Question: Question 3 Not yet answered Marked out of 2.00 The BCD Company had the following income statement on 31.12.2020 Deprecation 10000 Net...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found