Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENHANCEMENT] Utilize the discouraged annotation #1040

Open
jcscottiii opened this issue Jan 9, 2025 · 4 comments
Open

[ENHANCEMENT] Utilize the discouraged annotation #1040

jcscottiii opened this issue Jan 9, 2025 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jcscottiii
Copy link
Collaborator

@ddbeck Just released v2.16.0 of Web features which contains the discouraged annotation.

This is the first release with discouraged annotations on features, which is for the deprecated/obsolete/legacy parts of the platform. It's likely that you'll want to hide or otherwise downplay those features on webstatus.dev.

We should determine what we want to do with the useful field. But I don't want to forget so I'm filing this issue for now.

@jcscottiii jcscottiii added enhancement New feature or request question Further information is requested labels Jan 9, 2025
@jcscottiii jcscottiii added good first issue Good for newcomers and removed question Further information is requested labels Mar 4, 2025
@ErwinHofmanRV
Copy link

+1 as I noticed that the UI + API is falling back to "limited", like:

While Baseline's clip.yml is showing a discouraged object:
https://github.com/web-platform-dx/web-features/blob/main/features/clip.yml

@jcscottiii
Copy link
Collaborator Author

Hi @ErwinHofmanRV! Thanks for reaching out. I did some digging into what's going on with clip.

In clip's instance, it is marked as limited as intended due to the calculated values for clip in the web features repository. Those values can be found here: clip.yml.dist

If it should not be limited, you should raise an issue in the web feature's repository.

But I agree that showing discouraged information would help give a better picture as to why it is the current baseline status from web features.

@ErwinHofmanRV
Copy link

ErwinHofmanRV commented Mar 14, 2025

"falling back to" wasn't the best wording on my end. It actually just seems to be by design to set baseline.status to false when there's a discouraged flag.

But we're on the same page regarding showing some discouraged information in the UI + API (especially as component might otherwise show "Limited", even when it's supported by all browsers, but just nowadays discouraged) :)

@paulirish
Copy link
Member

https://webstatus.dev/features/document-write Yeah these features should NOT be presented as Limited Availability and it really affects perceptions of the dataset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

3 participants