569beb0b36
feat(layout): add layout with suspense boundary for problem
2025-04-16 18:05:55 +08:00
4428a29306
refactor(i18n): replace hardcoded texts with i18n message keys
2025-04-15 18:22:21 +08:00
69d03f89da
refactor(problem): remove TestResult tab and adjust tab positions
2025-04-14 16:25:10 +08:00
d58723bd47
delete(features): remove src/app/(app)/problems/[id]/features folder
2025-04-14 16:22:10 +08:00
207697c592
feat(submission-details): display last failed test case details and error messages
2025-04-14 15:38:02 +08:00
675c828fe2
feat(submissions): include detailed testcase data in problem submissions query
2025-04-14 15:30:59 +08:00
fbf563dfdf
refactor(details): move panel cleanup logic into useEffect
2025-04-14 10:40:08 +08:00
2d06b778e6
feat(problems): add Details panel for submission details view
...
- Add new Details component to display submission details
- Modify ProblemLayout and ProblemPage to support Details panel
- Implement Details page with submission code view and metadata
- Add navigation back to Submissions panel
2025-04-13 22:42:08 +08:00
105802a209
feat(problem): add parallel routes
2025-04-13 12:06:08 +08:00
a559c326a8
feat(problem): refactor layout and page components
...
- Refactored `ProblemLayout` to pass panel components (Description, Solutions, etc.) as props.
- Updated `ProblemPage` to dynamically render dock panels with content from props, instead of static components.
- Removed `DefaultDockviewOptions` and integrated custom panel configuration directly in `ProblemPage`.
- Enhanced `DockView` to support dynamic panel content rendering based on passed props.
2025-04-13 11:56:01 +08:00
d9d9db16fe
refactor(bot): simplify layout and improve UI rendering in Bot component
2025-04-12 13:17:48 +08:00
3b1c2fc41b
refactor(problem): replace inline dockview options with default config
2025-04-12 10:47:23 +08:00
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
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
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
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
a8e243204b
feat(layout): refactor problem layout to use DockView for organizing content sections
2025-04-04 18:13:14 +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
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
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
e5ba5dd51a
refactor(hooks): rename use-problem-editor.ts to use-problem.ts
2025-03-22 00:23:27 +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