implement "web-share" on mobile devices instead of copying the event-type
this button:
should open the android or iOS "web share" bottom panel:
we can use: https://web.dev/web-share/
if (navigator.share) {
navigator.share({
title: 'web.dev',
text: 'Check out web.dev.',
url: 'https://web.dev/',
})
.then(() => console.log('Successful share'))
.catch((error) => console.log('Error sharing', error));
}
Hi @PeerRich I want to work on this issue can you assign me?
Hi @PeerRich I want to work on this issue can you assign me?
assigned! make sure it only opens in web-share on mobile and falls back to copying if web-share is not supported.
we could also change the string to "Share" when using web-share and "Copy link to event" when copying
assigned you @Jenietoc
Hey @PeerRich how are you? do you think this is a good solution? (I know I have to internalize the strings used).

Hey @PeerRich how are you? do you think this is a good solution? (I know I have to internalize the strings used).
yes looks good! only missing is wrapping hard coded strings in {t("key")} and add them to public/static/locales/en/common.json
just keep in mind we switched to turbo repo yesterday so the folder structure has changed. make sure to git merge main and adjust the file structure when opening a PR