Commit Graph

58 Commits

Author SHA1 Message Date
eeab77cca9 feat(docker): replace compile function with runCode for improved code execution handling 2025-01-08 16:45:09 +08:00
e24cb4a969 feat(playground): add configuration for default editor themes and languages 2025-01-08 16:42:57 +08:00
5e6065d38d feat(playground): implement editor state management and messaging for code execution 2025-01-08 15:30:22 +08:00
1346ba7980 refactor(playground): commented out the playground page 2025-01-08 15:29:57 +08:00
0c91222fb1 refactor(playground): update chat and terminal components for improved tab naming and layout 2025-01-07 23:41:47 +08:00
3ba5171564 feat(playground): add EditorPanel component to layout for enhanced functionality 2025-01-07 22:20:28 +08:00
41eca2305c feat(playground): add theme provider and toggle, implement chat input and loading components 2025-01-07 18:53:17 +08:00
265f49a669 refactor(playground): remove unused localization files for simpleWorker 2025-01-07 18:51:08 +08:00
46f90d91b1 fix(playground): simplify language tab triggers by removing disabled state 2025-01-05 16:53:36 +08:00
b8d389044b feat(playground): add LSP badge to language tabs in the editor 2025-01-05 16:20:16 +08:00
732ecd175f feat(playground): implement language selection and theme customization in the editor 2025-01-05 16:14:20 +08:00
88b68d147e feat(playground): enhance code compilation feedback and add syntax highlighting for output messages 2025-01-05 15:28:00 +08:00
c629dc5612 fix(playground): adjust layout of the editor component for improved responsiveness 2025-01-05 09:15:15 +08:00
5a9a20dee6 feat(playground): integrate Docker support for code execution and add image pulling functionality 2025-01-05 09:06:02 +08:00
c30398a453 feat(playground): add submit button to the editor interface with icon 2025-01-05 08:38:37 +08:00
44ef62c03a fix(playground): enhance language server connection handling with support for LSP_SUPPORTED_LANGUAGES 2025-01-05 08:26:13 +08:00
9ecb387418 fix(playground): update Monaco editor loader configuration to use monaco instance and improve editor reference type 2025-01-05 08:03:46 +08:00
063168c94f feat(playground): add localization support for simpleWorker in German, Spanish, French, Italian, Japanese, Korean, Russian, Chinese (Simplified and Traditional) 2025-01-05 07:39:54 +08:00
f5cd8ef0fa feat(playground): add localization support for simpleWorker in multiple languages 2025-01-05 05:42:12 +08:00
e1f51cf3b9 fix(playground): update Monaco editor loader configuration and adjust editor reference type 2025-01-05 05:41:48 +08:00
d1d8edb8cc fix(playground): improve language change handling with proper cleanup and error handling 2025-01-05 04:09:52 +08:00
58e4f1220b fix(playground): properly stop language client when closing WebSocket connection 2025-01-05 04:01:37 +08:00
168facb85b feat(playground): integrate language server support with WebSocket connection handling 2025-01-05 03:47:37 +08:00
0bc5758d44 fix(playground): ensure editor focus and position handling only occurs if editor is initialized 2025-01-05 03:28:52 +08:00
3737a708f6 feat(playground): add auto-focus and position handling on language change in PlaygroundPage 2025-01-05 03:18:15 +08:00
2c7630c286 feat(playground): enhance PlaygroundPage with Monaco editor focus and position handling 2025-01-05 03:05:19 +08:00
d71a2fd534 feat(playground): implement PlaygroundPage with language selection and code editor 2025-01-05 02:47:14 +08:00
5bc3033a1e feat(ui): add Badge, ScrollArea, and Tabs components with styling 2025-01-05 01:54:00 +08:00
545422cd5f feat(layout): create MainLayout and MainPage components with editor features 2025-01-05 01:05:14 +08:00
274cb40b73 feat(docker): add lsp-c and lsp-cpp services to compose.yml 2025-01-05 00:42:27 +08:00
c7af4dbcde feat(docker): add Dockerfile and servers.yml for clangd LSP setup 2025-01-05 00:41:04 +08:00
c9ac19694b chore: update to next@15.1.3
feat(lsp): add dependencies of monaco-languageclient
2025-01-04 20:11:23 +08:00
c96b870861 feat(constants): add Java to supported languages and include default code snippet 2025-01-04 14:42:52 +08:00
e98bb9269e feat(theme): add multiple new themes to SUPPORTED_THEMES 2025-01-02 17:36:36 +08:00
513de0c870 feat(editor): add default code values and enhance code saving functionality in CodeEditorStore 2025-01-02 16:27:24 +08:00
fe0c27da0a feat(editor): add editor state management to CodeEditorStore 2025-01-02 15:57:10 +08:00
bc39266f2c feat(editor): add FontSizeSlider component for font size control in code editor 2024-12-31 23:59:32 +08:00
0be9cf3baa refactor(constants): move languages.ts and themes.ts to editor folder
refactor(imports): update SUPPORTED_LANGUAGES and SUPPORTED_THEMES import path to use editor folder

feat(constants): add MIN_FONT_SIZE、MAX_FONT_SIZE and DEFAULT_FONT_SIZE

feat(store): add font size management to code editor store
2024-12-31 23:57:27 +08:00
26efe14fc7 feat(theme): add ThemeSelector component and update supported themes structure 2024-12-31 23:48:47 +08:00
49da57872e feat(editor): add theme support to code editor 2024-12-31 20:59:04 +08:00
e13fff0be4 feat(header): add LanguageSelector component for selecting programming languages 2024-12-31 20:25:47 +08:00
262fea4938 feat(store): add useCodeEditorStore for managing code editor state
chore(types): define CodeEditorState interface
2024-12-31 20:22:33 +08:00
7c90efc02a feat(constants): add supported languages and default language 2024-12-31 20:19:06 +08:00
6d292492fc feat(header): implement Header component with Logo and UserNav 2024-12-30 23:10:45 +08:00
c13f803518 feat(header): add UserNav component 2024-12-30 23:06:32 +08:00
95dc3e9c3f feat(header): add bird icon as default avatar 2024-12-30 23:04:37 +08:00
760676f988 feat(header): add Logo and Logomark components 2024-12-29 22:36:03 +08:00
708b6a14f0 fix(auth): remove middleware export to avoid Edge Runtime error with PrismaClient 2024-12-29 20:15:38 +08:00
3a45ac9044 feat(env): add example environment files for database and authentication configuration 2024-12-29 16:53:44 +08:00
bb4fb0639b feat(auth): add self-host Gitea provider for authentication and update Next.js config for remote images 2024-12-29 16:20:36 +08:00