Skip to content

[area:ux] 润色为空(finalText 为空)时,历史页「复制」复制到空字符串,识别原文无法从 UI 取回 #751

Description

@katanumahotori

现象

  • 使用非「原文」输出模式(如「轻整文 / light」)完成一次语音转写 + 润色。
  • 偶发:润色结果 finalText 为空(0 字),但 rawTranscript(识别原文)完整存在,且 errorCode 仍为 null(未被判定为错误)。
  • 历史页详情:左侧「原文」正常显示全文;右侧润色结果为空白;底部显示「0 字 · 已复制,请 Ctrl+V」。
  • 右上「复制」按钮复制的是 finalText(空串),用户无法从 UI 复制到左侧可见的识别原文
  • 「重新转录」按钮仅在 errorCode === transcribeFailed/emptyTranscript 且有录音时出现:本例 ASR 成功、errorCode 为 null,按钮不出现;即便出现也无济于事(失败的是润色而非转录)。
  • 结果:识别原文在 UI 中可见却取不回;若录音已被 retention / 条数 cap 清理,只能手动去翻 history.json

复现

  1. 输出模式设为「轻整文 / light」。
  2. 录一段较长内容(本例约 86 秒)。
  3. 当本次润色返回空时,进入历史页查看该条。

证据

  • 平台:Windows;输出模式:light;时长约 86s。
  • history.json 该条:finalText: ""rawTranscript(约 353 字)完整,insertStatus: "copiedFallback"errorCode: null
  • 截图:原文面板有完整内容,润色面板空白,底部显示「0 字」。

期望

  • 「复制」在 finalText 为空时回退复制 rawTranscript,不要复制空串。
  • 原文面板提供独立「复制」入口,使识别原文随时可取回。

备注

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions