Skip to content

feat: Add wrapText property to copy to clipboard#4539

Merged
avinashbot merged 2 commits into
mainfrom
copy-to-clipboard-wraptext
May 20, 2026
Merged

feat: Add wrapText property to copy to clipboard#4539
avinashbot merged 2 commits into
mainfrom
copy-to-clipboard-wraptext

Conversation

@avinashbot
Copy link
Copy Markdown
Member

@avinashbot avinashbot commented May 20, 2026

Description

Solves a similar problem components like status indicator, popover, and button have, where you want the truncation "boundary" to be inside the component itself, and for the subcomponents (e.g. icon) to wrap predictably. See doc: IYeOAvru29Zv.

Related links, issue #, if available: AWSUI-61955

How has this been tested?

Unit tests, permutation tests, manual checks (esp. with the popover use-case).

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.42%. Comparing base (ff4e6e2) to head (58c3e29).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4539   +/-   ##
=======================================
  Coverage   97.42%   97.42%           
=======================================
  Files         939      939           
  Lines       29645    29647    +2     
  Branches    10772    10774    +2     
=======================================
+ Hits        28883    28885    +2     
  Misses        715      715           
  Partials       47       47           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@avinashbot avinashbot marked this pull request as ready for review May 20, 2026 13:21
@avinashbot avinashbot requested a review from a team as a code owner May 20, 2026 13:21
@avinashbot avinashbot requested review from gethinwebster and removed request for a team May 20, 2026 13:21
@avinashbot avinashbot enabled auto-merge May 20, 2026 13:28
@avinashbot avinashbot added this pull request to the merge queue May 20, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 20, 2026
@avinashbot avinashbot added this pull request to the merge queue May 20, 2026
Merged via the queue into main with commit a029df8 May 20, 2026
51 checks passed
@avinashbot avinashbot deleted the copy-to-clipboard-wraptext branch May 20, 2026 17:43
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