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

ISSUE #5163 Vertical range and units stored in model settings #5165

Merged
merged 10 commits into from
Sep 27, 2024

Conversation

ChristosTsiotsias
Copy link
Contributor

This fixes #5163

Description

Vertical range and units are no longer stored in calibrations but in model settings
Get Calibration retrieves the info from model settings document
Adding a new drawing requires the calibration info
Adding a new calibration updates model settings
Geting model settings info returns the calibration info too
Unit and E2E tests updated
Documentation updates

Test cases

Getting a calibration shoud not change the returned data
Getting model settings should also return the calibration info
Adding a new calibration should update the model settings document with the new data

unit and e2e test adjustments
documentation adjustment
backend/src/v5/utils/helper/units.js Outdated Show resolved Hide resolved
backend/src/v5/utils/helper/units.js Outdated Show resolved Hide resolved
@carmenfan carmenfan merged commit 29e37d3 into staging Sep 27, 2024
14 of 15 checks passed
@carmenfan carmenfan deleted the ISSUE_5163 branch September 27, 2024 07:21
@carmenfan carmenfan removed their assignment Oct 1, 2024
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.

2 participants