-
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(protocol-designer, app, api): step grouping foundation #15737
Conversation
A PR has been opened to address analyses snapshot changes. Please review the changes here: https://github.com/Opentrons/opentrons/pull/ |
1 similar comment
A PR has been opened to address analyses snapshot changes. Please review the changes here: https://github.com/Opentrons/opentrons/pull/ |
9f72818
to
b1a30ae
Compare
A PR has been opened to address analyses snapshot changes. Please review the changes here: https://github.com/Opentrons/opentrons/pull/ |
2 similar comments
A PR has been opened to address analyses snapshot changes. Please review the changes here: https://github.com/Opentrons/opentrons/pull/ |
A PR has been opened to address analyses snapshot changes. Please review the changes here: https://github.com/Opentrons/opentrons/pull/ |
6e7020d
to
f3e3a19
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## edge #15737 +/- ##
==========================================
- Coverage 63.31% 63.18% -0.13%
==========================================
Files 300 288 -12
Lines 15773 15276 -497
==========================================
- Hits 9986 9652 -334
+ Misses 5787 5624 -163
Flags with carried forward coverage won't be shown. Click here to find out more. |
f3e3a19
to
3a9212a
Compare
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.
Couple things I think we need to look at it in the app and api
A PR has been opened to address analyses snapshot changes. Please review the changes here: #17058 |
…p_command-annotations
A PR has been opened to address analyses snapshot changes. Please review the changes here: #17058 |
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.
Looks awesome to me!
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.
🙌 Annotations backend work looks great!
A PR has been opened to address analyses snapshot changes. Please review the changes here: #17058 |
A PR has been opened to address analyses snapshot changes. Please review the changes here: #17058 |
#17058) This PR was requested on the PR #15737 Co-authored-by: jbleon95 <[email protected]>
addresses AUTH-573
Overview
co-authored by @jbleon95
This is the foundation for Step grouping in the system. Step grouping is part of the PD redesign follow-up (originally it was part of the PD redesign but got descoped a few days ago. it IS still part of the redesign plans but will be in a follow up): https://opentrons.atlassian.net/wiki/spaces/RPDO/pages/4331339778/WIP+Step+Grouping+Architecture+Proposal+for+JSON+protocols+only
The way step grouping works is the user in PD adds the step to a group and that information gets parsed into
commandAnnotations
in the schema as part of asecondOrderCommand
.When uploading the protocol to the app, the
commandAnnotations
is part of theCompletedProtocolAnalysis
which is displayed in the Timeline tab inProtocolDetails
- only on the desktop app. Note that the Timeline tab is only visible if you have theProtocol timeline
feature flag turned on.NOTE: the following video is from old PD navigation and components and can't be tested anymore. Since the redesign is soon to be released and the old components are getting deleted here, the usage of the old components has been deleted in lieu of adding the actions/selectors created in this pr to the new designs.
367801019-1642d2f9-c518-49da-b453-fcf480573d8a.mov
Test Plan
commandAnnotationsTest.json
Protocol timeline
ff is turned on and go to the "timeline" tab in protocol details. You should see the group displayed.Changelog
RootState
in PD (unsavedGroup
,stepGroups
)AnnotatedSteps
in the app to display the steps in the group: this involved addingcommandAnnotations
key tocompletedProtocolAnalysis
and agroupedCommands
key to theStoredProtocolData
type used ingetStoredProtocols
andgetStoredProtocol
selectorcommandAnnotations
to show up in theCompletedProtocolAnalysis
Review requests
Risk assessment
low, behind ff in app and in PD