Skip to content

feat(odd): list actions to document in reason for interaction flow + pass interaction reason with mutations#21681

Open
janiejaffe wants to merge 18 commits into
edgefrom
list-actions
Open

feat(odd): list actions to document in reason for interaction flow + pass interaction reason with mutations#21681
janiejaffe wants to merge 18 commits into
edgefrom
list-actions

Conversation

@janiejaffe
Copy link
Copy Markdown
Contributor

Overview

Screen.Recording.2026-06-05.at.2.19.50.PM.mov

Adds new popup to DocumentationRequired modal that lists all actions that should currently be documented. For most actions this will be a single line - 'Playing protocol', etc. For maintenance runs, the app will track each command sent to the server during the run and display them on this popup.

Additionally, this PR hooks up the documentation modal to requests sent to the server, passing provided notes along in the header as 'userNotes'.

Test Plan and Hands on Testing

Adds unit tests for displaying the correct strings for maintenance run commands.
To test, go through maintenance runs like attaching, detaching, and calibrating pipettes, labware, and modules. All mutations sent to the server should be listed in a distinct line item, and all line items should have proper text and formatting.

Review requests

I did my best to track down maintenance run commands that weren't represented in CommandText, but if you notice any I'm missing let me know. Also let me know if my approach for passing along userNotes to the server makes sense.

Risk assessment

Medium. Should not change anything functionally for maintenance runs or other usages of CommandText, but I will need to keep an eye out for maintenance run commands that do not display correctly.

@janiejaffe janiejaffe requested a review from a team as a code owner June 5, 2026 18:37
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.

1 participant