yari icon indicating copy to clipboard operation
yari copied to clipboard

Show release dates in BCD table

Open newclaus opened this issue 3 years ago • 3 comments

What is the new suggestion?

Show constantly a feature release date in Browser Compatibility table instead of/along with browser version

Why is it important or useful?

Browser versions are often increased these days, so we decide to use a feature based on its release date, not the browser version. In this case, seeing the actual release date would be more usefull and more commonly used than uninformative number of some browser version. We can currently see the release date in the tooltip by hovering over the browser version, but we have to do this for every cell in the grid.

newclaus avatar Dec 29 '21 05:12 newclaus

The feature request is about permanently showing the release date in the BCD table, rather than just showing it on demand as a tooltip:

image

I doubt that there is enough space to show the release date, but I agree that it would be valuable to see how recent a feature has been supported. Maybe this could be shown as a summary, e.g.:

dialog - Full support in all browsers since 2022-03-08 (6 months ago).

@queengooborg What do you think about this?

caugner avatar Sep 15 '22 17:09 caugner

I had an idea a while back about adding a sparkle pattern to the cells of newer features to represent they were just introduced, and have that pattern slowly fade over time. I think that having the date shown somewhere other than tooltips would be helpful, especially for mobile users. Perhaps we could put it in the details pane?

(Also, just a note, we won't be able to always show dates in the case of future or beta/nightly releases.)

queengooborg avatar Sep 15 '22 18:09 queengooborg

What if you allow user to select a date (or an interval, 6 months for example) on UI from which all implemented features considered as not implemented? A feature can be implemented but it will be displayed as not supported because it was implemented after the selected date

newclaus avatar Oct 04 '22 04:10 newclaus

I had an idea a while back about adding a sparkle pattern to the cells of newer features to represent they were just introduced, and have that pattern slowly fade over time.

@queengooborg I like that idea, and maybe we could use the same dot that we use for notifications in MDN Plus:

image

https://github.com/mdn/yari/blob/13890752c2de8998357ff6fbe0dcde748d06f89e/client/src/ui/molecules/user-menu/index.scss#L10-L20

caugner avatar Oct 25 '22 15:10 caugner

I'm not quite confident a dot would be a good element, as such a dot implies "unread" rather than "brand new". If it were me, I would be confused as to why the dot wouldn't vanish once I've clicked the table cell to display and read the contents.

queengooborg avatar Oct 25 '22 16:10 queengooborg

Our designer took a look at this today, and to make a long story short: The current design of the BCD table doesn't really allow us to highlight recent releases directly, but as a compromise we can show release dates for recent releases (e.g. < 3 months old) in the expanded row:

image

caugner avatar Oct 26 '22 18:10 caugner