Giter VIP home page Giter VIP logo

rescuetimebar's People

Contributors

kingofspades avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rescuetimebar's Issues

Bar seems off

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 = "●●●"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.