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

Add infobox menu #4494

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

yayuyokitano
Copy link
Member

@yayuyokitano yayuyokitano commented Feb 6, 2024

Draft PR: currently functional, but needs some refactoring and UI needs some cleanup visually.

Adds a menu to infobox, and makes some changes to connector API to reflect this.
This allows user to edit track, skip track, enable/disable connector, and disable the infobox itself on the website as they're scrobbling.
Especially convenient on mobile.

Since we are injecting straight into website, we do not use any framework, html, or css here, just pure typescript.
Editing is done through just creating an iframe to extension popup (regular popup cannot be programmatically opened in chromium, so this is a workaround).

Moves all the infobox logic out to src/ui/inject/infobox.ts

Closes #4432

@yayuyokitano yayuyokitano added new-feature For PRs that add new functionality minor-change For minor changes labels Feb 6, 2024
@yayuyokitano yayuyokitano marked this pull request as ready for review February 11, 2024 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor-change For minor changes new-feature For PRs that add new functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Infobox menu
1 participant