Skip to content
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

fix(app): fix csv filename wrapping #16156

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

ncdiehl11
Copy link
Collaborator

Overview

Wrap long CSV file names in ChooseCsvFile component to maintain style of selection screen

Closes RQA-3003

Test Plan and Hands on Testing

  • start CSV protocol setup on ODD
  • on CSV file selection screen, plug in a USB with a CSV file with a long file name
  • verify text is wrapped properly
Screenshot 2024-08-28 at 2 17 25 PM

Changelog

  • add word wrapping to RadioButton css
  • modify breakpoint of filename

Review requests

see test plan

Risk assessment

Wrap long CSV file names in `ChooseCsvFile` component to maintain style of selection screen

Closes RQA-3003
@ncdiehl11 ncdiehl11 requested a review from koji August 28, 2024 21:40
@ncdiehl11 ncdiehl11 marked this pull request as ready for review August 29, 2024 14:04
@ncdiehl11 ncdiehl11 requested a review from a team as a code owner August 29, 2024 14:04
@ncdiehl11 ncdiehl11 requested a review from vegano1 August 29, 2024 18:57
@ncdiehl11 ncdiehl11 self-assigned this Aug 29, 2024
@@ -1075,3 +1079,9 @@ export function ProtocolSetup(): JSX.Element {
</>
)
}

const CLIPPED_TEXT_STYLE = css`
white-space: nowrap;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
white-space: nowrap;
white-space: ${NO_WRAP};

@koji
Copy link
Contributor

koji commented Aug 30, 2024

@ncdiehl11
thank you for fixing this!

@koji koji self-requested a review September 3, 2024 01:16
@ncdiehl11 ncdiehl11 merged commit 2461723 into chore_release-8.0.0 Sep 3, 2024
25 checks passed
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.

3 participants