Skip to content
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

Implement Thumbars to add quick-skip/go-back buttons #88

Open
Pyseph opened this issue Nov 10, 2023 · 0 comments
Open

Implement Thumbars to add quick-skip/go-back buttons #88

Pyseph opened this issue Nov 10, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request In development

Comments

@Pyseph
Copy link

Pyseph commented Nov 10, 2023

Is your feature request related to a problem? Please describe.
The app is missing some functionality that works as great UX in Spotify's app, and is one that I frequently find myself using. When hovering over an app, three buttons are displayed on Spotify (image not mine):
image
They are "go back", "play/pause", and "skip" respectively. These buttons allow for much faster alternating between playing songs, without having to open the app and press the buttons from there.

Describe the solution you'd like
As this project is built with Electron, the ThumbarButton objects can be used to swiftly implement this.
https://www.electronjs.org/docs/latest/api/structures/thumbar-button
I do not have any experience with Electron nor TypeScript, though a quick skimming through the API landed me on the following method that I believe is most relevant:
https://www.electronjs.org/docs/latest/api/browser-window#winsetthumbarbuttonsbuttons-windows

Describe alternatives you've considered
No other alternatives have been considered as I believe this is the only way of implementing the aforementioned buttons with Electron's API.

@Venipa Venipa self-assigned this Nov 12, 2023
@Venipa Venipa added the enhancement New feature or request label Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request In development
Projects
None yet
Development

No branches or pull requests

2 participants