aaif-goose / aaif-goose/vscode-goose

perf(webview): memoize MessageItem/MessageList and remove click-to-focus

未關閉
#71 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
43
分支
20
PR 合併指標
30 天內沒有已合併 PR

描述

Extracted from #39. Wrap MessageItem and MessageList in React.memo to cut streaming-time re-renders, move the focus ring into UserMessage, and add a subtle hover ring.

Deliberate behavior removal to state in the PR: clicking a message no longer syncs the keyboard-nav index (focus becomes keyboard-only via Cmd/Ctrl+Up/Down).

**Size**: S | **Depends on**: nothing; complements #70 and can fold into it | **Tier**: 2

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Look for MessageItem and MessageList components in the webview code. Apply React.memo to them. Move the focus ring logic into UserMessage and add a hover style. Verify the click-to-focus behavior is removed as described. Test that streaming re-renders are reduced and keyboard navigation still works with Cmd/Ctrl+Up/Down.

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

評估

技術堆疊
react
領域
desktop, frontend
Issue 類型
重構
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
描述清楚
新手友好度
65/100

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

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