Commit Graph

210 Commits

Author SHA1 Message Date
787f91b743 style(problemset): increase odd row background opacity in tables 2025-04-05 23:34:48 +08:00
ba676b3213 feat(problem): add Bot panel and adapt to new dockview API 2025-04-05 18:03:36 +08:00
6c34fa0171 refactor(problems): restructure bot parallel routing 2025-04-05 16:21:35 +08:00
0d074a556d feat(store): add hydration logic and state management to new problem store 2025-04-04 21:13:12 +08:00
a8e243204b feat(layout): refactor problem layout to use DockView for organizing content sections 2025-04-04 18:13:14 +08:00
ba11f1d5ba style(layout): update html and body class names for full-height layout 2025-04-04 13:36:34 +08:00
30fd6fd386 refactor(actions): move actions from @/app/actions to @/actions 2025-04-04 10:04:38 +08:00
901e2aa487 feat(admin/problemset): add new problem creation pages 2025-04-02 09:29:18 +08:00
623e4929ac feat(admin/problemset): add Zustand store for new problem state 2025-04-02 09:28:09 +08:00
750fb74653 chore(imports): update imports to use @/generated/client instead of @prisma/client 2025-04-01 11:46:25 +08:00
aa9d6d5586 feat(judge): add stdin support with test cases and default timeLimit 2025-03-31 22:07:02 +08:00
7f3ac2e0ec style(problemset): refine table row styles for better UI consistency 2025-03-31 22:02:49 +08:00
653402614a feat(admin/problemset): add problem list table with Prisma query 2025-03-31 21:39:18 +08:00
6ab3e16598 refactor(utils): move getDifficultyColor function 2025-03-30 21:04:23 +08:00
33e19d3318 fix(form): show error message when input is empty before submitting form 2025-03-28 10:42:59 +08:00
95eed59c26 feat(ai-bot): add Ctrl+Enter support and tooltip for message submission 2025-03-27 15:17:36 +08:00
fbe0ef63d8 refactor(playground): simplify chat layout and unify scroll area styles 2025-03-26 22:57:16 +08:00
9e634853e8 fix(styles): remove default margin from markdown figures 2025-03-26 19:50:40 +08:00
b6f16becda feat(docker): support remote Docker client configuration 2025-03-26 14:49:27 +08:00
b9c843e33e chore(metadata): rename project to Judge4c and update description 2025-03-25 22:01:12 +08:00
d31edbaf08 refactor(playground): remove generateStaticParams function 2025-03-25 21:02:09 +08:00
315a33bd95 fix(ai-bot): correct bot name from "Asi" to "Ask" 2025-03-25 12:22:17 +08:00
99f8407e2a feat(ai-bot): add empty state UI and improve message handling 2025-03-25 10:29:25 +08:00
d560904779 feat(api/chat): add OpenAI-based chat route with sarcastic AI personality 2025-03-25 10:03:04 +08:00
7d73118759 feat(ai-bot): enhance AI chat with code integration and optimizations 2025-03-25 00:27:56 +08:00
cbe8ff9941 feat(ai-bot): integrate problem data into AI bot page initialization 2025-03-24 21:24:20 +08:00
8d8b6666b4 feat(playground): add AI chat interface for bot 2025-03-24 19:58:48 +08:00
c7e2b59ddf feat(playground): add AI bot layout with suspense fallback 2025-03-24 19:57:07 +08:00
6f26be6119 feat(playground): add AI layout with bot tab 2025-03-24 19:56:06 +08:00
da92cd49bc feat(playground): add AI panel to problem layout 2025-03-24 19:55:17 +08:00
599d44b341 refactor(globals): migrate global styles to components and adjust layout 2025-03-24 13:57:26 +08:00
cc3fb8afc4 feat(playground): add generateStaticParams for problem static generation 2025-03-24 11:28:40 +08:00
45cbbc2978 refactor(PlaygroundLayout): separate templates from problemData 2025-03-24 10:39:56 +08:00
d0118eca65 refactor(playground): migrate problem description to client component 2025-03-24 10:33:14 +08:00
288a3cc4c5 feat(playground): include full problem data in provider 2025-03-24 10:32:20 +08:00
c97613ac1d refactor(problem-editor): rename CodeEditor to ProblemEditor 2025-03-23 23:55:11 +08:00
c5cf52168b refactor(problemset): remove force-dynamic export 2025-03-23 14:16:57 +08:00
985da4f804 feat(auth): modify signIn logic to prevent redirect after credentials sign-in 2025-03-22 13:18:06 +08:00
107f5d6670 feat(problemset): display sequential index instead of database id 2025-03-22 12:30:04 +08:00
e5ba5dd51a refactor(hooks): rename use-problem-editor.ts to use-problem.ts 2025-03-22 00:23:27 +08:00
f43ba10a57 refactor(store): rename src/store to src/stores 2025-03-21 23:58:40 +08:00
321a712bf9 feat(playground-layout): integrate problem data fetching and editor configuration 2025-03-20 16:12:23 +08:00
d79b88e0b6 refactor(page): simplify WorkspaceEditorPage by removing unnecessary database queries and state management 2025-03-20 16:10:11 +08:00
ceee810e14 refactor(page): update import paths for WorkspaceEditorHeader and WorkspaceEditorFooter 2025-03-20 15:58:05 +08:00
783b8415ea refactor(editor): integrate ProblemEditorProvider for workspace editor 2025-03-20 14:44:17 +08:00
8ab8892388 fix(auth): improve credential validation and password verification 2025-03-19 08:34:15 +08:00
919016cf27 fix(auth): update error message for sign-in and sign-up functions 2025-03-18 23:24:36 +08:00
bef8dcee44 feat(auth): enhance signIn and signUp with error handling and form value types 2025-03-18 22:50:06 +08:00
c9c07664cf feat(layout): update Toaster position to top-right 2025-03-18 22:49:06 +08:00
63c0656f25 feat(auth): assign ADMIN role to the first user on sign up 2025-03-18 21:53:59 +08:00