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

Bar seems off #1

Open
zendude213 opened this issue Oct 17, 2020 · 1 comment
Open

Bar seems off #1

zendude213 opened this issue Oct 17, 2020 · 1 comment

Comments

@zendude213
Copy link

Hi there.. First off, thanks for building this. I've been looking for a way to get a quick glance on my Rescuetime productivity score and i've always thought it bizzare why they couldn't just make a functional menu bar icon that shows your score. Anyway, I managed to install your app but it looks as if the menu bar isn't working.. I installed it about 30 mintues ago and although my score right now is 70 (which is the const goal), only two circles are fully filled in and the last one only half filled-in. Looking at your code (see below, it should be 2 circles full.. Could it be because I just installed this and I need to wait for the tool to gather more data fully? Hope your open to helping me troubleshoot. Thanks in advance

if(score < calcTarget(goal, 15)) { bar = "○○○"} else if (score <= calcTarget(goal, 30)) { bar = "◐○○"} else if (score <= calcTarget(goal, 45)) { bar = "●○○"} else if (score <= calcTarget(goal, 60)) { bar = "●◐○"} else if (score <= calcTarget(goal, 75)) { bar = "●●○"} else if (score <= calcTarget(goal, 90)) { bar = "●●◐"} else if (score >= calcTarget(goal, 90)) { bar = "●●●"}

@KingOfSpades
Copy link
Owner

Hey! Glad to hear someone else is getting use out of it. I made a small change in the way that the working hours filter is selected. I set it to not filter by working hours now (I think this might be the cause of the problem you're having).

Could you download the new version and let me know if the bar still act's up?

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