Skip to content

Commit aa5c79b

Browse files
committed
chore: performance tuning and README update
- Wrap MainContent in React.memo to prevent unnecessary re-renders - Update README with new features (tabs, file filter, shortcuts, recent projects) - Add light-hover and dark-hover Tailwind colors for consistency
1 parent 430156d commit aa5c79b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
* 从视图中**删除**不需要的文件或文件夹。
3737
* 为 Markdown 文件提供**预览**模式。
3838
* **📋 一键复制**: 轻松复制整个项目结构和代码内容,或单独复制部分内容。
39+
* **🗂️ 标签页系统**: 在代码面板中以标签页形式打开多个文件,快速切换。
40+
* **🏷️ 文件类型过滤**: 通过可点击的扩展名标签快速筛选文件树中的文件类型。
41+
* **⌨️ 快捷键支持**: 按 Ctrl+/ 查看所有快捷键,支持快速打开、搜索和保存。
42+
* **🕐 最近项目**: 自动记录最近打开的项目,方便快速回顾。
3943
* **🤖 AI 聊天集成**:
4044
***Google Gemini** 模型无缝集成。
4145
* 自动将您的项目作为上下文,让您可以就代码提问、寻求建议或进行调试。

structure-insight/components/MainContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,4 +283,4 @@ const MainContent: React.FC<MainContentProps> = ({ logic, codeViewRef, leftPanel
283283
);
284284
};
285285

286-
export default MainContent;
286+
export default React.memo(MainContent);

0 commit comments

Comments
 (0)