opensearch-project / oui

OpenSearch UI Framework
Apache License 2.0
33 stars 69 forks source link

Match `.browserlist` with OpenSearch Dashboards #1023

Open gulderov opened 1 year ago

gulderov commented 1 year ago

.browserlist could be merged with OpenSearch Dashboards version

Please check opensearch-project/OpenSearch-Dashboards#4649 for motivation and description

ShatilKhan commented 11 months ago

Hey @gulderov , @BSFishy I may be able to work on this, can you provide some additional info / steps on how to achieve this?

BSFishy commented 11 months ago

I may be able to work on this, can you provide some additional info / steps on how to achieve this?

Essentially, the browserslist is a list of browsers we want to support. It is mainly phrases like "last 2 versions of [browser name]" or "not [browser name]", which allows us to get an up to date matrix of browsers we support at any given time. Our build system then uses this browser matrix and a list of features each one supports to inject "polyfills", or implementations of new features for old targets.

More documentation on browserslists can be found on their Github repo: https://github.com/browserslist/browserslist#browserslist-

Essentially, this task is to just make OUI's browserslist match OSD's, which was updated here: https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4649

Simply make OUI's browserslist match OSD's production list.

ShatilKhan commented 11 months ago

Thank you so much for the guidance @BSFishy ! I've raised my PR