-
-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the landing page #211
Comments
@lwouis If I fork the repository, create a landing page using GitHub Pages, and then merge my fork back, does the site created get merged back in? The way to create the site (through the repo settings) makes me suspicious that might not be the case. I can work on this, but will probably need some guidance from you. Can we discuss in chat of some sort? |
Hi @ezity! Could you please join our discord? |
Also, we might be distant timezones, so live communication might be difficult. I checked out Github Pages today, and documentation is lacking and unclear on how the whole system works. That being said, it seems safe to be merged from a fork, since this process involves a folder in the repo, either at the root or in the |
I released the new website today. I'm keeping this ticket open, as there are a lot of "nice to have" things we can do now that the bulk of the work is done. See the list in the OP for details. |
I've thought about adding code on the landing page to detect if the macOS version of the browser downloading the app is within the compatible range, or to check if it's an Apple Silicon mac: <script>
function checkCompatibility(event) {
const version = navigator.appVersion.match(/OS X (\d+)_(\d+)/)
const majorVersion = Number(version[1])
const minorVersion = Number(version[2])
if (majorVersion > 10 || (majorVersion === 10 && minorVersion < 12 || minorVersion > 15)) {
if (!confirm('AltTab is compatible with macOS 10.12 to 10.15. It may still work on a different version, but with some bugs. Are you sure you want to download?')) {
event.preventDefault()
}
}
if (majorVersion > 10 || (majorVersion === 10 && minorVersion >= 15)) {
const context = document.createElement('canvas').getContext('webgl')
const extension = context.getExtension('WEBGL_debug_renderer_info')
const parameter = extension && context.getParameter(extension.UNMASKED_RENDERER_WEBGL) || ''
const isAppleSilicon = parameter.match(/Apple/) && !parameter.match(/Apple GPU/)
if (isAppleSilicon) {
if (!confirm('AltTab is not natively supporting Apple Silicon. You can still run it under emulation and it should run fine. Are you sure you want to download?')) {
event.preventDefault()
}
}
}
}
</script> However, after thinking it twice, the whole concept of compatibility turned out to be blurrier than I had first though. supported OS versions have many bugs (see open tickets). What what makes them supported compared to Big Sur where the app still runs but has a few unique bugs? Nothing really. Before 10.12, the app can't work. That one is simple. After 10.12 included, any number of bugs can exist. I think a better wording would be to say that the app has been shown to mostly work on 10.12-15, and now on 11.0. Anything beyond that is uncharted territory, to be updated after each release. |
I think it's good enough today. Closing this ticket. Possible enhancements left:
|
The readme hasn't been reviewed in a while. Its
Configuration
section for example is outdated and wrong.This ticket could also include making a real landing page for the project, using Github Pages or others. This page could improve the experience by:
Other general guidelines:
On the process itself:
The text was updated successfully, but these errors were encountered: