Add Retry for failed results

A failed plan item gets a Retry button on its card and in the preview. It
asks the engine for a fresh quote for that item and starts it again, while
the engine still allows another attempt (three per item).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Iqbal
2026-10-23 11:11:23 +07:00
parent 3df72c68ef
commit e00ffe9465
5 changed files with 57 additions and 7 deletions

View File

@@ -287,6 +287,9 @@ const en = {
'res.creditsUsed': 'Credits used',
'res.accepted': 'Approved.',
'res.rejected': 'Rejected.',
'res.retry': 'Retry',
'res.retrying': 'Retrying…',
'res.retried': 'Production started again.',
'res.audioNotice': 'Played with this device’s voice, which can differ between devices. Download the script to record it or use it in a TTS tool.',
'res.fullScript': 'Show the full script',
'res.scriptTxt': 'Script (.txt)',
@@ -621,6 +624,9 @@ const id: Record<Key, string> = {
'res.creditsUsed': 'Kredit terpakai',
'res.accepted': 'Disetujui.',
'res.rejected': 'Ditolak.',
'res.retry': 'Coba lagi',
'res.retrying': 'Mencoba lagi…',
'res.retried': 'Produksi dimulai lagi.',
'res.audioNotice': 'Diputar dengan suara perangkat ini, yang bisa berbeda antarperangkat. Unduh naskahnya untuk direkam atau dipakai di alat TTS.',
'res.fullScript': 'Lihat naskah lengkap',
'res.scriptTxt': 'Naskah (.txt)',