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.
Types
Background or solution
🤖[deprecated] Generated by Copilot at a7d5f45
ChatMoreActions
to allow the user to retry or give feedback on the failed AI messages (link)AiChatService
and theIAIReporter
services in theChatMoreActions
component to get the session id and report the feedback (link)IAIReporter
interface and theThumbs
component in theThinking
component to enable the feedback functionality (link, link)relationId
and theaiReporter
props to theThumbs
component in theThinkingResult
component (link)useInjectable
hook to get theIAIReporter
service instance in theThinkingResult
component (link)Thumbs
component to use therelationId
and theaiReporterService
props to report the feedback and handle the icon changes and the click events (link)isLike
property to theCommonLogInfo
interface to simplify the reporting logic (link).bottom_container
style rule out of the.ai_chat_more_actions_container
rule to make it a global style for the chat components (link).chat_msg_more_actions
style rule (link)thumbs
icon name as a valid icon for theEnhanceIcon
component (link)Changelog
🤖[deprecated] Generated by Copilot at a7d5f45
This pull request adds a feedback feature to the
Thinking
andChatMoreActions
components in the AI chat view, allowing the user to report their satisfaction with the AI response using theThumbs
component and theIAIReporter
service. It also refactors some style rules and updates the icon font to include the new icons.