Skip to content

feat: Release prompt input customPrimaryAction for all systems#4529

Merged
gethinwebster merged 1 commit into
mainfrom
feat/release-prompt-input-custom-primary-action
May 21, 2026
Merged

feat: Release prompt input customPrimaryAction for all systems#4529
gethinwebster merged 1 commit into
mainfrom
feat/release-prompt-input-custom-primary-action

Conversation

@gethinwebster
Copy link
Copy Markdown
Member

Description

Remove @awsuiSystem core annotation from prompt-input.customPrimaryAction, making it available for all systems.

Slot prop for a custom primary action button. The component manages focus and keyboard handling regardless of system.

Related links, issue #, if available: n/a

How has this been tested?

  • Existing unit and integration tests continue to pass
  • Snapshot tests updated via npx jest -c jest.unit.config.js -u documenter
Review checklist

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible.
  • Changes do not include unsupported browser features.
  • N/A for accessibility (annotation-only change).

Security

  • N/A (no URL handling changes).

Testing

  • Existing tests cover this prop.

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

Remove @awsuiSystem core annotation from customPrimaryAction prop,
making it available to console and all other systems.

This slot prop allows replacing the default send button with a custom
action. The component continues to manage focus and keyboard submission
regardless of custom content.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4529   +/-   ##
=======================================
  Coverage   97.42%   97.42%           
=======================================
  Files         936      936           
  Lines       29626    29626           
  Branches    10764    10764           
=======================================
  Hits        28864    28864           
  Misses        755      755           
  Partials        7        7           

☔ 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.

@gethinwebster gethinwebster changed the title feat: Release customPrimaryAction for all systems feat: Release prompt input customPrimaryAction for all systems May 21, 2026
@gethinwebster gethinwebster marked this pull request as ready for review May 21, 2026 07:25
@gethinwebster gethinwebster requested a review from a team as a code owner May 21, 2026 07:25
@gethinwebster gethinwebster requested review from amanabiy and removed request for a team May 21, 2026 07:25
@gethinwebster gethinwebster added this pull request to the merge queue May 21, 2026
Merged via the queue into main with commit 849bf8f May 21, 2026
52 checks passed
@gethinwebster gethinwebster deleted the feat/release-prompt-input-custom-primary-action branch May 21, 2026 12:49
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