Commit Graph

219 Commits

Author SHA1 Message Date
f1f2a70c0e refactor(problem-store): consolidate problem data structure into ProblemWithDetails 2025-04-09 20:38:53 +08:00
a02335b255 feat(problem-store): add testcases to store state and provider 2025-04-09 19:41:55 +08:00
cb940f8608 refactor(problemset): simplify layout by removing Suspense wrapper 2025-04-08 19:15:06 +08:00
3e5e2d2a62 feat(dockview): support dynamic Lucide icons via string in tab headers 2025-04-07 10:32:58 +08:00
9a51c1547f feat(problems): add inactive state to dockview panels 2025-04-06 20:38:51 +08:00
01b19eadde feat(problem): enhance panels with icons using Lucide-react 2025-04-06 18:17:58 +08:00
4c120388ab feat(problem): add ProblemPage with DockView layout 2025-04-06 17:34:07 +08:00
9598430c9a refactor(layout): use children prop instead of individual panel components 2025-04-06 15:58:12 +08:00
8d7d88511e refactor(app/problems/[id]): restructure components into features directory with index exports 2025-04-06 15:46:43 +08:00
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