Commit Graph

  • f4b6b43c16 refactor: extract panel layout and simplify bot content structure cfngc4594 2025-06-20 23:03:23 +08:00
  • cd1127e051 style: normalize quotes and indentation cfngc4594 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 refactor/ai-improve-code fly6516 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 fly6516 2025-06-20 17:31:33 +08:00
  • 5bfa5fd642 refactor: abandoned updateProblem fly6516 2025-06-20 11:42:50 +08:00
  • 6e02c67013 feat(creater): realise problem-editor interactive with database logic fly6516 2025-06-20 11:42:10 +08:00
  • 012ca82d76 feat(admin): Implement admin problem editing and protected routing cfngc4594 2025-06-19 17:54:35 +08:00
  • 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. Dioxide 2025-06-18 21:14:50 +08:00
  • e0e19deb4e feat(creater): add feature to display multi-language description and solution in problem-creater fly6516 2025-06-17 16:18:59 +08:00
  • 2f0547aa58 feat(problem-editor): add feature to preload problem information if there already has had data in database - 添加了数据预加载功能,通过 getProblemData API 获取题目信息 - 优化了各个编辑面板的实现,提高了代码复用性和可维护性- 新增了测试用例编辑功能,支持多输入参数的管理 - 改进了题解编辑面板,增加了预览和对比功能 - 统一了表单元素的样式和交互方式,提升了用户体验 fly6516 2025-06-17 15:24:43 +08:00
  • 9c96e11ecc feat(problem-editor): realize backend for save problem edit fly6516 2025-06-17 01:35:04 +08:00
  • 712813eee6 refactor(creater): optimize problem-creater fly6516 2025-06-16 22:41:48 +08:00
  • 794872105f feat(问题编辑): add problem-editor page fly6516 2025-06-16 18:37:25 +08:00
  • acca25bd65 refactor(components): 重构 AI优化编辑器 fly6516 2025-06-14 13:33:26 +08:00
  • fee5dfccdf feat: migrate prototype of ai-optimized-editor feature fly6516 2025-06-14 11:33:17 +08:00
  • 56618fd335 refactor: flexlayout cfngc4594 2025-06-20 16:39:47 +08:00
  • 598ac222ed refactor(auth): Relocate unauthorized page cfngc4594 2025-06-19 17:35:56 +08:00
  • a47dcc1354 Create the unauthorized page Dioxide 2025-06-19 15:35:33 +08:00
  • 058cb2d766 feat(ui): add all Shadcn components cfngc4594 2025-06-16 17:49:25 +08:00
  • 0247053160 fix(testcase): fix testcase add data failure due to index did not refresh index after save testcase fly6516 2025-06-20 17:31:33 +08:00
  • 94450e4883 refactor: flexlayout cfngc4594 2025-06-20 16:39:47 +08:00
  • f4735f315a feat: add code analysisi cfngc4594 2025-06-20 15:18:41 +08:00
  • 5e89d67190 refactor: abandoned updateProblem fly6516 2025-06-20 11:42:50 +08:00
  • 8f02db22fa feat(creater): realise problem-editor interactive with database logic fly6516 2025-06-20 11:42:10 +08:00
  • e6b18884d6 Merge pull request #33 from massbug/fix-pr-29 cfngc4594 2025-06-19 17:58:44 +08:00
  • 7d4e4ae2e4 feat(admin): Implement admin problem editing and protected routing cfngc4594 2025-06-19 17:54:35 +08:00
  • a1b09453d0 Merge pull request #32 from massbug/fix-pr-31 cfngc4594 2025-06-19 17:41:29 +08:00
  • 8a6fedd928 refactor(auth): Relocate unauthorized page cfngc4594 2025-06-19 17:35:56 +08:00
  • 700f1e2cbe Create the unauthorized page Dioxide 2025-06-19 15:35:33 +08:00
  • 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. Dioxide 2025-06-18 21:14:50 +08:00
  • 3ac6337f96 Merge pull request #27 from massbug/refactor/problem_creater fly6516 2025-06-18 02:14:38 +08:00
  • 73f96d9c84 feat(creater): add feature to display multi-language description and solution in problem-creater refactor/problem_creater fly6516 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 获取题目信息 - 优化了各个编辑面板的实现,提高了代码复用性和可维护性- 新增了测试用例编辑功能,支持多输入参数的管理 - 改进了题解编辑面板,增加了预览和对比功能 - 统一了表单元素的样式和交互方式,提升了用户体验 fly6516 2025-06-17 15:24:43 +08:00
  • 207c0502f7 feat(problem-editor): realize backend for save problem edit fly6516 2025-06-17 01:35:04 +08:00
  • 1d7a44dcd5 refactor(creater): optimize problem-creater fly6516 2025-06-16 22:41:48 +08:00
  • 69d377403a feat(问题编辑): add problem-editor page fly6516 2025-06-16 18:37:25 +08:00
  • 3df53658e8 feat(ui): add all Shadcn components cfngc4594 2025-06-16 17:49:25 +08:00
  • 42526cdf31 Merge pull request #25 from massbug/fix-pr-23 cfngc4594 2025-06-16 17:02:33 +08:00
  • 0b9c338de4 refactor(run): rename trim to isTrim and simplify output comparison cfngc4594 2025-06-16 16:59:48 +08:00
  • 6d528f7757 feat(admin): add system moniter feat refactor/admin_panel fly6516 2025-06-16 13:27:08 +08:00
  • 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. dioxide 2025-06-15 17:16:39 +08:00
  • 4917bb4f23 fix(admin): fix error in sidebar.tsx fly6516 2025-06-15 16:24:32 +08:00
  • aaa8629e76 feat(admin): add prototype admin panel fly6516 2025-06-15 11:56:17 +08:00
  • 57f52b67fa refactor(components): 重构 AI优化编辑器 fly6516 2025-06-14 13:33:26 +08:00
  • 2cbc13e441 feat: migrate prototype of ai-optimized-editor feature fly6516 2025-06-14 11:33:17 +08:00
  • 941f1a74fa feat: replace dockview with flexlayout-react feat/update-main-branch cfngc4594 2025-06-13 14:03:17 +08:00
  • 2ca98cccfb refactor(store): 重构编辑器配置状态管理 frontsize-main fly6516 2025-05-17 09:57:55 +08:00
  • 96694604ec feat(store): 重构编辑器配置状态管理并添加持久化支持- 重构 useEditorConfigStore以支持完整的编辑器配置状态管理 - 添加 setConfig 方法以更新配置 - 实现配置的本地存储持久化 - 更新 EditorConfigPanel 组件以使用新的状态管理逻辑 fly6516 2025-05-17 09:49:18 +08:00
  • b36c4af282 feat(editor): 添加编辑器配置功能并优化布局 fly6516 2025-05-17 03:36:28 +08:00
  • 9d149e4254 feat: fix bugs and finalize ai-optimized-editor differeditor-main fly6516 2025-05-16 14:09:06 +08:00
  • 88be549430 refactor(app): 重构问题页面并添加 AI 优化功能 fly6516 2025-05-16 13:55:36 +08:00
  • 027f0fa4e9 refactor(components): 重构 AI优化编辑器组件 fly6516 2025-05-16 13:27:46 +08:00
  • a559734c30 refactor(ai-optimized-editor):优化 AI 代码编辑器布局- 调整了编辑器组件的 CSS 类,使其充满整个可用空间 - 优化了 DiffEditor 和 Editor 组件的布局,使其在显示和隐藏时能正确占用空间 - 移除了不必要的高度属性,使编辑器能根据内容自适应高度 fly6516 2025-05-16 11:26:09 +08:00
  • a54598853e style(ai-optimized-editor): 为优化后的代码编辑器添加全高和全宽类 fly6516 2025-05-16 11:22:59 +08:00
  • 1ca7b547c4 refactor(actions): 重构 AI优化代码的逻辑 fly6516 2025-05-16 11:08:47 +08:00
  • f325e4e9d4 feat: add correct problem id fly6516 2025-05-16 11:02:43 +08:00
  • 03f150214d chore(prisma): make TestcaseResult.output nullable in migration cfngc4594 2025-05-16 10:43:48 +08:00
  • 23a7e2e69e fix(prisma): make TestcaseResult.output field optional cfngc4594 2025-05-16 10:42:20 +08:00
  • c8586c671c refactor(actions): 优化 AI改进代码中的数据库查询 fly6516 2025-05-16 10:14:28 +08:00
  • a89864e70e refactor(app): 优化 AI编辑器测试页布局 fly6516 2025-05-16 10:10:53 +08:00
  • faf6a60821 refactor(app): 重构 AI编辑器测试页 fly6516 2025-05-16 04:04:21 +08:00
  • ba1a791616 Merge remote-tracking branch 'origin/differeditor-main' into differeditor-main fly6516 2025-05-16 03:48:54 +08:00
  • 40aab7ef38 feat: add test page fly6516 2025-05-16 03:48:37 +08:00
  • 35aed9209c refactor(actions): 更新 Prisma客户端导入方式 fly6516 2025-05-16 03:20:50 +08:00
  • e1b5231f90 feat(ai): 添加 AI 代码优化功能 fly6516 2025-05-16 02:40:07 +08:00
  • ebea5c986e feat(ai-improve): 添加题目详情并优化代码结构 differeditor-develop fly6516 2025-05-16 02:07:34 +08:00
  • fabdb7c17a feat(ai): 添加代码优化功能- 新增代码优化功能,替换原有的复杂度分析功能 - 创建 AI 配置模块,统一处理 OpenAI 相关配置 - 定义新的输入输出类型,优化代码结构 - 更新提示模板,引导 AI 优化代码 fly6516 2025-05-16 01:38:12 +08:00
  • a7456cd228 feat: init ai-improve.ts fly6516 2025-05-16 00:56:35 +08:00
  • 6854cd3960 feat: init code and database randomjudge-main fly6516 2025-05-15 12:38:55 +08:00
  • 9443ab6d6d refactor(api): extract OpenAI client to shared module cfngc4594 2025-05-14 22:30:45 +08:00
  • 1c031ce24e refactor(judge-button): migrate run code button to standalone component cfngc4594 2025-05-14 17:04:03 +08:00
  • 4ca6840bbd refactor(problems): consolidate judge status toast cfngc4594 2025-05-14 16:09:13 +08:00
  • 6fbe505c40 refactor(prisma): 重构测试用例数据及配置的插入逻辑 randomjudge fly6516 2025-05-14 14:02:56 +08:00
  • 9003e4b5a4 refactor(components): simplify BackButton by using TooltipButton cfngc4594 2025-05-13 17:38:26 +08:00
  • 2e74ffbac3 refactor(config): migrate editor options to standalone editor config cfngc4594 2025-05-13 16:56:42 +08:00
  • 49419654a0 feat(problemset): enhance header component with back button and className prop cfngc4594 2025-05-13 16:47:11 +08:00
  • 9766dea138 refactor(back-button): relocate and rename back button component cfngc4594 2025-05-13 16:43:01 +08:00
  • ad8a3e646e feat(code-panel): add code editor panel components cfngc4594 2025-05-13 16:37:35 +08:00
  • 33930e7a33 chore(utils): remove unused utility functions cfngc4594 2025-05-13 16:34:28 +08:00
  • bcdd72317c feat(store): add problem editor state management cfngc4594 2025-05-13 16:31:38 +08:00
  • 5aec2ec323 refactor(mdx-render): simplify theme configuration and change export style cfngc4594 2025-05-13 16:27:46 +08:00
  • ba1937ecbb refactor(problems): update ProblemHeader import path to new location cfngc4594 2025-05-13 16:14:57 +08:00
  • aec8393d2d feat(dockview): export Dockview component and create ProblemDockview wrapper cfngc4594 2025-05-13 16:08:33 +08:00
  • 148ae677d7 refactor(problemset): move components to separate files and improve structure cfngc4594 2025-05-13 16:03:46 +08:00
  • 0e3daefe48 feat(config): add LANGUAGES constant for language enum values cfngc4594 2025-05-13 16:00:52 +08:00
  • f6ed0baaf0 refactor(prisma): simplify prisma client initialization and remove caching cfngc4594 2025-05-13 15:59:57 +08:00
  • f9cbc5e085 refactor(code-toolbar): standardize component exports and simplify reset logic cfngc4594 2025-05-13 15:56:28 +08:00
  • eea16a8224 feat(problems): add localization support for problem descriptions and solutions cfngc4594 2025-05-13 15:36:07 +08:00
  • ad2aca2f67 refactor(language-selector): migrate to new location and implementation cfngc4594 2025-05-13 15:18:59 +08:00
  • cea0027799 refactor(shiki): migrate to shiki/core with lazy initialization cfngc4594 2025-05-13 14:48:32 +08:00
  • 2efdc21419 refactor(i18n): replace language-settings with locale-switcher cfngc4594 2025-05-12 23:40:32 +08:00
  • 2e2e0315a8 refactor(hooks): remove theme config and simplify theme hook cfngc4594 2025-05-12 21:19:05 +08:00
  • 01b72209ae refactor(i18n): migrate locale configuration to generated types cfngc4594 2025-05-12 21:07:43 +08:00
  • 4cc6456151 refactor(prisma): simplify schema and remove zod-prisma-types cfngc4594 2025-05-12 19:27:56 +08:00
  • 15b3f630d5 refactor(prisma): simplify schema and remove zod-prisma-types cfngc4594 2025-05-12 18:32:46 +08:00
  • 0e9207bfce chore(scripts): remove --turbopack flag from dev script cfngc4594 2025-05-12 11:22:31 +08:00
  • 9ec8768393 chore(shiki): convert function to arrow function cfngc4594 2025-05-09 09:42:24 +08:00
  • baf377b722 refactor(loading): change to named export and arrow function cfngc4594 2025-05-09 09:40:25 +08:00
  • 7e45010487 fix(styles): adjust tabs overflow container height in abyss theme cfngc4594 2025-05-08 11:27:10 +08:00
  • 614552bfc6 feat: change prototype seed.ts and run-code.tsx fly6516 2025-05-08 11:05:25 +08:00