Commit Graph

927 Commits

Author SHA1 Message Date
4d97ed602d refactor(chat): update system prompt to provide constructive programming guidance 2026-05-29 12:21:13 +08:00
0c1ccb556f fix(detail): remove stale detail tab without submission 2026-05-29 12:19:42 +08:00
12c2963447 feat(settings): add code editor preferences 2026-05-29 12:12:27 +08:00
705e0f29e4 refactor(dashboard): simplify student navigation 2026-05-29 11:55:56 +08:00
be8f3ee945 fix(submission): open detail tab from current layout 2026-05-29 11:37:09 +08:00
6764ca3416 fix(student-dashboard): count completed problems uniquely 2026-05-29 11:21:58 +08:00
b2505eda46 fix(i18n): localize dashboard menu item 2026-05-29 10:48:11 +08:00
ed547d4f97 fix(code): keep editor footer visible during resize 2026-05-29 10:41:58 +08:00
6324cc9aa6 fix(submission): restrict submission access to current user 2026-05-29 10:28:56 +08:00
662e223042 chore(seed): update local seed users and language server config 2026-05-19 16:49:18 +08:00
3d7fc0161d fix(auth): redirect unauthorized dashboard access to unauthorized page 2026-05-19 16:49:14 +08:00
f0b69f5768 fix(student-dashboard): handle empty pie chart data states gracefully 2026-05-19 16:49:12 +08:00
8473d6ed61 feat(problem-management): add localized problem title column in user table 2026-05-19 16:49:09 +08:00
318249d20e feat(i18n): add localized sidebar and breadcrumb labels 2026-05-19 16:49:03 +08:00
2cbe91d487 feat(role): rename_guest_role_to_student 2026-05-15 11:40:48 +08:00
c4e7a3b6f5 feat(judge): refactor submission pipeline to async processing 2026-05-13 15:31:58 +08:00
6d4aef9543 feat(course): add course-assignment workflow with role-based access and assignment-scoped judging 2026-05-06 21:16:01 +08:00
03fa169a81 refactor(ai): update AI provider configuration and replace OpenAI references with new AI model setup 2026-04-28 18:08:51 +08:00
a0920a0099 feat(config): add DEEPSEEK_API_KEY to local compose configuration 2026-04-27 15:26:35 +08:00
185212f2b5 chore(i18n): translate user menu items to Chinese 2025-06-22 11:41:26 +08:00
ef5a344cc0 fix(problem-editor): use original value instead of optimized code in non-diff view 2025-06-22 11:40:43 +08:00
2344748666
Merge pull request #50 from massbug/fix-pr-47
refactor: optimize code
2025-06-22 11:29:02 +08:00
0dea7a4229 refactor: optimize code 2025-06-22 11:25:38 +08:00
9c092eeda2
Merge pull request #49 from massbug/fix-pr-47
Fix pr 47
2025-06-22 02:37:12 +08:00
c4622fa586 feat(ai): integrate AI code optimization with template support and editor toggling 2025-06-22 02:36:13 +08:00
135bb6b0c8
Merge pull request #48 from massbug/fix-pr-46
Fix pr 46
2025-06-22 01:37:46 +08:00
19fac9b3d6 feat(auth): add protected layout with role-based access control 2025-06-22 01:32:59 +08:00
0695dd2f61 refactor: format and relocate code 2025-06-21 23:19:49 +08:00
Asuka
47feffd62c feat: add dashboard 2025-06-21 17:58:00 +08:00
Asuka
dff0515dbb 暂时保存 2025-06-21 17:57:36 +08:00
Asuka
bcbe2868d5 6.19 2025-06-21 17:57:36 +08:00
Asuka
5ee0c86fcc 6.19 2025-06-21 17:57:36 +08:00
Asuka
932bdbfd87 6.19 2025-06-21 17:57:36 +08:00
Asuka
24c58b8329 6.18 2025-06-21 17:57:36 +08:00
Asuka
69dfadd81a 测试 2025-06-21 17:57:35 +08:00
e83a1165da feat(analysis): implement real-time code analysis with async processing and status tracking 2025-06-21 17:04:52 +08:00
ab598459a2 feat: add code analysisi 2025-06-21 13:52:34 +08:00
b34acf37b9 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 13:26:27 +08:00
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