feat(web): say in plain words when a recording's audio left the homelab (#52)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -66,6 +66,12 @@ templ uploadStatus(u domain.UploadedTranscript, chatEnabled bool, now time.Time)
|
|||||||
Transcribed { uploads.FormatDuration(time.Duration(u.AudioSeconds * float64(time.Second))) }
|
Transcribed { uploads.FormatDuration(time.Duration(u.AudioSeconds * float64(time.Second))) }
|
||||||
of audio by <span class="chip">{ u.Endpoint }</span>.
|
of audio by <span class="chip">{ u.Endpoint }</span>.
|
||||||
</p>
|
</p>
|
||||||
|
if provider, cloud := cloudProvider(u.Endpoint); cloud {
|
||||||
|
<p class="cloud-note">
|
||||||
|
This recording's audio left the homelab: it was transcribed by a cloud service ({ provider })
|
||||||
|
because the local engine could not.
|
||||||
|
</p>
|
||||||
|
}
|
||||||
@reconciliationNote(u.Reconciliation)
|
@reconciliationNote(u.Reconciliation)
|
||||||
if len(u.Progress) > 0 {
|
if len(u.Progress) > 0 {
|
||||||
<details class="what-was-done" if hasNote(u.Progress) { open }>
|
<details class="what-was-done" if hasNote(u.Progress) { open }>
|
||||||
|
|||||||
+292
-273
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user