Fixes #5293: Add share button next to send button and shorten 'Start New Task' to 'Start Task' #5310
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements the feature request from issue #5293 to add a share button next to the send button for improved discoverability of the task sharing functionality.
Changes Made
1. Added ShareButton to ChatTextArea
2. Enhanced ShareButton Component
allowNoItemprop to ShareButton componentallowNoItem={true}, the ShareButton renders even when there's no current task3. Updated Button Text Translations
Technical Details
Files Modified: 20 files total
Backward Compatibility: All existing ShareButton usage remains unchanged
Type Safety: All changes are fully typed with TypeScript
Accessibility: Maintains existing accessibility patterns
Testing
UI/UX Impact
Closes #5293
Important
Add a share button to
ChatTextArea.tsxand update 'Start New Task' to 'Start Task' in 18 languages.ShareButtontoChatTextArea.tsx, positioned before the send button, disabled when send is disabled.ShareButtonuses existing share functionality.allowNoItemprop toShareButtoninShareButton.tsxto render without a current task.ShareButtonusage.This description was created by
for 6b17ae3. You can customize this summary. It will automatically update as commits are pushed.