discourse/plugins/discourse-ai/lib
Keegan George c6ab2c030b
PERF: Lazy-load translation progress chart on admin AI translations page (#39458)
Previously, the admin AI translations page blocked rendering on an
expensive SQL query (CROSS JOIN of all eligible posts × all supported
locales with EXISTS subqueries) with no caching, causing multi-second
blank page loads on large sites.

In this update, the endpoint is split into a fast config endpoint (show)
and a lazy-loaded progress endpoint (progress), the expensive query is
cached for 30 minutes (keyed by locale config), and the frontend renders
the page instantly with a loading spinner while chart data loads
asynchronously.

---------

Co-authored-by: Nat <natalie.tay@discourse.org>
2026-04-23 11:31:24 -07:00
..
agents FEATURE: Add category definition filters and AI filterTopics binding (#39478) 2026-04-23 17:07:07 +10:00
ai_bot DEV: Fix deprecations in plugins specs and silence output (#39257) 2026-04-15 00:00:46 +02:00
ai_helper DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
ai_moderation DEV: Stop prometheus/ai spam in plugin backend specs (#39245) 2026-04-14 10:24:46 +02:00
ai_tool_scripts FEATURE: Add category definition filters and AI filterTopics binding (#39478) 2026-04-23 17:07:07 +10:00
automation SECURITY: escape LLM triage output in review flag reasons 2026-03-19 15:21:28 +00:00
completions FEATURE: show conversation spending in debug modal (#39364) 2026-04-20 16:14:38 +10:00
configuration DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
database DEV: Clean up scope resolution operators in plugins (#34979) 2025-09-30 14:36:34 +02:00
discord/bot DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
discover DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
embeddings DEV: Tidy plugin API key scope resource names (#38640) 2026-03-17 13:03:42 +11:00
inference DEV: Make persona image tools platform agnostic (#36195) 2025-11-26 09:36:24 -08:00
inferred_concepts DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
mcp FEATURE: Add advanced OAuth options for MCP servers (#38913) 2026-04-01 08:47:23 +11:00
sentiment DEV: Replace Ruby numbered parameters by it where applicable (#37810) 2026-02-13 13:59:07 +01:00
summarization DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
tasks DEV: Remove old Discourse AI rake tasks (#36384) 2025-12-02 14:34:08 -03:00
translation PERF: Lazy-load translation progress chart on admin AI translations page (#39458) 2026-04-23 11:31:24 -07:00
utils DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
ai_bot.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
automation.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
embeddings.rb
engine.rb DEV: Clean up scope resolution operators in plugins (#34979) 2025-09-30 14:36:34 +02:00
guardian_extensions.rb DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
multisite_hash.rb
post_extensions.rb
summarization.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
topic_extensions.rb
translation.rb DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00