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

[Terra-Tabs] Vertical Orientation for Tabs. #1820

Merged
merged 27 commits into from
Oct 19, 2023
Merged

[Terra-Tabs] Vertical Orientation for Tabs. #1820

merged 27 commits into from
Oct 19, 2023

Conversation

ST063655
Copy link
Contributor

@ST063655 ST063655 commented Oct 3, 2023

Summary

What was changed:
Vertical Tab is created by passing a prop "verticalOrientation".
Added Key to the commontabItem to make every child unique.
Removed ariaLabel prop as requried.

Why it was changed:
To add vertical orientation for the tabs.
Fix for unique keys warning.
Fix for missing ariaLabel prop warning.

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-9242
UXPLATFORM-9742
UXPLATFORM-9741

Post Implementation Screenshot

image


Thank you for contributing to Terra.
@cerner/terra

@github-actions github-actions bot temporarily deployed to preview-pr-1820 October 3, 2023 08:19 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-1820 October 3, 2023 13:53 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-1820 October 3, 2023 14:14 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-1820 October 6, 2023 05:36 Destroyed
@github-actions github-actions bot temporarily deployed to preview-pr-1820 October 9, 2023 14:50 Destroyed
/**
* By Default Orientation will be Horizontal and Orientation will be Vertical When verticalOrientation set to `true`.
*/
verticalOrientation: PropTypes.bool,
Copy link
Contributor

Choose a reason for hiding this comment

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

By verticalOrientation, do you mean vertical tabs?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, that's correct !!

@github-actions github-actions bot temporarily deployed to preview-pr-1820 October 19, 2023 09:21 Destroyed
@saket2403 saket2403 merged commit ed37d76 into main Oct 19, 2023
21 checks passed
@saket2403 saket2403 deleted the UXAPPLPLAT-1122 branch October 19, 2023 09:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants