7963d38388
feat(submissions): add submissions table component and display on problem page
...
- Added `SubmissionsTable` component to display submissions (including status, language, time, memory, and submission date).
- Updated `Submissions` page to render `SubmissionsTable` with submissions data from `ProblemStore`.
- Improved table sorting and date display logic.
2025-04-11 17:44:45 +08:00
82b0705bdb
feat(problem-store): add submissions to problem store state and provider
...
- Added `submissions` field to `ProblemState` and `ProblemStore` type
- Updated `createProblemStore` function to handle `submissions`
- Modified `ProblemStoreProvider` to pass `submissions` as a prop
- Updated `ProblemLayout` to fetch `submissions` from the database and pass to the provider
2025-04-11 17:42:52 +08:00
10c1716019
style(bot): simplify layout and optimize className order
2025-04-10 10:44:39 +08:00
2f2c8ab112
refactor(problems): improve testcase scroll layout using ScrollArea
2025-04-10 10:41:36 +08:00
3f10c08a6c
feat(testcase): add dynamic testcase card and form for problem view
Build & Push Judge4c Docker Image / build-and-push-judge4c-docker-image (., Dockerfile, judge4c) (push) Failing after 1s
2025-04-09 21:26:06 +08:00
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
Build & Push Judge4c Docker Image / build-and-push-judge4c-docker-image (., Dockerfile, judge4c) (push) Failing after 0s
2025-04-08 19:15:06 +08:00
3e5e2d2a62
feat(dockview): support dynamic Lucide icons via string in tab headers
Build & Push Judge4c Docker Image / build-and-push-judge4c-docker-image (., Dockerfile, judge4c) (push) Failing after 0s
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
Build & Push Judge4c Docker Image / build-and-push-judge4c-docker-image (., Dockerfile, judge4c) (push) Failing after 0s
2025-03-27 15:17:36 +08:00
fbe0ef63d8
refactor(playground): simplify chat layout and unify scroll area styles
Build & Push Judge4c Docker Image / build-and-push-judge4c-docker-image (., Dockerfile, judge4c) (push) Failing after 0s
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
Build & Push Judge4c Docker Image / build-and-push-judge4c-docker-image (., Dockerfile, judge4c) (push) Failing after 0s
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
Build & Push Monaco Docker Image / build-and-push-monaco-docker-image (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 0s
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
Build & Push Monaco Docker Image / build-and-push-monaco-docker-image (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 1s
2025-03-23 23:55:11 +08:00