Skip to content

fix(opentrons-ai-client): removed tabs to simplify and fix whitescreen #18687

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

Merged

Conversation

Elyorcv
Copy link
Contributor

@Elyorcv Elyorcv commented Jun 19, 2025

Overview

Closes AUTH-1973

This PR removes tab to simplify and fix whitescreen issue.

image

Test Plan and Hands on Testing

CI handles them

Review requests

Follow below:

  1. Fill out the UI wizard but don’t hit confirm on the “Steps” step
  2. Go back to an earlier step to make a change
  3. Continue forward and hit confirm. The whitescreen should NOT appear

Risk assessment

Low

@Elyorcv Elyorcv marked this pull request as ready for review June 19, 2025 14:12
@Elyorcv Elyorcv requested a review from a team as a code owner June 19, 2025 14:12
@Elyorcv Elyorcv requested review from koji, ddcc4 and y3rsh June 19, 2025 14:13
@koji
Copy link
Contributor

koji commented Jun 19, 2025

@Elyorcv
what wat the actual error, when you got the white screen?

@Elyorcv
Copy link
Contributor Author

Elyorcv commented Jun 19, 2025

@Elyorcv what wat the actual error, when you got the white screen?

When user select "Paste from document" tab, state management and type for this tab is not handled properly. This causes infinite loop in the white screen. Instead of solving this, I just removed that tabs thus no need to manage states anymore. This is because me and Mike decided not to use Add individual steps tab.

{t('paste_from_document_title')}
<ControlledTextAreaField
name={STEPS_FIELD_NAME}
height="180px"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

11.25rem doesn't work?

Copy link
Contributor Author

@Elyorcv Elyorcv Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops I forget it again! changed to rem Thanks @koji

@Elyorcv Elyorcv merged commit 0fa8547 into edge Jun 20, 2025
8 checks passed
@Elyorcv Elyorcv deleted the AUTH-1973-whitescreen-on-ui-wizard-after-hitting-confirm-button branch June 20, 2025 19:59
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