573007398e
feat(panel-layout): add scrollable content support with isScroll prop
...
- Add ScrollArea and ScrollBar components from ui/scroll-area
- Introduce optional isScroll prop (defaults to true) to control scrolling
- Maintain backward compatibility with existing usage
2025-06-21 12:45:39 +08:00
f1882e5410
feat(panel): add horizontal scrollbar to edit panels
2025-06-21 12:45:39 +08:00
7cda49116e
refactor(creater): wrap Panel with PanelLayout and ScrollArea
2025-06-21 12:45:10 +08:00
c372856c3a
style: normalize quotes and indentation
2025-06-21 12:45:10 +08:00
055a532f3f
fix(testcase): fix testcase add data failure due to index did not refresh index after save testcase
...
- 为测试用例添加唯一的临时 ID,避免重复
- 新增测试用例时检查输入和输出不能为空
- 保存测试用例时显示具体的成功和失败信息
- 保存完成后刷新最新测试用例数据
- 优化代码结构,提高可读性和可维护性
2025-06-21 12:45:10 +08:00
f858ccb066
feat(creater): realise problem-editor interactive with database logic
...
- 在 edit-code-panel、edit-description-panel、edit-detail-panel、edit-solution-panel 和 edit-testcase-panel 组件中添加保存逻辑
- 实现与后端 API 的交互,包括保存代码模板、题目描述、详情、解析和测试用例
-优化错误处理和用户提示,使用 toast 组件显示操作结果
- 调整界面布局和交互细节,提升用户体验
2025-06-21 12:45:10 +08:00
Dioxide
16623f4b4d
The window is basically complete, but there are some issues need to fix.
...
1. The window won't scroll when complete.
2. The AI needs the context to generate new inputs, I don't know
how to write.
2025-06-21 12:45:10 +08:00
19824e0877
feat(problem-editor): add feature to preload problem information if there already has had data in database
...
- 添加了数据预加载功能,通过 getProblemData API 获取题目信息
- 优化了各个编辑面板的实现,提高了代码复用性和可维护性- 新增了测试用例编辑功能,支持多输入参数的管理
- 改进了题解编辑面板,增加了预览和对比功能
- 统一了表单元素的样式和交互方式,提升了用户体验
2025-06-21 12:45:10 +08:00
f63d869403
feat(problem-editor): realize backend for save problem edit
...
- 在编辑面板组件中添加 onUpdate属性,用于处理数据更新
- 新增 updateProblem 函数,实现问题数据的更新逻辑
- 在问题编辑页面中集成更新功能,实现即时保存
2025-06-21 12:44:56 +08:00
4141f0c017
feat(问题编辑): add problem-editor page
...
- 添加了编辑问题描述、解决方案、详细信息、代码模板和测试用例的组件
- 实现了问题编辑页面的基本布局和功能
- 增加了富文本预览和对比功能
- 支持多种编程语言的代码编辑- 提供了测试用例的添加和删除功能
2025-06-21 12:44:56 +08:00
6da7671242
fix(testcase): fix testcase add data failure due to index did not refresh index after save testcase
...
- 为测试用例添加唯一的临时 ID,避免重复
- 新增测试用例时检查输入和输出不能为空
- 保存测试用例时显示具体的成功和失败信息
- 保存完成后刷新最新测试用例数据
- 优化代码结构,提高可读性和可维护性
2025-06-21 12:43:16 +08:00
cf09a15893
feat(creater): realise problem-editor interactive with database logic
...
- 在 edit-code-panel、edit-description-panel、edit-detail-panel、edit-solution-panel 和 edit-testcase-panel 组件中添加保存逻辑
- 实现与后端 API 的交互,包括保存代码模板、题目描述、详情、解析和测试用例
-优化错误处理和用户提示,使用 toast 组件显示操作结果
- 调整界面布局和交互细节,提升用户体验
2025-06-21 12:43:16 +08:00
Dioxide
22ce35ca7d
The window is basically complete, but there are some issues need to fix.
...
1. The window won't scroll when complete.
2. The AI needs the context to generate new inputs, I don't know
how to write.
2025-06-21 12:43:16 +08:00
95a1817419
feat(problem-editor): add feature to preload problem information if there already has had data in database
...
- 添加了数据预加载功能,通过 getProblemData API 获取题目信息
- 优化了各个编辑面板的实现,提高了代码复用性和可维护性- 新增了测试用例编辑功能,支持多输入参数的管理
- 改进了题解编辑面板,增加了预览和对比功能
- 统一了表单元素的样式和交互方式,提升了用户体验
2025-06-21 12:43:16 +08:00
956a37d825
feat(problem-editor): realize backend for save problem edit
...
- 在编辑面板组件中添加 onUpdate属性,用于处理数据更新
- 新增 updateProblem 函数,实现问题数据的更新逻辑
- 在问题编辑页面中集成更新功能,实现即时保存
2025-06-21 12:43:16 +08:00
c74446d492
feat(问题编辑): add problem-editor page
...
- 添加了编辑问题描述、解决方案、详细信息、代码模板和测试用例的组件
- 实现了问题编辑页面的基本布局和功能
- 增加了富文本预览和对比功能
- 支持多种编程语言的代码编辑- 提供了测试用例的添加和删除功能
2025-06-21 12:43:16 +08:00