优化: 会话入口与对话交互打磨
- 完成卡点开子代理轨迹浮层,任务抽屉关联会话跳转 - 提及片段编辑差分三向判定,不再错位 - 长回复折叠完成瞬间锚定消息顶,视口不跳 - 空编辑/技能无匹配/回填覆盖草稿均有提示确认 - 队列编辑态切会话重置,刷新快捷键不再误触 - git 变更面板去重缓存,项目卡骨架与溢出重测
This commit is contained in:
+5
-1
@@ -541,7 +541,11 @@ async function quickDelete(task: TaskRecord, childCount = 0) {
|
||||
// deleteTask 返成功布尔,失败 toast(store.error 同时走 error-banner)
|
||||
const ok = await store.deleteTask(task.id)
|
||||
if (!ok) showToast(t('tasks.err.deleteFailed'), 'error')
|
||||
} catch (e) { console.error('删除失败:', e) }
|
||||
} catch (e) {
|
||||
// UX走查 P3-3: throw 型异常原仅 console.error 静默,用户无感知;对齐 quickAdvance/quickPriority 的 toast 反馈
|
||||
console.error('删除失败:', e)
|
||||
showToast(e?.toString() ?? t('tasks.err.deleteFailed'), 'error')
|
||||
}
|
||||
}
|
||||
// 点击外部关闭快捷菜单
|
||||
function closeQuickMenu() { quickMenuId.value = null }
|
||||
|
||||
Reference in New Issue
Block a user