Giter Club home page Giter Club logo

factorio-power-monitor's People

Contributors

jonasjurczok avatar

Stargazers

 avatar

Watchers

 avatar  avatar

factorio-power-monitor's Issues

First tests

Print the current energy level for a selected entitiy.

Check:

  • What content is in the energy attribute?
  • How does this change over time?
  • Is it possible to calculate a theoretical maximum?
  • How often should the value be updated?

Delete monitor

It should be possible to remove a monitor for a network without deconstructing the entity.

Code cleanup

The whole code is a huge mess.
It needs to be separated and cleaned.

Add Icon to monitor?

To make it easier to see what is monitored add the icon of the entity to the static info frame.

Problem: it is apparently impossible to get the icon. Neither the prototype nor the "items who build this" item has an icon.

Add Network

There should be a small UI in the top right corner.

It contains an add button (+).

Clicking it checks if there is an entity selected.
If yes it asks for a name for this network.
If name is provided it is added to the list.

The list contains

  • the name
  • a delete button
  • a progress bar to indicate the energy level

Automatically update value

Every couple ticks (see #1 ) the values should be updated.

If the entity does not exist anymore the monitor should be removed.
If the entity exists the current energy level should be represented on the UI.
If the current energy level is higher than the previously recorded then the max should be updated
(see #1 if maximum can be calculated)

Tests

Firgure out a good way to test this.
Ideally with faketorio.
If possible on a clean map, if not on a prepared map.

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.