Coder Social home page Coder Social logo

Issues with frontend about followifier HOT 5 CLOSED

simonasaitta avatar simonasaitta commented on June 1, 2024
Issues with frontend

from followifier.

Comments (5)

marcomicera avatar marcomicera commented on June 1, 2024
  • The chart dimensions are based on the boards and not the device room. In this example the room is bigger then the rectangle created by the boards.

Agreed. But we might keep this behavior to debug erroneous device locations.

from followifier.

marcomicera avatar marcomicera commented on June 1, 2024
  • Almost none of the devices were displayed in the chart

I found out the reason why... localhost:8000/api/devices returns this:

[{"_id":"00:f6:20:48:a9:f8","x":[282,249],"y":[195,216]},{"_id":"48:d2:24:82:14:6b","x":[275.5,267,230.5,201.5,221,237.5],"y":[214.5,210.5,213,211,213.5]},{"_id":"cc:61:e5:13:1a:d1","x":[56.5,43,146.5,51.5,155.5,68,143.25,45,146,37,63,12.5,120.5,124.25,104.25,33.5,218.5,67.5,72,41.5,31,48,135.25,54,150.25,129,116,59,56],"y":[263.25,282,242.75,260.75,225.5,263.5,223,226.5,244.25,235,223.5,224,220.5,217.5,222,222.5,238.25]}]

Devices' locations get appended.

from followifier.

marcomicera avatar marcomicera commented on June 1, 2024

6a420c2 solves the aforementioned displaying problem. All discovered devices are now displayed in the chart.

from followifier.

marcomicera avatar marcomicera commented on June 1, 2024
  • Requests to the db are made too often (seems every 1 second) which is visible in the second chart

Better explained in #84.

from followifier.

marcomicera avatar marcomicera commented on June 1, 2024
  • The chart dimensions are based on the boards and not the device room. In this example the room is bigger then the rectangle created by the boards.

I just created #85 so we can keep track of these different bugs in different issues, especially because we should take care of this later. Closing.

from followifier.

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.