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

Proposal to map focus areas to web-features #930

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

captainbrosset
Copy link
Contributor

@captainbrosset captainbrosset commented Feb 20, 2025

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:

  • They're unique.
  • They can be used to create URLs that point both to wpt.fyi/results and to wpt.fyi/interop2025 for a filter view of the chart

But:

  • They're not unique across interop years (for example, 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": {...}}.

@captainbrosset
Copy link
Contributor Author

@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"],
Copy link
Member

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"],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"interop-2025-textdecoration": ["text-decoration"],
"interop-2025-urlpattern": ["urlpattern"],
"interop-2025-view-transitions": ["view-transitions", "view-transition-class"],
"interop-2025-webassembly": [],
Copy link
Member

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?

Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Map interop focus areas to web-feature IDs
2 participants