Commit Graph

11 Commits

Author SHA1 Message Date
e1b5231f90 feat(ai): 添加 AI 代码优化功能
- 实现了 AI代码优化的功能,包括语法错误修复、性能提升、代码可读性增强等
- 新增 AIProblemEditor 组件,用于展示和编辑优化后的代码
- 在问题页面集成 AI 优化功能,用户可以切换普通编辑器和 AI 优化编辑器
- 添加了优化代码的输入输出类型定义和验证
2025-05-16 02:40:07 +08:00
64182bccc6 fix(dockview): move panel titles from options to params to prevent i18n title persistence in layout 2025-04-19 12:53:39 +08:00
4428a29306 refactor(i18n): replace hardcoded texts with i18n message keys
Some checks failed
Build & Push Judge4c Docker Image / build-and-push-judge4c-docker-image (., Dockerfile, judge4c) (push) Failing after 1s
2025-04-15 18:22:21 +08:00
69d03f89da refactor(problem): remove TestResult tab and adjust tab positions 2025-04-14 16:25:10 +08:00
2d06b778e6 feat(problems): add Details panel for submission details view
- Add new Details component to display submission details
- Modify ProblemLayout and ProblemPage to support Details panel
- Implement Details page with submission code view and metadata
- Add navigation back to Submissions panel
2025-04-13 22:42:08 +08:00
a559c326a8 feat(problem): refactor layout and page components
- Refactored `ProblemLayout` to pass panel components (Description, Solutions, etc.) as props.
- Updated `ProblemPage` to dynamically render dock panels with content from props, instead of static components.
- Removed `DefaultDockviewOptions` and integrated custom panel configuration directly in `ProblemPage`.
- Enhanced `DockView` to support dynamic panel content rendering based on passed props.
2025-04-13 11:56:01 +08:00
3b1c2fc41b refactor(problem): replace inline dockview options with default config 2025-04-12 10:47:23 +08:00
3e5e2d2a62 feat(dockview): support dynamic Lucide icons via string in tab headers
Some checks failed
Build & Push Judge4c Docker Image / build-and-push-judge4c-docker-image (., Dockerfile, judge4c) (push) Failing after 0s
2025-04-07 10:32:58 +08:00
9a51c1547f feat(problems): add inactive state to dockview panels 2025-04-06 20:38:51 +08:00
01b19eadde feat(problem): enhance panels with icons using Lucide-react 2025-04-06 18:17:58 +08:00
4c120388ab feat(problem): add ProblemPage with DockView layout 2025-04-06 17:34:07 +08:00