You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Make the not installable section on mobile devices clickable to open the native share dialog.
Motivation
Make the home site more interactive, make it easier for user on mobile devices to install Atom, spread Atom
Describe alternatives you've considered
It’s just a tiny feature…
Full Text 😅
When browsing atom.io on mobile devices, the download button is hidden and there’s a section saying […] Check back on your desktop computing device to download a copy which is ok but also kind of “rejecting” the user...
I thought it might give users more interaction with the site if they could just click on that paragraph and thereby open a native share menu to send it to their computer. web.dev has a pretty good article on how to do that:
if(navigator.share){navigator.share({title: 'Atom',text: 'A hackable text editor for the 21st Century',url: 'https://atom.io/',}).then(()=>console.log('Successful share')).catch((error)=>console.log('Error sharing',error));}
Additional context
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Summary
Make the not installable section on mobile devices clickable to open the native share dialog.
Motivation
Make the home site more interactive, make it easier for user on mobile devices to install Atom, spread Atom
Describe alternatives you've considered
It’s just a tiny feature…
Full Text 😅
When browsing atom.io on mobile devices, the download button is hidden and there’s a section saying […] Check back on your desktop computing device to download a copy which is ok but also kind of “rejecting” the user...
I thought it might give users more interaction with the site if they could just click on that paragraph and thereby open a native share menu to send it to their computer. web.dev has a pretty good article on how to do that:
Additional context
The text was updated successfully, but these errors were encountered: