Commit Graph

611 Commits

Author SHA1 Message Date
3336a9f1d0 feat(config/problem): add TEMP_DEFAULT_EDITOR_VALUE 2025-03-05 09:36:38 +08:00
a33033b48d refactor(config/judge.ts, types/judge.ts): split judge configuration and types 2025-03-05 09:27:00 +08:00
808dd96a50 feat(language-selector): update language selector logic and integrate LSP config 2025-03-05 08:46:44 +08:00
d33f214450 refactor(button): refactor ResetButton to accept value prop 2025-03-05 08:34:54 +08:00
2a47b469b0 feat(language-server): add environment variable support for configuration 2025-03-05 08:33:38 +08:00
470fa306c2 feat(editor): add language icon support 2025-03-05 08:32:33 +08:00
ca82b94b0f refactor: replace old SUPPORTED_LANGUAGES config with new EditorLanguageConfig config 2025-03-05 08:30:58 +08:00
753422ebf4 refactor: remove unused editor and language config files 2025-03-05 08:28:52 +08:00
527c52abbc feat(editor): refactor code editor with LSP support and state management 2025-03-05 00:33:19 +08:00
0c94bb2fa3 refactor(store): restructure code editor store and update configuration 2025-03-05 00:31:57 +08:00
a920cbc4b8 refactor(utils): rename languageServerConfigs to LanguageServerConfig 2025-03-04 21:28:47 +08:00
398928d933 style(editor): format code style for consistency 2025-03-04 21:27:53 +08:00
d89a45daa8 feat(editor): update loading state with padding and refactor dynamic import 2025-03-04 21:26:51 +08:00
0c1ecbcff2 feat(editor): initialize CoreEditorLsp component 2025-03-04 21:05:23 +08:00
598ca75829 feat(editor): add default editor options configuration 2025-03-04 21:02:16 +08:00
af23dd3289 feat(editor): add language server connection via WebSocket 2025-03-04 20:58:06 +08:00
742a827072 feat(language-server): add configuration for C and C++ 2025-03-04 20:53:19 +08:00
1f417fb4e6 feat(shiki): improve Shiki highlighter initialization with dynamic theme and language support 2025-03-04 20:29:21 +08:00
6d9c6701d4 feat(monaco-theme): update Monaco theme configuration with label metadata 2025-03-04 20:29:07 +08:00
ec9f3b2475 feat(editor-language): update language configurations and types for C and C++ 2025-03-04 20:28:41 +08:00
d8fa37dd8a feat(theme): add MonacoTheme enum, configuration and hook 2025-03-04 20:06:33 +08:00
f1ead3ae6c feat: update Dockerfile.cn for avoid docker pull error 2025-03-04 14:15:27 +08:00
4cd8478ccd fix: add missing user,usergroup creation 2025-03-03 23:46:20 +08:00
eb4da92d13 fix: use origin method to compile 2025-03-03 23:38:47 +08:00
17160193d6 feat: Add addditional Dockerfile.cn and compose.cn.yml for faster compiling and avoiding network issues 2025-03-03 22:58:41 +08:00
6ebf8fe935 refactor(problem-submission-page): simplify result destructuring and memo dependencies 2025-03-03 18:36:22 +08:00
6cf241b57b refactor(settings-dialog): update sidebar navigation items and cleanup imports 2025-03-03 15:50:00 +08:00
70d30c6cc6 refactor(settings): integrate Zustand store for navigation state management 2025-03-03 15:39:32 +08:00
30f12d0cd7 feat(store): add Zustand store for setting navigation persistence 2025-03-03 15:38:06 +08:00
4f7f367320 feat(settings-dialog): improve scroll behavior with ScrollArea 2025-03-03 15:24:35 +08:00
07c625d310 feat(header): add SettingsDialog and toggle its visibility via SettingsButton 2025-03-03 15:10:06 +08:00
09ef2bf22a feat(components/ui): add Sidebar-13 component from shadcn/ui 2025-03-03 14:51:13 +08:00
aa255fc2e1 refactor(store): rename useCodeEditorState to useCodeEditorStore in imports 2025-03-03 14:20:25 +08:00
64655d8118 refactor(code-editor-store): rename and add hydration state, update storage handling 2025-03-03 14:18:32 +08:00
8bf109679d feat(tabs-store): persist only problemTab and workspaceTab in local storage 2025-03-03 14:17:22 +08:00
2b6b7c54d5 feat(workspace): add tabs state management with zustand and loading skeleton 2025-03-03 13:57:08 +08:00
faad41039a feat(problem): add tabs state management with zustand and loading skeleton 2025-03-03 13:56:25 +08:00
466caed5bd feat(store): add zustand store for tabs state management 2025-03-03 13:55:33 +08:00
dcbfe4c3d7 style(judge): align equal signs and comments for better readability 2025-03-03 12:10:16 +08:00
eab8743095 feat(header): add settings button to header 2025-03-03 11:40:05 +08:00
1d81013122 feat(components): add settings button component with tooltip 2025-03-03 11:39:02 +08:00
5045e6f8c6 feat(@workspace/@editor): add toolbar buttons to editor header 2025-03-03 10:41:57 +08:00
0e4f9e0be9 feat(@workspace/@editor): add ResetButton component 2025-03-03 10:40:56 +08:00
4dbe390e3f feat(@workspace/@editor): add UndoButton component 2025-03-03 10:40:44 +08:00
2ddfb02fe8 feat(@workspace/@editor): add RedoButton component 2025-03-03 10:40:31 +08:00
806509130c feat(@workspace/@editor): add FormatButton component 2025-03-03 10:40:17 +08:00
4aad78b671 feat(@workspace/@editor): add CopyButton component 2025-03-03 10:40:01 +08:00
4be37fdf1e feat(components/ui): add Tooltip component from shadcn/ui 2025-03-03 10:33:43 +08:00
11c2e2c317 fix(judge): modify timeout handling logic to resolve on time limit exceeded 2025-03-03 02:29:55 +08:00
03f3d9682a feat(judge): update container configuration and add limits for output and memory 2025-03-03 02:16:24 +08:00