Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[Terra-Arrange] Reflow issue when port is resized to 320x256 & Radio Button issue #3945

Merged
merged 6 commits into from
Oct 20, 2023

Conversation

gt106551
Copy link
Contributor

@gt106551 gt106551 commented Oct 18, 2023

Before changes
Screenshot 2023-10-19 at 8 52 49 AM
After changes
Screenshot 2023-10-19 at 8 55 10 AM

Summary

1.Terra Arrange refow Issue- Previously, when port is resized to 320x256px buttons are moving out of example border. Now it has been resolved

2.Terra Arrange Radio button issue-Previously, the radio button options are only read individually as Yes and No and not in conjunction with their associated questions. Now it was announcing associated questions when we navigate to radio buttons

What was changed:
Added below media Query to fix reflow issue
@media (max-width: 320px) {
.fit {
align-self: flex-start;
flex: 0 0;
}
}
Why it was changed:
To fix reflow issue

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

This PR resolves:

UXPLATFORM-9728


Thank you for contributing to Terra.
@cerner/terra

@gt106551 gt106551 requested a review from a team as a code owner October 18, 2023 07:01
@gt106551 gt106551 self-assigned this Oct 18, 2023
Comment on lines 4 to 6
*Fixed
* Fixed Terra Arrange Reflow issue `terra-arrange`.
* Fixed Terra Arrange Radio button issue `terra-arrange`.
Copy link
Contributor

Choose a reason for hiding this comment

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

@gt106551 Please maintain the existing format on change log for consistency

"Fixed Terra Arrange Reflow issue terra-arrange" This does not provide enough information about the fix made on this PR

Radio button issue is specific to the example hence not required this changelog should only have the changes made for component not for it's example

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change log Updated

flex: 0 0;
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: add a new line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a new line

Comment on lines 4 to 6
*Fixed
* Fixed Terra Arrange Reflow issue `terra-arrange`.
* Fixed Terra Arrange Radio button issue `terra-arrange`.
Copy link
Contributor

Choose a reason for hiding this comment

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

change log are not clear and missing formatting

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated change log as per suggestion

Comment on lines 4 to 5
*Fixed
* Fixed reflow issue when the viewport is resized to 320x256 px `terra-arrange`.
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
*Fixed
* Fixed reflow issue when the viewport is resized to 320x256 px `terra-arrange`.
* Updated
* Updated `terra-arrange` examples to use `terra-form-radio`.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

Comment on lines 4 to 5
*Fixed
* Fixed reflow issue when the viewport is resized to 320x256 px `terra-arrange`.
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
*Fixed
* Fixed reflow issue when the viewport is resized to 320x256 px `terra-arrange`.
* Fixed
* Fixed reflow issue when the viewport is resized to 320x256 px.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@supreethmr
Copy link
Contributor

@gt106551 Can you add screenshot of the issue before and after code changes

@github-actions github-actions bot temporarily deployed to preview-pr-3945 October 19, 2023 04:21 Destroyed
@rahulkumar8cs
Copy link

+1

@saket2403 saket2403 added ⭐ UX Reviewed UX Reviewed and approved. and removed UX Review Required labels Oct 20, 2023
@saket2403 saket2403 merged commit 736a476 into main Oct 20, 2023
22 checks passed
@saket2403 saket2403 deleted the Terra-Arrange-design-issue branch October 20, 2023 05:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📦 terra-arrange ⭐ UX Reviewed UX Reviewed and approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants