Commit Graph

4 Commits

Author SHA1 Message Date
e7e843fee0 feat(ai-optimized-editor): Add AIDisplayButton and store to add feature to view last AI generated optimized code
- 添加 AIDisplayButton组件,用于切换 AI 优化代码和原始代码
- 修改 AIOptimizeButton 组件,仅在非 AI 编辑模式下显示
- 在代码工具栏中集成 AIDisplayButton
- 更新 problem-editor store,添加 AIgenerate 和 LastOptimizedCode 状态
-优化 AIEditorWrapper 组件,支持生成优化代码和回退功能
2025-06-21 19:03:53 +08:00
ac67ad26a1 feat(problem-editor): optimize ai-optimized-editor button and store
-将 AIEditorWrapper 组件集成到 ProblemEditor 中
- 添加 AIOptimizeButton 组件到代码工具栏
- 更新 problem-editor store,增加 useAIEditor 和 loading 状态
- 调整 ProblemEditor 组件,根据 useAIEditor状态切换编辑器
2025-06-21 17:30:04 +08:00
941f1a74fa feat: replace dockview with flexlayout-react 2025-06-13 14:03:17 +08:00
bcdd72317c feat(store): add problem editor state management
- Create problem-editor store with Zustand
- Manage editor state including problem, language, value and path
- Implement localStorage persistence for editor content
- Provide utility functions for language and value retrieval
2025-05-13 16:31:38 +08:00