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-211 - Update horizontal bar chart fo fetch data from back-end #227

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

Conversation

felixgateru
Copy link
Contributor

What type of PR is this?

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

What does this do?

Populate horizontal bar chart with data from back-end

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

Have you included tests for your changes?

  • Yes
  • No, and this is why:

Did you document any new/modified functionality?

  • Yes
  • No, and this is why:

Notes

@felixgateru felixgateru force-pushed the MG-211_horizontal_bar branch from 4f3c7e9 to ac961d1 Compare March 15, 2024 08:29
@codecov-commenter
Copy link

codecov-commenter commented Mar 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #227   +/-   ##
=======================================
  Coverage        ?   76.74%           
=======================================
  Files           ?        3           
  Lines           ?      215           
  Branches        ?        0           
=======================================
  Hits            ?      165           
  Misses          ?       34           
  Partials        ?       16           

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

@felixgateru felixgateru force-pushed the MG-211_horizontal_bar branch 2 times, most recently from c9ec956 to 628742f Compare March 15, 2024 10:25
@felixgateru felixgateru marked this pull request as ready for review March 15, 2024 10:28
>
Close
</button>
<button type="button" class="btn btn-secondary" onclick="resetForm();">Close</button>
Copy link
Contributor

Choose a reason for hiding this comment

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

do this for the dismiss button at the top of the modal too. They should function the same.

case "startTime":
case "stopTime":
const inputDate = new Date(pair[1]);
chartData[pair[0]] = inputDate.getTime() * 1e6;
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to convert it to nanoseconds. This is done automatically on the backend side.

@felixgateru felixgateru force-pushed the MG-211_horizontal_bar branch from 628742f to 179d58b Compare March 20, 2024 07:11
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.

3 participants