Open arabello opened 2 years ago
Hey, @arabello I Would like to contribute to this issue.
You can have this too. arabello is not often here, so I can cover him up. Ask me anything you need! We are also in the espanso discord https://discord.gg/DFcCNDg7bB
Hi there! I'm glad you wanna contribute! feel free to ask me anything related to the codebase here or on Discord (please tag me so I can be more responsive).
Enjoy!
@arabello So, on what page / component are we planning to add a share button ?
@anmol-fzr I think the issue was already solved, but it wasn't closed. I am sorry for the misleading. It was an old self-reminder. The current package page has a share button with a pop-up menu to copy the link to the clipboard, see below for an example.
If you are still interested in making a contribution, I think we can improve the feature by removing the pop-menu and directly copy the link to the clipboard. Otherwise, it makes sense to close the issue as-it-is.
Sorry again 🙏
https://github.com/espanso/hub-frontend/assets/16003164/be5507b7-4aa4-4981-a21c-890c8d620c6f
The hub already supports URL-based package sharing, but there is no button to easily copy the URL value. It would make sense to change the current homepage (GitHub repo) button with this functionality, while making the package title a clickable link to its homepage.Additionally, on mobile the button could use the Web Share API.