Operator console: the agent conversations view announces English landmark names and "reply interrupted" on a French console (0.45.0)

未關閉 適合新手
#744 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
85/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
typescript

研究方向

從 src/presentation/islands/admin/agents/ 下受影響的四個對話檢視檔案,以及 src/admin/config/i18n/ 中的英文和法文表開始。找出 issue 中描述的四個硬編碼字串,並檢查附近的檢視字串如何進行本地化。完成標準是:名稱和關於遭中斷回覆的註腳以法文顯示、在英文中保持不變,且字串表一致性檢查通過。

由索引模型根據 Issue 內容生成。

描述

bug:ux-a11y domain:admin source:agent source:ai-drafted status:ready
Sovrium version

0.45.0

Last version that worked

No response

Install channel

Built from source

Database

SQLite

Operating system

macOS

Domain

admin

Kind of bug

ux-a11y

Minimal configuration
The operator console (`/_admin`) of a fresh app with no data, signed in as the only admin, light and dark schemes.
Steps to reproduce
  1. Set the console language to French (Profile › Language).
  2. Open /_admin/agents/<agent> with a conversation, including one whose reply was interrupted.
  3. Inspect the accessible names of the conversation list, the conversation region and the message thread, and read the footnote under the interrupted reply.
Expected behaviour

Every accessible name and visible string in the conversations view follows the console language, like the rest of the view (WCAG 2.1 SC 3.1.2, language of parts).

Actual behaviour

Four strings are hard-coded in English and bypass the view's own strings module: the list's aria-label="Conversations", the region's aria-label="Conversation", the thread's aria-label="Message thread", and the visible footnote reply interrupted. A French screen-reader user hears them in English on every visit.

Logs or error text

No response

Frequency

Every time

Workaround

No response

Acceptance criteria
  1. Given the French console, when the conversations view renders, then the list, region and thread are named in French.
  2. Given an interrupted reply on the French console, then its footnote reads in French.
  3. Given the English console, then the names are unchanged.
  4. The new strings exist in both the English and the French tables.
Affected paths
  • src/presentation/islands/admin/agents/admin-agent-conversations-list.tsx
  • src/presentation/islands/admin/agents/admin-agent-conversations-island.tsx
  • src/presentation/islands/admin/agents/admin-agent-conversations-thread.tsx
  • src/presentation/islands/admin/agents/admin-agent-conversations-turn.tsx
  • src/admin/config/i18n/ (English and French tables)
Verification

Open the view in French and English and read the accessible names with the browser's accessibility tree; the console's string-table parity check stays green.

Out of scope

Heading levels in the same view (separate issue); the language of message contents.

Related issues

#705 (engine-drawn strings in English on a French page).

Validation
  • I ran sovrium validate on my configuration
AI assistance
  • This report was drafted with an AI assistant
主要語言
TypeScript
星號
4
分支
0
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

sovrium/sovrium 的其他 Issue

查看 sovrium/sovrium 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。