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

A slight but noticeable delay between cards - How to remove bottom-left tooltip? #152

Open
sunrucong opened this issue Sep 22, 2024 · 2 comments

Comments

@sunrucong
Copy link

sunrucong commented Sep 22, 2024

Hey there!
Just started using your add-on and it's great so far! I did notice something that I wanted to bring up though.

I noticed that every time I gain a point through the Habitica add-on there's a bit of a stutter time between cards, which may not be that big of a deal but I find that it kinda disrupts my momentum when I'm flying through cards. Would you happen to know how to remove that delay?

Also, I noticed a small pop-up in the bottom left corner that says "Huzzah! You Scored Points!" whenever I do so, and I was wondering how I could prevent it from popping up? I think it might be called the tooltip? At least I think that's what I've seen it called in other add-ons.

I even think it's related to the delay I mentioned above because whenever I undo and go back through cards, aka when I don't trigger the Point-gaining, both the message doesn't pop up and the transition between cards is faster/back to usual. Edit: wanted to mention that I already checked through the config and disabled all the other visualizations that I thought could affect too but that small message box still persists.

Looking forward to hearing your thoughts, again enjoying the add-on a lot so far so thank you for your contributions!

@sunrucong sunrucong changed the title A slight but noticeable delay between cards A slight but noticeable delay between cards - How to remove bottom-left tooltip? Sep 22, 2024
@yahvk-cuna
Copy link
Collaborator

Thank you for your feedback and for using the AnkiHabitica add-on!

The delay you're experiencing is due to the network communication between the add-on and Habitica. Each time you gain points, the add-on needs to communicate with Habitica to update your score. The pop-up serves as a report to the user about the successful point gain. Without this notification, users wouldn't be aware if the point gain was unsuccessful.

Eliminating the delay is possible, but it would result in a delayed report, and implementing this change is complex. I will look into this when I have more time.

@sunrucong
Copy link
Author

Hi there!

I appreciate the response! You don't have to feel pressured to look into it anytime soon, a lot has already happened since then haha.

I first found a workaround- keeping note of how many points I would have gotten then adding the points manually on the website

Then I realized I wasn't feeling it as much anymore so I don't play Habitica as much now even though it's only been 2 days LOL

But again I thank you for your follow-up and I still wish success and further development for the add-on!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants