TryGhost / Ghost

Independent technology for modern publishing, memberships, subscriptions and newsletters.
https://ghost.org
MIT License
47.32k stars 10.34k forks source link

Ghost Admin does not work in browser with full ES6 support #11686

Closed bil-ash closed 4 years ago

bil-ash commented 4 years ago

Issue Summary

Since Ghost-Admin has issue creation disabled so I am opening the issue here.

Ghost-Admin targets only last two versions of browsers . So async functions(an ES7 feature) are not transpiled(to ES6) and thus it leads to the admin not working on Firefox 50 which has full ES6 support but no ES7 support. I agree that there is no need to support IE11 but I believe ghost admin client should support the browsers for at least 5 years (browserlist config last 5 years ). This config would automatically remove support for older browsers every year.

To Reproduce

  1. Open ghost admin on any browser which does not support async functions (data can be obtained from MDN)
  2. The admin does not load and only the spinner is displayed. Now open browser console, check the error message related to ghost.min.js, find the line number& offset corresponding to the error and you will notice that the error is because browser does not understand the async keyword.

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?

I expect the admin client to open in a 3 years 9 month old browser.

Technical details:

kevinansfield commented 4 years ago

For the last few years Ghost's admin area has only supported the latest few versions of evergreen browsers and we have no plans to change that. If you wish to use Ghost please upgrade to a modern browser.

label-actions[bot] commented 4 years ago

Hey @bil-ash :wave: Friendly reminder: we don't track feature requests on GitHub.

Please look for similar ideas to vote for on the forum and if you can't anything similar then post your own idea.

FYI: Many projects have their own support guidelines and GitHub will highlight them for you as it did here, or the project owners will use issue templates to point you in the right direction. Reading the guidelines or issue templates before opening issues can save you and project maintainers valuable time.

bil-ash commented 4 years ago

I generally use Ghost Admin from Edge where it works fine. Just yesterday, I came to across this thing and thought that it is a bug(which isn't since you have no plans to support older browsers). But I would like to still ask you to support the last 10 versions(~1 year) of browsers like chrome and firefox which have a fast release cycle.