Open AndrewLeedham opened 2 years ago
Seconded. I'm also seeing the same and
syntax behavior (or lack thereof, rather).
Comma-delimited browserslist doesn't seem supported either.
Passing in:
last 2 Chrome versions, last 2 Safari versions
shows alert:
Browser query not recognized: "last 2 Chrome versions, last 2 Safari versions"
Also would like a way to just paste the browserslist instead of a huge checkbox list. I would even go as far as having a button on the landing page. I think most website codebases have a browerslist file so it would be really convenient for people to know they can just paste it in.
Missing relative time ("last 2 years" instead of "since 2022") is the main pain point for us. Any info if this is something feasible or if help is needed @Fyrd ?
Perhaps a way around that would be to actually utilize browserslist and make the UI editor a front of that? (Then even if UI doesn't support a particular query, it can just fallback to a textarea).
From what I can tell the
Settings -> Browserset -> Add new set -> Import
only supports a subset of browserslist queries, for example it does not supportAND
. I am wanting to do something like> 1% in US AND last 2 major versions
. Is this something that could be supported, seems to me the subset is to support the wysiwyg interface with checkboxes etc, perhaps there can be an "advanced" just use this browserslist query option that ignores the interface and uses browserslist directly?