discourse/plugins/discourse-ai/lib/translation
Rafael dos Santos Silva a40149bd1b
PERF: optimize translation progress dashboard with batch query (#34861)
Replace individual per-locale queries with a single query that
calculates completion progress for all locales at once.

This commit also removes methods off the `base_candidate` (used for
Categories and Topics as well) which are not used any more, as the
progress dashboard only shows progress for posts.

t/162846/4

---------

Co-authored-by: Nat <natalie.tay@discourse.org>
2025-09-29 13:32:40 +08:00
..
base_candidates.rb PERF: optimize translation progress dashboard with batch query (#34861) 2025-09-29 13:32:40 +08:00
base_translator.rb
category_candidates.rb PERF: optimize translation progress dashboard with batch query (#34861) 2025-09-29 13:32:40 +08:00
category_locale_detector.rb
category_localizer.rb
content_splitter.rb
entry_point.rb FEATURE: Allow re-localization twice a day if post version has changed (#34023) 2025-08-04 10:58:30 +08:00
language_detector.rb FIX: Do not send empty content when detecting language (#34825) 2025-09-17 00:52:40 +08:00
post_candidates.rb PERF: optimize translation progress dashboard with batch query (#34861) 2025-09-29 13:32:40 +08:00
post_detection_text.rb
post_locale_detector.rb FIX: Do not send empty content when detecting language (#34825) 2025-09-17 00:52:40 +08:00
post_localizer.rb FEATURE: Allow re-localization twice a day if post version has changed (#34023) 2025-08-04 10:58:30 +08:00
post_raw_translator.rb
short_text_translator.rb
topic_candidates.rb PERF: optimize translation progress dashboard with batch query (#34861) 2025-09-29 13:32:40 +08:00
topic_locale_detector.rb
topic_localizer.rb
topic_title_translator.rb
verbose_logger.rb