Commit Graph

3 Commits

Author SHA1 Message Date
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