Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Conversation

@keegangeorge
Copy link
Member

@keegangeorge keegangeorge commented Nov 27, 2024

🔍 Overview

With the recent changes to allow Discourse AI in the translator plugin (#946), detect_text_locale was needed as a CompletionPrompt. However, it is leaking into composer/post helper menus. This PR ensures we don't not show it in those menus.

📸 Screenshots

Before

Screenshot 2024-11-27 at 14 21 29

After

Screenshot 2024-11-27 at 14 21 38

### 🔍 Overview
With the recent changes to allow DiscourseAi in the translator plugin, `detect_text_locale` was needed as a CompletionPrompt. However, it is leaking into composer/post helper menus. This PR ensures we don't not show it in those menus.
@SamSaffron
Copy link
Member

I think it is fine, but we should have some sort of test for this stuff, even just on the server.

Then as we add / change options we will not be in for a surprise. I think it is worth a followup PR.

@SamSaffron SamSaffron merged commit dabef02 into main Nov 27, 2024
6 checks passed
@SamSaffron SamSaffron deleted the dev-detect-text-locale branch November 27, 2024 22:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants