-
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
refactor(protocol-designer): assign module slot in createFileWizard instead of modal #14951
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jerader
requested review from
koji and
ncdiehl11
and removed request for
a team
April 18, 2024 21:09
koji
reviewed
Apr 18, 2024
protocol-designer/src/components/modals/CreateFileWizard/ModulesAndOtherTile.tsx
Outdated
Show resolved
Hide resolved
koji
reviewed
Apr 18, 2024
koji
reviewed
Apr 18, 2024
protocol-designer/src/components/modals/CreateFileWizard/index.tsx
Outdated
Show resolved
Hide resolved
koji
reviewed
Apr 18, 2024
protocol-designer/src/components/modals/CreateFileWizard/utils.ts
Outdated
Show resolved
Hide resolved
koji
reviewed
Apr 18, 2024
protocol-designer/src/components/modals/CreateFileWizard/utils.ts
Outdated
Show resolved
Hide resolved
koji
reviewed
Apr 18, 2024
protocol-designer/src/components/modals/CreateFileWizard/utils.ts
Outdated
Show resolved
Hide resolved
koji
reviewed
Apr 18, 2024
protocol-designer/src/components/modals/CreateFileWizard/utils.ts
Outdated
Show resolved
Hide resolved
koji
reviewed
Apr 18, 2024
koji
reviewed
Apr 18, 2024
koji
reviewed
Apr 18, 2024
koji
approved these changes
Apr 22, 2024
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.
the changes look good to me and the sandbox worked as expected.
y3rsh
added a commit
that referenced
this pull request
Apr 23, 2024
* edge: (194 commits) fix(app): clone run with RTPs from HistoricalProtocolRun (#14959) fix(api): Filter out `air_gap()` calls as higher-order commands (#14985) fix(app): fix infinitely re-rendering/never rendering firmware success toasts (#14981) feat(api): add option to ignore different tip presence states (#14980) feat(opentrons-ai-client) add input textbox to container (#14968) fix(app): add robotSerialNumber to proceedToRun event (#14976) fix(api): remove homing patch fix for right mount when a 96-channel is attached (#14975) feat(api-client,app,react-api-client): upload splash logo from desktop app (#14941) fix(robot-server): notify /runs when a non-current run is deleted (#14974) feature(api, robot-server): Allow fixit commands to recover from an error (#14908) feat(hardware-testing): enable multi sensor processing in liquid probe (#14883) fix(app): prevent "run again" banner from rendering after navigating away from the current run (#14973) refactor(components): refactor roundtab stories (#14956) refactor(protocol-designer): assign module slot in createFileWizard instead of modal (#14951) fix(app, api-client): fix choose protocol slideout issue (#14949) refactor(protocol-designer): tip position modal max values round down (#14972) feat(app): add tiprack selection step to quick transfer flow (#14950) ci(shared-data): install dependencies in workflow (#14958) fix(components): fix icon stories (#14969) feat(opentrons-ai-client): introduce react-markdown to chat display component (#14965) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes AUTH-355 AUTH-22
Overview
It was a bit wonky when the module slots were being assigned previously so i refactored a lot of the logic that i made a few weeks ago. Now, the slot is assigned at the end of the create file wizard (only for MoaM) instead of during the
module and other
modal of the wizard. singular module types still get assigned slots like before - so Ot-2 behavior for instance should be the sameTest Plan
create a flex protocol and mess around with adding modules, including multiple temps, and see that they get rendered properly with nothing overlapping on the same slot
Changelog
ModulesAndOtherTile
to now just disable when there is no slot available in terms of space on the deckCreateFileWizard
Review requests
see test plan
Risk assessment
low