Merge branch 'dev' into hugo-shipping-notice
This commit is contained in:
commit
11079910ec
14 files changed
+194
-35
No files matched your search
@@ -86,6 +86,13 @@ const handleVideoEnded = () => {
|
||||
workspace.markVideoCompleted();
|
||||
};
|
||||
|
||||
const reportVideoDebugEvent = (event: Event) => {
|
||||
const video = event.target as HTMLVideoElement;
|
||||
// #region debug-point A-E:ios-video-runtime
|
||||
fetch('http://192.168.65.184:7777/event', { method: 'POST', body: JSON.stringify({ sessionId: 'ios-training-video', runId: 'pre-fix', hypothesisId: 'A-E', location: 'TrainingWorkspacePanel.vue:video', msg: '[DEBUG] iOS training video runtime event', data: { event: event.type, src: video.currentSrc || workspace.videoUrl, userAgent: navigator.userAgent, networkState: video.networkState, readyState: video.readyState, mediaErrorCode: video.error?.code ?? null, mediaErrorMessage: video.error?.message ?? null, duration: Number.isFinite(video.duration) ? video.duration : null, currentTime: video.currentTime }, ts: Date.now() }) }).catch(() => {});
|
||||
// #endregion
|
||||
};
|
||||
|
||||
const setWorkspaceExpanded = (expanded: boolean, manual = false) => {
|
||||
workspaceExpanded.value = expanded;
|
||||
emit('update:expanded', expanded);
|
||||
@@ -841,8 +848,17 @@ const handleStageCardClick = (stageKey: string) => {
|
||||
<div class="aspect-video bg-black">
|
||||
<video
|
||||
controls
|
||||
autoplay
|
||||
playsinline
|
||||
webkit-playsinline="true"
|
||||
preload="metadata"
|
||||
class="h-full w-full"
|
||||
@loadstart="reportVideoDebugEvent"
|
||||
@loadedmetadata="reportVideoDebugEvent"
|
||||
@canplay="reportVideoDebugEvent"
|
||||
@play="reportVideoDebugEvent"
|
||||
@error="reportVideoDebugEvent"
|
||||
@stalled="reportVideoDebugEvent"
|
||||
@abort="reportVideoDebugEvent"
|
||||
@timeupdate="handleVideoTimeUpdate"
|
||||
@seeking="handleVideoSeeking"
|
||||
@ended="handleVideoEnded"
|
||||
|
||||
@@ -1785,7 +1785,7 @@
|
||||
"usageTrendEmpty": "No trend data yet",
|
||||
"usageInsights": "Operational alerts",
|
||||
"usageLowAgents": "Low-usage apps",
|
||||
"usageLowAgentsHint": "Enabled apps with ≤ {max} chats in the selected range (including zero), sorted ascending, up to {limit}.",
|
||||
"usageLowAgentsHint": "Apps with ≤ {max} chats in the selected range, sorted ascending, showing up to {limit}.",
|
||||
"usageLowAgentsHintAria": "Show low-usage app selection rule",
|
||||
"usageLowAgentsEmpty": "No low-usage apps in this range",
|
||||
"usageSpikeDays": "Spike days",
|
||||
|
||||
@@ -65,7 +65,6 @@
|
||||
"retryLogin": "Please close this dialog and sign in again."
|
||||
},
|
||||
"wecomLogin": "Login with WeCom",
|
||||
"wecomComingSoon": "WeCom login is under development. Please stay tuned.",
|
||||
"wecomConnecting": "Connecting to WeCom...",
|
||||
"wecomStartFailed": "Failed to start WeCom login",
|
||||
"wecomInvalidState": "Invalid WeCom login state",
|
||||
|
||||
@@ -1767,7 +1767,7 @@
|
||||
"usageTrendEmpty": "ยังไม่มีข้อมูลแนวโน้ม",
|
||||
"usageInsights": "การแจ้งเตือนการดำเนินงาน",
|
||||
"usageLowAgents": "แอปที่ใช้น้อย",
|
||||
"usageLowAgentsHint": "แอปที่เปิดใช้และมีแชท ≤ {max} ครั้งในช่วงที่เลือก (รวมศูนย์ครั้ง) เรียงจากน้อยไปมาก แสดงสูงสุด {limit} รายการ",
|
||||
"usageLowAgentsHint": "แอปที่มีแชท ≤ {max} ครั้งในช่วงที่เลือก เรียงจากน้อยไปมาก แสดงสูงสุด {limit} รายการ",
|
||||
"usageLowAgentsHintAria": "ดูเกณฑ์การคัดเลือกแอปที่ใช้น้อย",
|
||||
"usageLowAgentsEmpty": "ไม่มีแอปที่ใช้น้อยในช่วงนี้",
|
||||
"usageSpikeDays": "วันที่มีการใช้งานพุ่งสูง",
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
"retryLogin": "กรุณาปิดหน้าต่างนี้แล้วเข้าสู่ระบบใหม่"
|
||||
},
|
||||
"wecomLogin": "เข้าสู่ระบบด้วย WeCom",
|
||||
"wecomComingSoon": "ฟีเจอร์เข้าสู่ระบบด้วย WeCom กำลังพัฒนา กรุณารอติดตาม",
|
||||
"wecomConnecting": "กำลังเชื่อมต่อ WeCom...",
|
||||
"wecomStartFailed": "เริ่มต้นการเข้าสู่ระบบด้วย WeCom ไม่สำเร็จ",
|
||||
"wecomInvalidState": "สถานะการเข้าสู่ระบบ WeCom ไม่ถูกต้อง",
|
||||
|
||||
@@ -1763,7 +1763,7 @@
|
||||
"usageTrendEmpty": "暂无趋势数据",
|
||||
"usageInsights": "运营提醒",
|
||||
"usageLowAgents": "低使用应用",
|
||||
"usageLowAgentsHint": "启用应用中,统计范围内对话次数 ≤ {max}(含零使用),按对话量升序最多展示 {limit} 个。",
|
||||
"usageLowAgentsHint": "统计范围内对话次数 ≤ {max} 的应用,按对话量升序最多展示 {limit} 个。",
|
||||
"usageLowAgentsHintAria": "查看低使用应用选取规则",
|
||||
"usageLowAgentsEmpty": "当前范围内暂无低使用应用",
|
||||
"usageSpikeDays": "异常高峰日期",
|
||||
|
||||
@@ -65,7 +65,6 @@
|
||||
"retryLogin": "请关闭此窗口后重新登录。"
|
||||
},
|
||||
"wecomLogin": "企业微信登录",
|
||||
"wecomComingSoon": "企业微信登录功能正在开发中,敬请期待",
|
||||
"wecomConnecting": "正在连接企业微信...",
|
||||
"wecomStartFailed": "启动企业微信登录失败",
|
||||
"wecomInvalidState": "企业微信登录状态无效",
|
||||
|
||||
@@ -1767,7 +1767,7 @@
|
||||
"usageTrendEmpty": "暫無趨勢資料",
|
||||
"usageInsights": "營運提醒",
|
||||
"usageLowAgents": "低使用應用",
|
||||
"usageLowAgentsHint": "啟用應用中,統計範圍內對話次數 ≤ {max}(含零使用),按對話量升序最多展示 {limit} 個。",
|
||||
"usageLowAgentsHint": "統計範圍內對話次數 ≤ {max} 的應用,按對話量升序最多展示 {limit} 個。",
|
||||
"usageLowAgentsHintAria": "查看低使用應用選取規則",
|
||||
"usageLowAgentsEmpty": "目前範圍內暫無低使用應用",
|
||||
"usageSpikeDays": "異常高峰日期",
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
"retryLogin": "請關閉此窗口後重新登入。"
|
||||
},
|
||||
"wecomLogin": "企業微信登錄",
|
||||
"wecomComingSoon": "企業微信登錄功能正在開發中,敬請期待",
|
||||
"wecomConnecting": "正在連接企業微信...",
|
||||
"wecomStartFailed": "啟動企業微信登錄失敗",
|
||||
"wecomInvalidState": "企業微信登入狀態無效",
|
||||
|
||||
Reference in new issue
Block a user