Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MG-213 - Update Gauges to fetch data from the back-end readers #219

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

Musilah
Copy link
Contributor

@Musilah Musilah commented Mar 8, 2024

What type of PR is this?

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Dependency Update

What does this do?

This PR updates the simple analogue gauge, temp and speed gauges as well as the multigauge

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

  • Yes
  • No.

Did you document any new/modified functionality?

  • Yes
  • No.

Notes

@Musilah Musilah marked this pull request as ready for review March 8, 2024 13:11
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
ui/web/static/js/charts.js Show resolved Hide resolved
ui/web/static/js/charts.js Outdated Show resolved Hide resolved
@Musilah Musilah force-pushed the analoguegauge branch 3 times, most recently from aecef6f to f2c61eb Compare March 18, 2024 10:52
@codecov-commenter
Copy link

codecov-commenter commented Mar 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@2d2b4e5). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #219   +/-   ##
=======================================
  Coverage        ?   81.00%           
=======================================
  Files           ?        3           
  Lines           ?      179           
  Branches        ?        0           
=======================================
  Hits            ?      145           
  Misses          ?       18           
  Partials        ?       16           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Musilah Musilah marked this pull request as draft March 18, 2024 18:22
@Musilah Musilah force-pushed the analoguegauge branch 2 times, most recently from 4c8b7bf to f6ff95d Compare March 19, 2024 15:46
@Musilah Musilah marked this pull request as ready for review March 19, 2024 16:51
Copy link
Contributor

@felixgateru felixgateru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After an update the gauges start showing the same data. i.e
Before fetch update:
Screenshot from 2024-03-20 12-25-14
After the update:
Screenshot from 2024-03-20 12-25-36

Comment on lines 1210 to 1172
console.log("response: ", response.url);
console.log("data: ", data.messages);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove debug statements

Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Signed-off-by: Musilah <nataleigh.nk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Gauges to fetch data from the back-end readers
4 participants