{% extends "base.html" %} {% block title %}Voxint — review transcript {{ run.id.hex[:8] }}{% endblock %} {% block body %}

← workbench

Review transcript {{ run.id.hex[:8] }}

{{ run.media_item.source_path }}

{# This server-rendered line OWNS the claim state, JS on or off — the island deliberately renders no unclaimed notice of its own (review finding: the two copies used to double up after hydration). The inner span keeps the text one flex item so it wraps normally beside the status dot. #} {% if token %}

Claimed by you — verify and edit are enabled.

{% else %}

Not claimed by this tab — verifying and editing are disabled. Claim this run in the workbench to review.

{% endif %}

Read-only transcript (raw ASR evidence, all variants).

{% if not lines %}

No transcript segments for this run.

{% else %} {# Island mount (issue #53): the review-stepper hydrates the verify-and-advance loop + inline edit over this fallback. JS-off, the list below is fully usable: each unverified segment carries a plain verify form that POSTs and redirects back here (the write route content-negotiates). Inline TEXT editing needs the island — stated honestly, never faked. The progress track (issue #92) keeps the count as visible text; the bar is aria-hidden decoration. #}
{# Same card the hydrated island renders, so JS-off/island-failure does not drop the flagship surface (hydration replaces this innerHTML wholesale). #}

{{ progress.verified }} of {{ progress.total }} segments verified.

{% if progress.total > 0 %} {% endif %}
{% for ln in lines %} {% set idx = palette.get(ln.diarization_label) %} {% set uncertain = ln.confidence is not none and ln.confidence < low_confidence_threshold %}

[{{ "%.2f"|format(ln.start_seconds) }}–{{ "%.2f"|format(ln.end_seconds) }}] {% if uncertain %}uncertain{% endif %} {% if ln.verified %}verified{% endif %} {% if ln.corrected %}edited{% endif %} {% if ln.diarization_label %}{{ ln.diarization_label }}{% endif %} {% if ln.speaker != ln.diarization_label %}{{ ln.speaker }}:{% endif %} {{ ln.text }} {% if token and ln.segment_id and not ln.verified %}

{% endif %}

{% endfor %} {# Highlights fallback (issue #86): a read-only list of the run's annotations for JS-off / pre-hydration. Sits INSIDE the island wrapper, so hydration replaces it with the interactive Highlights panel. Creating and editing highlights needs the island — stated honestly, never faked. #} {% if island_props.annotations %}

Highlights ({{ island_props.annotations|length }})

Read-only list. Creating and editing highlights needs JavaScript.

{% endif %}
{% endif %} {% endblock %}