@switch (activePanel()) {
@case ('transcription') {
Queue
{{ backlog() }} asset(s) still processing · {{ failedAssets() }} failed
@if (selectedAsset(); as asset) {
@if (asset.excerpt) {
Transcript
{{ asset.excerpt }}
}
@if (asset.failure) {
Why it failed
{{ asset.failure }}
}
} @else {
Select an asset.
}
}
@case ('classifier') {
@if (selectedClass(); as item) {
{{ item.label }}
{{ classifierActionLabels[item.action] }}
Why it exists
{{ item.why }}
Terms
@for (term of item.terms; track term) {
{{ term }}
}
Performance
0 ? item.precision + '%' : 'no data'"
/>
A class that fires often and is wrong half the time teaches agents to
ignore the flag — worse than not having it.
} @else {
Select a class.
}
}
@case ('persona') {
@if (selectedPersona(); as persona) {
{{ persona.name }}
{{ persona.language }} · {{ persona.gender }}
Used for
@if (persona.usedFor.length > 0) {
@for (use of persona.usedFor; track use) {
}
} @else {
Not assigned to any surface yet.
}
Edit the text persona
} @else {
Select a voice.
}
}
@case ('video') {
@if (selectedVideo(); as item) {
{{ item.capability }}
{{ videoReadinessLabels[item.readiness] }}
What it is
{{ item.detail }}
@if (item.dependency) {
Waiting on
{{ item.dependency }}
} @else {
Open the call screen
}
} @else {
Select a capability.
}
}
}