705e0f29e4
refactor(dashboard): simplify student navigation
2026-05-29 11:55:56 +08:00
6764ca3416
fix(student-dashboard): count completed problems uniquely
2026-05-29 11:21:58 +08:00
6324cc9aa6
fix(submission): restrict submission access to current user
2026-05-29 10:28:56 +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
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
0dea7a4229
refactor: optimize code
2025-06-22 11:25:38 +08:00
c4622fa586
feat(ai): integrate AI code optimization with template support and editor toggling
2025-06-22 02:36:13 +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
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
9216f6e285
feat(problems): add published check in problem layout
2025-06-21 00:35:20 +08:00
cd1127e051
style: normalize quotes and indentation
2025-06-20 22:25:07 +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
794872105f
feat(问题编辑): add problem-editor page
...
- 添加了编辑问题描述、解决方案、详细信息、代码模板和测试用例的组件
- 实现了问题编辑页面的基本布局和功能
- 增加了富文本预览和对比功能
- 支持多种编程语言的代码编辑- 提供了测试用例的添加和删除功能
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
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
941f1a74fa
feat: replace dockview with flexlayout-react
2025-06-13 14:03:17 +08:00
9443ab6d6d
refactor(api): extract OpenAI client to shared module
2025-05-14 22:30:45 +08:00
ba1937ecbb
refactor(problems): update ProblemHeader import path to new location
2025-05-13 16:14:57 +08:00
148ae677d7
refactor(problemset): move components to separate files and improve structure
...
- Move ProblemsetHeader component from 'problemset-header' to 'header'
- Extract problemset table logic into dedicated ProblemsetTable component
- Add Suspense and skeleton loading for better UX
- Update layout and page structure
2025-05-13 16:03:46 +08:00
f0beb69b2c
fix(page): add missing return statement in RootPage component
2025-05-07 16:42:39 +08:00
b67b13d7bf
refactor(route): rename [id] to [problemId] in problems route
2025-05-07 14:59:17 +08:00
1db666a2ab
refactor(structure): reorganize page and component exports
...
- Move root page from /(app) to / directory
- Convert default exports to named exports in components
- Rename MainView component to HeroSection for better semantics
2025-05-07 14:06:31 +08:00
aed942e7e2
refactor(layouts): overhaul problem and problemset page structures
...
- Simplify ProblemLayout to use children prop and remove ProblemStoreProvider
- Replace PlaygroundHeader with dedicated ProblemHeader component
- Streamline ProblemsetLayout with new ProblemsetHeader
- Remove deprecated BackButton in favor of NavigateBackButton
- Delete unused ProblemStoreProvider and related dependencies
2025-05-06 21:22:13 +08:00
5f3eb72d00
refactor(problems): migrate description and solution to feature-based structure
...
- Remove old parallel route implementations (@Description and @Solutions)
- Add new feature-based components for problem description and solution
- Create content and panel components for both features
- Implement skeleton loading states
- Use cached data fetching
- Update MDX rendering and scroll area implementations
2025-05-06 19:38:50 +08:00
a3ef5d88e6
refactor(auth)!: remove components and rewrite sign-in page
2025-05-05 18:21:08 +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
f2d14d07b2
feat(home): Add PrimaryFeatures component
...
- Add PrimaryFeatures component with MobileFriendlyCard, DockerCard, and LSPCard.
- Update HomePage to include PrimaryFeatures component between MainView and FAQs.
2025-04-17 21:42:58 +08:00
5e7ef4a99d
feat(home): replace homepage redirect with actual content
2025-04-17 16:45:49 +08:00