|
d437485b22
|
feat(panel): add horizontal scrollbar to edit panels
|
2025-06-21 01:54:15 +08:00 |
|
|
66403dbdb9
|
Merge pull request #41 from massbug/fix-pr-38
Fix pr 38
|
2025-06-21 00:42:15 +08:00 |
|
|
bb3b333fa0
|
Merge branch 'refactor/replace_dockview_with_flexlayout_react' into fix-pr-38
|
2025-06-21 00:42:03 +08:00 |
|
|
9216f6e285
|
feat(problems): add published check in problem layout
|
2025-06-21 00:35:20 +08:00 |
|
|
9b231cc5e5
|
refactor(creater): wrap Panel with PanelLayout and ScrollArea
|
2025-06-21 00:34:21 +08:00 |
|
|
f4b6b43c16
|
refactor: extract panel layout and simplify bot content structure
|
2025-06-20 23:03:23 +08:00 |
|
|
cd1127e051
|
style: normalize quotes and indentation
|
2025-06-20 22:25:07 +08:00 |
|
|
e85b8e967b
|
Merge branch 'refactor/ai-improve-code' of https://github.com/massbug/judge4c into refactor/ai-improve-code
|
2025-06-20 17:37:24 +08:00 |
|
|
2a3769b95c
|
fix(testcase): fix testcase add data failure due to index did not refresh index after save testcase
- 为测试用例添加唯一的临时 ID,避免重复
- 新增测试用例时检查输入和输出不能为空
- 保存测试用例时显示具体的成功和失败信息
- 保存完成后刷新最新测试用例数据
- 优化代码结构,提高可读性和可维护性
|
2025-06-20 17:37:00 +08:00 |
|
|
5bfa5fd642
|
refactor: abandoned updateProblem
删除了 src/app/actions/updateProblem.ts 文件,移除了 updateProblem函数及其相关逻辑。这可能是为了简化代码结构或使用新的实现方法。
|
2025-06-20 17:37:00 +08:00 |
|
|
6e02c67013
|
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-20 17:37:00 +08:00 |
|
|
012ca82d76
|
feat(admin): Implement admin problem editing and protected routing
|
2025-06-20 17:37:00 +08:00 |
|
Dioxide
|
c9f8448721
|
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-20 17:37:00 +08:00 |
|
|
e0e19deb4e
|
feat(creater): add feature to display multi-language description and solution in problem-creater
- 在编辑题目描述和解析面板中添加语言切换功能
- 实现获取题目支持的语言列表和对应语言的题目数据
- 增加添加新语言的功能(仅前端)
-优化题目描述和解析的编辑、预览和对比功能
- 在预览中添加 Accordion 和 VideoEmbed 组件支持
|
2025-06-20 17:37:00 +08:00 |
|
|
2f0547aa58
|
feat(problem-editor): add feature to preload problem information if there already has had data in database
- 添加了数据预加载功能,通过 getProblemData API 获取题目信息
- 优化了各个编辑面板的实现,提高了代码复用性和可维护性- 新增了测试用例编辑功能,支持多输入参数的管理
- 改进了题解编辑面板,增加了预览和对比功能
- 统一了表单元素的样式和交互方式,提升了用户体验
|
2025-06-20 17:37:00 +08:00 |
|
|
9c96e11ecc
|
feat(problem-editor): realize backend for save problem edit
- 在编辑面板组件中添加 onUpdate属性,用于处理数据更新
- 新增 updateProblem 函数,实现问题数据的更新逻辑
- 在问题编辑页面中集成更新功能,实现即时保存
|
2025-06-20 17:37:00 +08:00 |
|
|
712813eee6
|
refactor(creater): optimize problem-creater
-为 edit-description-panel 和 edit-solution-panel 组件添加 Card 组件包装,提升视觉效果
- 用 CoreEditor 组件替换原有的 Textarea,增强编辑功能
- 优化组件结构,提高可维护性和可扩展性
|
2025-06-20 17:37:00 +08:00 |
|
|
794872105f
|
feat(问题编辑): add problem-editor page
- 添加了编辑问题描述、解决方案、详细信息、代码模板和测试用例的组件
- 实现了问题编辑页面的基本布局和功能
- 增加了富文本预览和对比功能
- 支持多种编程语言的代码编辑- 提供了测试用例的添加和删除功能
|
2025-06-20 17:37:00 +08:00 |
|
|
acca25bd65
|
refactor(components): 重构 AI优化编辑器
- 将 AIProblemEditor 组件改为 AIEditorWrapper 组件
- 移除与语言服务器相关的逻辑和状态管理- 简化了代码结构,提高了组件的可复用性和可维护性
- 优化了 AI 代码优化功能,增加了应用优化结果的按钮
-调整了样式,使界面更加直观
|
2025-06-20 17:37:00 +08:00 |
|
|
fee5dfccdf
|
feat: migrate prototype of ai-optimized-editor feature
|
2025-06-20 17:37:00 +08:00 |
|
|
56618fd335
|
refactor: flexlayout
|
2025-06-20 17:37:00 +08:00 |
|
|
598ac222ed
|
refactor(auth): Relocate unauthorized page
|
2025-06-20 17:37:00 +08:00 |
|
Dioxide
|
a47dcc1354
|
Create the unauthorized page
|
2025-06-20 17:37:00 +08:00 |
|
|
058cb2d766
|
feat(ui): add all Shadcn components
|
2025-06-20 17:37:00 +08:00 |
|
|
0247053160
|
fix(testcase): fix testcase add data failure due to index did not refresh index after save testcase
- 为测试用例添加唯一的临时 ID,避免重复
- 新增测试用例时检查输入和输出不能为空
- 保存测试用例时显示具体的成功和失败信息
- 保存完成后刷新最新测试用例数据
- 优化代码结构,提高可读性和可维护性
|
2025-06-20 17:31:33 +08:00 |
|
|
94450e4883
|
refactor: flexlayout
|
2025-06-20 16:39:47 +08:00 |
|
|
5e89d67190
|
refactor: abandoned updateProblem
删除了 src/app/actions/updateProblem.ts 文件,移除了 updateProblem函数及其相关逻辑。这可能是为了简化代码结构或使用新的实现方法。
|
2025-06-20 11:42:50 +08:00 |
|
|
8f02db22fa
|
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-20 11:42:10 +08:00 |
|
|
e6b18884d6
|
Merge pull request #33 from massbug/fix-pr-29
Fix pr 29
|
2025-06-19 17:58:44 +08:00 |
|
|
7d4e4ae2e4
|
feat(admin): Implement admin problem editing and protected routing
|
2025-06-19 17:54:35 +08:00 |
|
|
a1b09453d0
|
Merge pull request #32 from massbug/fix-pr-31
Fix pr 31
|
2025-06-19 17:41:29 +08:00 |
|
|
8a6fedd928
|
refactor(auth): Relocate unauthorized page
|
2025-06-19 17:35:56 +08:00 |
|
Dioxide
|
700f1e2cbe
|
Create the unauthorized page
|
2025-06-19 15:35:33 +08:00 |
|
Dioxide
|
845a26239a
|
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-18 21:14:50 +08:00 |
|
|
3ac6337f96
|
Merge pull request #27 from massbug/refactor/problem_creater
Refactor/problem creater
|
2025-06-18 02:14:38 +08:00 |
|
|
73f96d9c84
|
feat(creater): add feature to display multi-language description and solution in problem-creater
- 在编辑题目描述和解析面板中添加语言切换功能
- 实现获取题目支持的语言列表和对应语言的题目数据
- 增加添加新语言的功能(仅前端)
-优化题目描述和解析的编辑、预览和对比功能
- 在预览中添加 Accordion 和 VideoEmbed 组件支持
|
2025-06-17 16:18:59 +08:00 |
|
|
2899629848
|
feat(problem-editor): add feature to preload problem information if there already has had data in database
- 添加了数据预加载功能,通过 getProblemData API 获取题目信息
- 优化了各个编辑面板的实现,提高了代码复用性和可维护性- 新增了测试用例编辑功能,支持多输入参数的管理
- 改进了题解编辑面板,增加了预览和对比功能
- 统一了表单元素的样式和交互方式,提升了用户体验
|
2025-06-17 15:24:43 +08:00 |
|
|
207c0502f7
|
feat(problem-editor): realize backend for save problem edit
- 在编辑面板组件中添加 onUpdate属性,用于处理数据更新
- 新增 updateProblem 函数,实现问题数据的更新逻辑
- 在问题编辑页面中集成更新功能,实现即时保存
|
2025-06-17 01:35:04 +08:00 |
|
|
1d7a44dcd5
|
refactor(creater): optimize problem-creater
-为 edit-description-panel 和 edit-solution-panel 组件添加 Card 组件包装,提升视觉效果
- 用 CoreEditor 组件替换原有的 Textarea,增强编辑功能
- 优化组件结构,提高可维护性和可扩展性
|
2025-06-16 22:41:48 +08:00 |
|
|
69d377403a
|
feat(问题编辑): add problem-editor page
- 添加了编辑问题描述、解决方案、详细信息、代码模板和测试用例的组件
- 实现了问题编辑页面的基本布局和功能
- 增加了富文本预览和对比功能
- 支持多种编程语言的代码编辑- 提供了测试用例的添加和删除功能
|
2025-06-16 18:37:25 +08:00 |
|
|
3df53658e8
|
feat(ui): add all Shadcn components
|
2025-06-16 17:49:25 +08:00 |
|
|
42526cdf31
|
Merge pull request #25 from massbug/fix-pr-23
Fixes #23
|
2025-06-16 17:02:33 +08:00 |
|
|
0b9c338de4
|
refactor(run): rename trim to isTrim and simplify output comparison
- Change boolean parameter name from 'trim' to 'isTrim' for better clarity
- Simplify output comparison logic by inlining ternary expression
|
2025-06-16 16:59:48 +08:00 |
|
dioxide
|
7f79b901b7
|
Add trim function to ignore the whitespace character.
Add a trim key to mark whether the answer should be trimmed.
Add a judgement to determine whether the trim should work.
|
2025-06-15 17:16:39 +08:00 |
|
|
57f52b67fa
|
refactor(components): 重构 AI优化编辑器
- 将 AIProblemEditor 组件改为 AIEditorWrapper 组件
- 移除与语言服务器相关的逻辑和状态管理- 简化了代码结构,提高了组件的可复用性和可维护性
- 优化了 AI 代码优化功能,增加了应用优化结果的按钮
-调整了样式,使界面更加直观
|
2025-06-14 13:33:26 +08:00 |
|
|
2cbc13e441
|
feat: migrate prototype of ai-optimized-editor feature
|
2025-06-14 11:33:17 +08:00 |
|
|
941f1a74fa
|
feat: replace dockview with flexlayout-react
|
2025-06-13 14:03:17 +08:00 |
|
|
03f150214d
|
chore(prisma): make TestcaseResult.output nullable in migration
|
2025-05-16 10:43:48 +08:00 |
|
|
23a7e2e69e
|
fix(prisma): make TestcaseResult.output field optional
|
2025-05-16 10:42:20 +08:00 |
|
|
9443ab6d6d
|
refactor(api): extract OpenAI client to shared module
|
2025-05-14 22:30:45 +08:00 |
|