Giter VIP home page Giter VIP logo

abb_partsinterface's Introduction

React Feature Simulator

This project is a simple simulation of features and their data, created using React and TypeScript.

Getting Started

To get started, clone the repository and install the dependencies with npm:

git clone https://github.com/stygmah/ABB_PartsInterface
cd ABB_PartsInterface
npm install

Once the dependencies are installed, you can start the project by running:

npm run start

This will start a development server and open the application in your default web browser.

Project Structure

The project was created using create-react-app and adding typescript support.

The main component is App which renders the Part component. The Part component receives features and partName as props and renders the Feature component for each feature in the array.

The Feature component receives data, featureName, and quality as props and displays the feature data in a table.

The App component simulates the updating of the data in each feature by using setInterval in a useEffect hook. The updateFeatures function is called every 10 seconds, which updates the data and quality of each feature.

Next Steps

  • One of the next steps would be to fit all the features perfectly in a grid. For that, a function could be created to calculate the length of each feature and use a grid layout.
  • Additionally, the styled components could be updated accordingly to make sure that they are aligned correctly and the display is optimized.
  • Update the quality symbols with provided ones that fit.

abb_partsinterface's People

Contributors

stygmah avatar

Watchers

 avatar

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.