discourse/plugins/discourse-ai/spec/requests
Rafael dos Santos Silva 6b7a086644
FEATURE: Add estimated completion time to AI translation backfill (#35474)
## 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"
/>
2025-10-17 11:55:26 -03:00
..
admin FEATURE: Add estimated completion time to AI translation backfill (#35474) 2025-10-17 11:55:26 -03:00
ai_bot DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
ai_helper SECURITY: AI helper suggestions based on a topic should check user has access to it 2025-09-30 10:09:49 +08:00
discord
discover FEATURE: Promote Discover to a dedicated feature. (#34846) 2025-09-23 14:01:45 -03:00
embeddings FEATURE: Append limited search results with semantic search (#35446) 2025-10-16 09:27:31 -07:00
sentiment
summarization DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
translation DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
topic_spec.rb DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00