yari icon indicating copy to clipboard operation
yari copied to clipboard

enhance(macros/APIRef): show badges on all links

Open caugner opened this issue 2 years ago • 0 comments

Summary

Fixes https://github.com/mdn/yari/issues/9430.

Problem

The APIRef macros was showing badges (e.g. deprecated) only on some links.

Solution

Add badges to the remaining links.


Screenshots

Before After
image image
image image

How did you test this change?

Ran yarn && yarn dev and opened http://localhost:3000/en-US/docs/Web/API/DOMException and http://localhost:3000/en-US/docs/Web/API/DOMError locally.

caugner avatar Oct 02 '23 14:10 caugner