-
Notifications
You must be signed in to change notification settings - Fork 28
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
Proposal to map focus areas to web-features #930
base: main
Are you sure you want to change the base?
Proposal to map focus areas to web-features #930
Conversation
@foolip I've added you as a contributor to my fork of this repo so you can push commits to my PR branch. |
@@ -0,0 +1,21 @@ | |||
{ | |||
"interop-2025-backdrop-filter": ["backdrop-filter"], | |||
"interop-2025-core-web-vitals": ["largest-contentful-paint"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to add INP to web-features.
@@ -0,0 +1,21 @@ | |||
{ | |||
"interop-2025-backdrop-filter": ["backdrop-filter"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, looks like the same identifiers as here:
https://github.com/web-platform-tests/wpt.fyi/blob/e418d972cd3a352af13aabdf7b7ebe989580d5a5/webapp/static/interop-data.json#L1387-L1405
"interop-2025-textdecoration": ["text-decoration"], | ||
"interop-2025-urlpattern": ["urlpattern"], | ||
"interop-2025-view-transitions": ["view-transitions", "view-transition-class"], | ||
"interop-2025-webassembly": [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are lots of wasm features in web-features, don't any of them match?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably some of them do, I just haven't done the research yet.
Fixes #928.
This is a proposal to map Interop focus areas to web-features IDs.
This is just the start of the PR. @foolip offered to help with the mapping.
Ideally, there could be such a file in each of the folders of the repo.
I've chosen to use wpt tags as keys in the JSON object because:
But:
interop-2023-events
has been reused), which would make it harder for a consumer of this data to know which iteration of interop to link to.One option would be to add another level of nesting to the JSON object like
{ "year": 2025, "focus-areas": {...} }
.Or move the file to be at the root level and structure it like:
{"2022": {...}, "2023": {...}, "2024": {...}, "2025": {...}}
.