feat: add ASR status display in search results, fix unassigned traces param name
This commit is contained in:
@@ -118,6 +118,7 @@
|
||||
<span v-if="r.chunk_id" class="card-chunk">{{ r.chunk_id }}</span>
|
||||
<span v-if="r.start_frame" class="card-frame">F{{ r.start_frame }}–{{ r.end_frame }}</span>
|
||||
<span v-if="r.source" class="card-source">{{ r.source }}</span>
|
||||
<span v-if="r.asr_status" class="card-asr" :class="'card-asr--' + r.asr_status">{{ r.asr_message }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1034,6 +1035,11 @@ function openSource(src: SourceInfo) {
|
||||
.card-time { color: #9ca3af; }
|
||||
.card-score { color: #6366f1; font-weight: 500; }
|
||||
.card-source { background: #eef2ff; color: #4f46e5; border-radius: 4px; padding: 1px 5px; font-size: 10px; font-weight: 500; }
|
||||
.card-asr { border-radius: 4px; padding: 1px 5px; font-size: 10px; font-weight: 500; }
|
||||
.card-asr--no_audio_track { background: #f3f4f6; color: #6b7280; }
|
||||
.card-asr--silent_audio { background: #fef3c7; color: #d97706; }
|
||||
.card-asr--has_transcript { background: #d1fae5; color: #059669; }
|
||||
.card-asr--processing { background: #dbeafe; color: #2563eb; }
|
||||
|
||||
.ibar {
|
||||
border-top: 1px solid #e5e7eb;
|
||||
|
||||
Reference in New Issue
Block a user