Repository navigation
Conversation
Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
… clean up tests Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 254f5ef. Configure here.
… on both host versions Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com>
…Ds during RHS transitions Co-authored-by: Christopher Speller <crspeller@users.noreply.github.com>



Summary
Switches
AgentChatDropZonein the Agents product view and RHS to delegate to the host's publishedwindow.WebappUtils.components.FileDropZone(shipped in Mattermost 12.3, withZoneShellowning the plugin's flex layout), while keepingLegacyAgentChatDropZoneas a fallback on Mattermost servers prior to 12.3.Split out from #1230 as an independent PR. Pairs with mattermost/mattermost#40531.
Changes
window.WebappUtils.components.FileDropZonewhen available (Mattermost 12.3+), delegating drag-and-drop and upload-policy enforcement to the hostFileUpload.LegacyAgentChatDropZone(andHOST_COMPOSER_FILE_INPUT_SELECTOR) on servers prior to 12.3, with inline comments noting they can be removed oncemin_server_versionmoves past12.3.FileDropZonepath and the<12.3fallback in unit tests (agent_chat_page.test.tsx) and Playwright specs (agents-product-view.spec.ts,file-upload-drag-drop.spec.ts) without skipping CI tests.Release Note
Summary by CodeRabbit