Skip to content

Commit

Permalink
Improved build request management (#3736)
Browse files Browse the repository at this point in the history
* Improved build request management, enabling user to cancel and indicating whether processing has commenced.
* Adding timeout for the pending state (120 seconds) and minor refactor.
* Adding in some language versions for cancelled.
  • Loading branch information
blckmn authored Jan 10, 2024
1 parent a05af93 commit 2fc6465
Show file tree
Hide file tree
Showing 16 changed files with 149 additions and 59 deletions.
7 changes: 5 additions & 2 deletions locales/ca/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3335,10 +3335,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "èxit"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "cancel"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "s'ha esgotat el temps d'espera (torneu-ho a provar)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "ha fallat (comproveu el registre)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/da/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3331,10 +3331,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "succes"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "aflyst"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "timeout (prøv igen)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "mislykkedes (tjek log)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2967,10 +2967,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "Erfolgreich"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "Abgebrochen"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "Zeitüberschreitung (bitte erneut versuchen)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "Fehlgeschlagen (bitte Log prüfen)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
9 changes: 6 additions & 3 deletions locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@
},
"configurationMotorIdleRpmHelp" : {
"message": "This is the dynamic idle value from the active PID profile. When Dynamic Idle is set to zero, only static motor idle will apply. Change the Dynamic Idle settings on the PID tuning tab.",
"description": "Help text for dynamic idle setting"
"description": "Help text for dynamic idle setting"
},
"configurationThrottleMinimum": {
"message": "Minimum Throttle (Lowest ESC value when armed)"
Expand Down Expand Up @@ -3415,10 +3415,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "success"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "cancelled"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "timed out (please retry)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "failed (please check log)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3327,10 +3327,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "éxito"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "anulado"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "tiempo agotado (vuelve a intentarlo)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "error (revisa el registro)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2891,10 +2891,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "succès"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "annulé"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "temps expiré (veuillez réessayer)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "échec (veuillez vérifier le log)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/gl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3327,10 +3327,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "éxito"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "cancelación"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "tempo esgotado (volva a intentalo)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "fallou (verifique o rexistro)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3327,10 +3327,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "successo"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "annullato"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "timeout (riprova)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "fallito (si prega di controllare il log)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3327,10 +3327,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "成功しました"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "キャンセル"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "タイムアウトしました (再試行してください)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "失敗しました (ログを確認してください)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/ko/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3331,10 +3331,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "성공"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "취소가"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "시간 초과됨 (재시도하세요)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "실패 (로그기록을 확인하세요)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/pl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3331,10 +3331,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "ukończono"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "anulowane"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "przekroczono limit czasu (spróbuj ponownie)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "nie powiodło się (proszę sprawdzić logi)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/pt/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3327,10 +3327,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "sucesso"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "cancelado"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "tempo expirou (pf tente novamente)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "falhou (pf verifique o log)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/pt_BR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3121,10 +3121,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "sucesso"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "cancelado"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "tempo esgotado (tente novamente)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "falhou (por favor, verifique o log)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
7 changes: 5 additions & 2 deletions locales/uk/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3327,10 +3327,13 @@
"firmwareFlasherCloudBuildSuccess": {
"message": "успішно"
},
"firmwareFlasherCloudBuildTimedOut": {
"firmwareFlasherCloudBuildFailCancel": {
"message": "cкасовано"
},
"firmwareFlasherCloudBuildFailTimeOut": {
"message": "час вийшов (спробуйте ще раз)"
},
"firmwareFlasherCloudBuildFailed": {
"firmwareFlasherCloudBuildFail": {
"message": "не вдалося (перевірте журнал)"
},
"firmwareFlasherReleaseFileUrl": {
Expand Down
Loading

0 comments on commit 2fc6465

Please sign in to comment.