mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-15 15:29:48 +08:00
## Summary - Adds estimated completion time (ETA) display for AI translation backfill progress - ETA is calculated based on the configured hourly rate and remaining untranslated posts - Display format automatically adjusts based on time remaining (minutes, hours, or days) - ETA appears inline with the post count for better UX ## Implementation Details - Backend sends `hourly_rate` from site settings to frontend - Frontend calculates total remaining posts across all locales - ETA calculation: `remaining_posts / hourly_rate` - Format logic: - < 1 hour: shows minutes - 1-24 hours: shows hours - \> 24 hours: shows days - Only displays when backfill is enabled and there are posts remaining <img width="1243" height="242" alt="image" src="https://github.com/user-attachments/assets/314bc399-9694-43ec-8591-0237c1b902f6" /> |
||
|---|---|---|
| .. | ||
| admin | ||
| ai_bot | ||
| ai_helper | ||
| discord | ||
| discover | ||
| embeddings | ||
| sentiment | ||
| summarization | ||
| translation | ||
| topic_spec.rb | ||