Coder Social home page Coder Social logo

Comments (5)

shawaj avatar shawaj commented on August 29, 2024

this is the device in freshdesk ticket #244346

from hm-diag.

ryanteck avatar ryanteck commented on August 29, 2024

I don't really see the issue, it stays at 1 if it is unable to request it from the Helium API.

Some value needs to be there, when it was 0 it caused errors due to dividing by zero to get the percentage.

I can add a cap to the percentage maybe. But otherwise it's working as intended.

from hm-diag.

shawaj avatar shawaj commented on August 29, 2024

IMO it would be better to have it say something like an error message instead of 1. Something like "Waiting for block from Helium" or similar so that it is obvious.

And to just show a similar error message in the percentage.

Otherwise it just looks like a bug to someone that doesn't know

from hm-diag.

ryanteck avatar ryanteck commented on August 29, 2024

Possibly could do similar to what I've just suggested in #50 which is that if it detects it is 1 then it'll display a message like that.

from hm-diag.

ryanteck avatar ryanteck commented on August 29, 2024

I've added a test in so if it is < 1% (Either just setup or powered on) that it will show as miner is still loading.

The same for if the percentage is > 100%

Screenshot from 2021-06-09 11-50-40

from hm-diag.

Related Issues (20)

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.