Open mishmish-dev opened 2 weeks ago
@elamperti Regarding item 2, I could try to re-use the catch-paste alert, but how to test alerts locally?
The alerts use a context, so you can dispatch messages easily. I think that, for this feature, perhaps it would be more appropriate to show a spinner within the input (when loading) and create a "shake" animation if there's a failure (or some other indicator around this field).
Hmm, when I run OpenScrobbler locally, the catch-paste thing doesn't work.
Anyway, I would be glad if you add this animation. I am really not a frontend guy.
Sure! I'll look into it.
To catch pasted text, you should have the corresponding option enabled (from the settings modal)
Hi @elamperti I implemented shakey animation for album auto-fill failure, as well as highlighting the input field with cyan/red on success/fail
Awesome! I'm a bit backed up with a few other upcoming changes but I'll review and merge as soon as possible. Thanks for your work and patience! 😁
Resolved conflict with the main branch in previous commit
The feature uses last.fm API trackGetInfo to retrieve an album name based on track + artist.
To complete this, I'd ask for help with a couple of things: 1) Translation, I added two new tooltips; 2) Creating some animation telling user of success/failure of the operation.
Things to consider: rate-limit last.fm API calls? Delegate to backend?