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

Enable reading validation via admin input #989

Merged
merged 103 commits into from
Aug 26, 2023

Conversation

carlsonrob
Copy link
Contributor

Description

Currently, readings are not validated upon upload. This PR enables an admin to define default test values, which are then executed when readings are uploaded. The admin panel, meter modal (create/edit), meter object and database have been modified to accommodate these values. The conditionSet object was previously undefined, but can now be determined using these values and enable readings to be validated.
@TrongQuocLe @codehomie1

Fixes #511

Type of change

  • Note merging this changes the node modules
  • Note merging this changes the database configuration.
  • This change requires a documentation update

Checklist

  • I have followed the OED pull request ideas
  • I have removed text in ( ) from the issue request

Limitations

Written test cases need to be created.

@carlsonrob carlsonrob requested a review from huss August 24, 2023 03:13
@huss
Copy link
Member

huss commented Aug 24, 2023

I made a few minor changes to the code. I don't think there are any issues but I'll give others one day to see if there are any issues before I merge this code.

Copy link
Member

@huss huss left a comment

Choose a reason for hiding this comment

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

I want to thank all the developers of this code for being willing to implement additional features after the pull request was created, being so careful in finding a few things I missed and the speed with which they did all their work. The changes address all the comments and testing has found this to work well. This code is now ready to merge. Congratulations on your first contribution to OED.

@huss huss merged commit cc65531 into OpenEnergyDashboard:development Aug 26, 2023
3 checks passed
@carlsonrob carlsonrob deleted the new_UI_setChecks branch August 27, 2023 21:53
@huss huss added this to the 1.1 release milestone Sep 1, 2023
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.

set checks in pipeline
4 participants