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

Update dates overlap logic #1061

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Update dates overlap logic #1061

merged 1 commit into from
Nov 28, 2024

Conversation

K-Markopoulos
Copy link
Collaborator

Issue

Fixes #1051 . Some charts in site page are disappearing when user changes the time range.

Cause

We are hiding charts that do not have data within with the selected timeframe. The function (rangeOverlapWithRange) that checks if the ranges overlap was missing one case (case 4):

image

Changes

  • Updated the logic to cover all cases and verified the charts are not disappearing after changing the time range.

@K-Markopoulos K-Markopoulos self-assigned this Nov 28, 2024
Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

✅ This pull request was sent to the PullRequest network for review. Expert reviewers are now being matched to your request based on the code's requirements. Stay tuned!

What to expect from this code review:
  • Comments posted to any areas of potential concern or improvement.
  • Detailed feedback or actions needed to resolve issues that are found.
  • Turnaround times vary, but we aim to be swift.

@K-Markopoulos you can click here to see the review status or cancel the code review job.

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

PullRequest Breakdown

Reviewable lines of change

+ 2
- 1

100% TypeScript

Type of change

Minor Update - These changes appear to be a minor update to existing functionality and features.

Copy link

Build succeeded and deployed at https://aqualink-app-1061.surge.sh
(hash 55f077e deployed at 2024-11-28T09:46:09)

Copy link

@pullrequest pullrequest bot left a comment

Choose a reason for hiding this comment

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

My only concern is that this is not covered by tests.

Image of Graham C Graham C


Reviewed with ❤️ by PullRequest

@ericboucher ericboucher merged commit 8b15221 into master Nov 28, 2024
3 checks passed
@ericboucher ericboucher deleted the fix-graphs-disappearing branch November 28, 2024 09:57
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.

HUI graphs disappear 4 months back
2 participants