Conversation
…kle, add send button
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 295b290014
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 439f261c01
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…d, and new actions
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e6ce41c639
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex please review |
…-app into feat/copilot-menu
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fa947dd291
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| copilotAbortRef.current?.abort(); | ||
| dispatch(resetCopilot()); | ||
| setIsCopilotMenuOpen(false); | ||
| }, [conversationId, dispatch, setIsCopilotMenuOpen]); |
There was a problem hiding this comment.
Dismiss tone sheet when changing conversations
The conversation-change reset aborts requests and closes the Copilot menu, but it never dismisses toneSelectionSheetRef. If a user opens “Change tone” in conversation A, navigates to conversation B, and then taps a tone in the still-open sheet, handleToneSelected will execute Copilot in B even though the sheet was opened from A. This can trigger unintended AI rewrites in the wrong chat; dismiss the tone sheet in this reset path as well.
Useful? React with 👍 / 👎.
| state.isGenerating = false; | ||
| state.showEditor = false; | ||
| state.error = action.error.message ?? 'Failed to generate content'; |
There was a problem hiding this comment.
Show Copilot failures instead of silently closing editor
On executeCopilotAction.rejected, the reducer hides the Copilot editor and only stores an error string in state, but this feature does not render that error anywhere. In API/network failure cases, users just see the UI revert with no feedback and cannot tell why generation failed. Either keep an inline error state visible or surface a toast/alert when this path runs.
Useful? React with 👍 / 👎.
| COPILOT_ACTIONS.FRIENDLY, | ||
| ]; | ||
|
|
||
| export const CONTENT_REQUIRED_ACTIONS = [ |
There was a problem hiding this comment.
CONTENT_REQUIRED_ACTIONS is defined but never used
Description
Add Copilot AI Assist menu to chat reply box
Summary
Fixes: https://linear.app/chatwoot/issue/CW-3898/ai-assist
Designs : Figma
ai-assist.mp4
Type of change
How Has This Been Tested?