0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/plugins/discourse-ai/spec/db/migrate
Natalie Tay 9349e06001
FEATURE: Add category scope for AI translations (#41585)
We have switched AI translations settings first from public categories,
to "include" categories, then to "exclude" categories.

This is not great. Some admins prefer one, and some prefer others. 

This PR allows admins to do either. This also updates default categories
to be "public" only, when the original default was "all" (public +
private).

The migration covers moving existing users to 
- if has selected categories -> "exclude strict" + their selected
categories
- if no selected categories + feature enabled -> "all" to maintain
status quo



https://github.com/user-attachments/assets/607f2340-8fa6-4059-b13d-07d1938ad74f
2026-07-10 09:39:20 +08:00
..
20241031041242_migrate_sentiment_classification_result_format_spec.rb DEV: Fix deprecations in plugins specs and silence output (#39257) 2026-04-15 00:00:46 +02:00
20250125162658_fix_broken_open_ai_embeddings_config_spec.rb DEV: Fix deprecations in plugins specs and silence output (#39257) 2026-04-15 00:00:46 +02:00
20250127145305_clean_unused_embedding_search_indexes_spec.rb DEV: Fix deprecations in plugins specs and silence output (#39257) 2026-04-15 00:00:46 +02:00
20260331024139_split_translation_public_content_setting_spec.rb DEV: Fix deprecations in plugins specs and silence output (#39257) 2026-04-15 00:00:46 +02:00
20260504211108_backfill_reviewable_ai_tool_action_scope_spec.rb FIX: Scope ReviewableAiToolAction to target post's topic and category (#39716) 2026-05-05 10:24:19 -03:00
20260513162531_convert_ai_translation_target_categories_to_excluded_categories_spec.rb FEATURE: Switch from opt-in to opt-out for categories in AI translations (#40169) 2026-05-26 14:51:04 -04:00
20260708080308_convert_ai_translation_excluded_categories_to_category_scope_spec.rb FEATURE: Add category scope for AI translations (#41585) 2026-07-10 09:39:20 +08:00