-
Notifications
You must be signed in to change notification settings - Fork 178
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
feat(app): wire up module calibration to backend #13449
Conversation
return errorMessage != null ? ( | ||
<SimpleWizardBody |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved rendering the error to the orchestration component, rather than having each sub component have to worry about rendering error content
const [createdAdapterId, setCreatedAdapterId] = React.useState<string | null>( | ||
null | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added this because when starting module cal, we need to provide the PE command the loaded adapter id
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## chore_release-7.0.0 #13449 +/- ##
=======================================================
- Coverage 71.41% 63.34% -8.07%
=======================================================
Files 2432 1710 -722
Lines 67907 32551 -35356
Branches 7884 7925 +41
=======================================================
- Hits 48495 20621 -27874
+ Misses 17567 10080 -7487
- Partials 1845 1850 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
const { moduleId, model, location } = command.params | ||
if (moduleId == null) { | ||
console.error( | ||
`expected module ${model} in location ${location.slotName} to have an id, but id does not` | ||
) | ||
return acc | ||
} | ||
return { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added this change to PD cuz i updated the type of LoadModuleCreateCommand
to have the module id be optional
return | ||
} | ||
|
||
const calibrationAdapterId = uuidv4() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generating a uuid for the calibration adapter and setting it to react state below so we can use this id when we emit a start module cal command
…ons into app-wire-up-module-cal]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎏
RAUT-655 Co-authored-by: Brian Cooper <[email protected]> Co-authored-by: smb2268 <[email protected]>
RAUT-655 Co-authored-by: Brian Cooper <[email protected]> Co-authored-by: smb2268 <[email protected]>
Overview
This PR wires up module cal to protocol engine.
closes RAUT-655
(also small copy fix) closes RQA-935
Changelog
Risk assessment
Low