jgoz opened a new pull request #11357:
URL: https://github.com/apache/druid/pull/11357


   ### Description
   
   There are some ES6 features, such as `Proxy`, that would make sense to use 
in various parts of the web console. Unfortunately, many of these cannot be 
polyfilled and therefore cannot be used in older browsers like IE11.
   
   Since IE11 will be officially retired in about 1 year and its rendering 
engine still exists inside of the new Edge for those who need it, there is no 
compelling reason to continue supporting it in the web console. Dropping IE and 
other browsers that lack ES6 support will both slim down the JS payload and 
allow us to use new ES features that have ostensibly been available for a few 
years in the majority of browsers.
   
   <hr>
   
   ##### Key changes
    * Consolidate and update `browserslist` declaration to include only those 
browsers that support ES6
    * Update TypeScript compilation target to `es2016`
    * Add a banner to `unified-console.html` if an unsupported browser is 
detected (using existence of `Proxy` as a rough indicator of support)
   
   <hr>
   
   <!-- Check the items by putting "x" in the brackets for the done things. Not 
all of these items apply to every PR. Remove the items which are not done or 
not relevant to the PR. None of the items from the checklist below are strictly 
necessary, but it would be very helpful if you at least self-review the PR. -->
   
   This PR has:
   - [x] been self-reviewed.
   - [x] been tested in a test Druid cluster.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to