-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: Updates to AI components for additional chat prompt use cases #10335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
ad9b3bb
expose size on MessageFeedback for Coworker
LFDanLu f0c0d2e
localize scroll to bottom button, expose PromptFocusContext if users …
LFDanLu 45b0864
add "failed" Response status and variant where the response doesnt ha…
LFDanLu f301a02
expose isDisabled/placeholder and add onKeydown
LFDanLu ff15060
controlled prompt field input and attachements
LFDanLu 0725b71
have it auto tokenize urls from controlled value insertions and fix c…
LFDanLu 89b4a0d
add plain text insertion menu item
LFDanLu 7789775
add callback menu item
LFDanLu fd1b878
add voice input support to prompt field
LFDanLu 187ce00
add missing error messages
LFDanLu 1eb038b
Merge branch 'main' of github.com:adobe/react-spectrum into ai_follow…
LFDanLu e09f031
removing isDisabled support from the prompt field, need design feedback
LFDanLu 0ac387d
localize stuff
LFDanLu b1aa140
add error variant for attachement list card
LFDanLu 182b270
Merge branch 'main' of github.com:adobe/react-spectrum into ai_follow…
LFDanLu e89bed8
fix lint
LFDanLu d64cff6
make up/down arrow cycle through old prompts
LFDanLu f9f020a
fix lint?
LFDanLu 54e6e40
missing events from spec
LFDanLu 1557b0a
proper fix for NavigatorUAData lint issue
LFDanLu e50f872
review comments
LFDanLu 5b99560
more review comments
LFDanLu 8fe9fed
remove bad tokenization from constructor and make comment clearer
LFDanLu 585c7df
Merge branch 'main' of github.com:adobe/react-spectrum into ai_follow…
LFDanLu 9fca966
Merge branch 'main' into ai_followups_coworker
LFDanLu 0837a45
use english fallback for AI strings for now
LFDanLu 7715a42
lint and placeholders in tree docs textfields
LFDanLu d5ab4bc
clean up some comments based on what design mentioned
LFDanLu 6c5f98e
Merge branch 'main' into ai_followups_coworker
snowystinger 6560bc7
Merge branch 'main' of github.com:adobe/react-spectrum into ai_follow…
LFDanLu f9ba3a7
strings from cowoker and review comment
LFDanLu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. strings to be translated, open to discussion for copy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,18 @@ | ||
| { | ||
| "chat.newMessage": "New message", | ||
| "chat.scrollToBottom": "Scroll to bottom", | ||
| "messagefeedback.thumbDown": "Bad response", | ||
| "messagefeedback.thumbUp": "Good response", | ||
| "responsestatus.loading": "Loading", | ||
| "voicebutton.stopListening": "Stop recording", | ||
| "voicebutton.startListening": "Start recording", | ||
| "promptfield.placeholder": "Ready to get started? Ask a question, share an idea, or add a task.", | ||
| "promptfield.aiDisclaimer": "Responses are generated using AI, and may be inaccurate. Check before using.", | ||
| "promptfield.aiUserGuidlines": "AI User Guidelines", | ||
| "promptfield.attachments": "Attachments", | ||
| "promptfield.label": "Prompt", | ||
| "promptfield.placeholder": "Ready to get started? Ask a question, share an idea, or add a task." | ||
| "promptfield.stopButton": "Stop", | ||
| "promptfield.submitButton": "Send", | ||
| "promptfield.insertButton": "Add", | ||
| "promptfield.uploading": "Uploading" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported in case a user don't use our PromptField with Chat. They will need to wire up the onFocusChange to their input field