whatwg / sg

A place to raise issues with the WHATWG Steering Group
https://whatwg.org/policies
Other
64 stars 39 forks source link

New standard: URLPattern #215

Closed sisidovski closed 10 months ago

sisidovski commented 1 year ago

Based on the discussion at the TPAC 2023 and follow ups, we’ll propose standardizing URLPattern API.

URLPattern is the API providing a web platform primitive for matching URLs. The pattern syntax is adopted from the popular path-to-regexp javascript library and is more ergonomic than using regular expressions.

@jeremyroman and @sisidovski will edit the spec, who took over the work from @wanderview.

Some questions to the sg:

For the short name, I feel just using “urlpattern” is fine. We suggest using a "*" in a circle as the icon.

cwilso commented 1 year ago

@annevk and @tantek have approved of this, as well as myself.

annevk commented 1 year ago

https://github.com/whatwg/meta/blob/main/NEW-STANDARD.md has a checklist to go over. 2 might be an item you'd be willing to cover @sisidovski? I think @domenic was willing to help with the remainder. I'd be happy to review.

To transfer the repository it might make the most sense to move it to @domenic and then he can move it further. From experience GitHub will handle the redirects across.

cwilso commented 1 year ago

I was talking with @foolip about this. Unfortunately, the github.com references will redirect, but the github.io hosting won't.

jyasskin commented 1 year ago

We can make the github.io hosting redirect too, by imitating https://github.com/WICG/wicg.github.io/blob/main/picture-in-picture/index.html.

sisidovski commented 1 year ago

Thank you all!

https://github.com/whatwg/meta/blob/main/NEW-STANDARD.md has a checklist to go over. 2 might be an item you'd be willing to cover @sisidovski? I think @domenic was willing to help with the remainder. I'd be happy to review.

Yes. Now I'm working on the logo work. Should I also work on 4?

domenic commented 1 year ago

A pull request for 4 would be appreciated, but there is no urgency since we will not want to merge it until we have also completed 1.

One field that might be especially mysterious is review_draft_schedule. That is two months of the year review drafts are generated. It looks like we are load balancing between (1, 7), (2, 8), and (3, 9), so pick whichever of those has the fewest specs currently.

annevk commented 1 year ago

(3, 9) is the one we want so it would join "WHATWG RDs (4)" (for those on the Review Draft calendar invite).

The next standard we add will require a new calendar entry if we stick to publishing about 5 a month. (There's also (6, 12), so we're up to 20 standards including this one.)

annevk commented 1 year ago

Just wanted to note that the SG discussed this briefly yesterday and from the SG's perspective all is in order here. Technically this is a Workstream editor decision, but the SG appreciates the heads up as it also involves changes to db.json and derivative documents the SG is responsible for.

domenic commented 1 year ago

I've made some progress on the checklist:

The next step will be transferring the repository and running spec-factory. I will work on that next week.

annevk commented 10 months ago

Let's close this. Thanks everyone for getting this done!