Commit Graph

92 Commits

Author SHA1 Message Date
aaa4c1def5 fix(mdx-components): restore list decoration for ordered and unordered lists
- Restored default list decorations (bullet points for `ul` and numbers for `ol`).
- Solution based on issue from `sindresorhus/github-markdown-css#103`.
2025-03-10 20:41:53 +08:00
28a4b0631d refactor(code-editor): update editor change handler and remove unused event parameter 2025-03-09 11:50:23 +08:00
a691992404 fix(code-editor): improve template handling and default value logic 2025-03-09 11:22:40 +08:00
6297419aad feat(code-editor): persist code changes and apply problem templates 2025-03-09 10:48:03 +08:00
a78431fb61 fix(playground): update file path 2025-03-08 21:17:31 +08:00
70626d0499 rename(header): rename Header to WorkspaceHeader 2025-03-08 17:58:50 +08:00
b2e358de1b style(banner): update component with background color and layout changes 2025-03-07 15:31:22 +08:00
0159998234 refactor(components): replace custom pre component with shared Pre component for MDX preview 2025-03-07 11:43:41 +08:00
f1b6e86123 feat(components): add MdxRenderer for rendering MDX content with custom styling and syntax highlighting 2025-03-07 11:37:24 +08:00
9eb6f89587 feat(components): create MdxComponents for custom rendering of MDX content 2025-03-07 11:36:53 +08:00
c0a876322c refactor(component): migrate code block with copy feature to a more reusable pre component 2025-03-07 11:34:17 +08:00
56905f7e20 feat(settings-dialog): replace placeholder content with AppearanceSettings component 2025-03-06 23:25:23 +08:00
8f6a4aee20 feat(appearance-settings): add theme selection component 2025-03-06 23:22:40 +08:00
2a42c711bf refactor(mdx-preview): replace next-themes with useMonacoTheme 2025-03-06 21:29:52 +08:00
af59e0f432 feat(components/ui): add Radio Group component from shadcn/ui 2025-03-06 21:25:18 +08:00
93c6e66d78 feat(components/ui): add Table component from shadcn/ui 2025-03-06 16:41:19 +08:00
5f79671aa5 refactor(code-editor): dynamically fetch lspConfig from LanguageServerConfig 2025-03-05 13:29:17 +08:00
d33f214450 refactor(button): refactor ResetButton to accept value prop 2025-03-05 08:34:54 +08:00
527c52abbc feat(editor): refactor code editor with LSP support and state management 2025-03-05 00:33:19 +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
d8fa37dd8a feat(theme): add MonacoTheme enum, configuration and hook 2025-03-04 20:06:33 +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
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
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
4be37fdf1e feat(components/ui): add Tooltip component from shadcn/ui 2025-03-03 10:33:43 +08:00
524cce5a73 fix(code-editor): ensure localStorage access is safe in non-browser environments 2025-03-02 14:39:04 +08:00
2ebda52857 feat(code-editor): persist editor value in local storage 2025-03-02 00:05:42 +08:00
164eb3f0f5 feat(code-runner): implement execution result persistence 2025-03-01 21:23:44 +08:00
04794a34c7 feat(components/run-code): add code execution with loading state 2025-03-01 17:12:32 +08:00
89dfc9a1c8 feat(header): add Header component with RunCode integration 2025-02-26 21:54:49 +08:00
a0b1327db7 feat(run-code): add RunCode component for executing code 2025-02-26 21:54:44 +08:00
800c35cb01 feat(code-editor, mdx-preview): update loading state padding for improved aesthetics 2025-02-26 15:58:40 +08:00
0fa89804bc feat(code-editor): enhance loading state with padding and rounded corners for better aesthetics 2025-02-26 15:16:24 +08:00
e108244121 feat(mdx-preview): enhance loading state with padding and rounded corners for better aesthetics 2025-02-26 15:08:27 +08:00
89ea5b4684 feat(mdx-preview): integrate CodeBlockWithCopy for enhanced code block functionality 2025-02-26 14:32:11 +08:00
ff682d8ca2 feat(mdx): add CodeBlockWithCopy component for enhanced code copying functionality 2025-02-26 14:32:06 +08:00
037f8f625d fix(mdx-preview): comment out unused rehype plugins and adjust ScrollArea max height 2025-02-26 11:34:46 +08:00
844e9f0cca fix(mdx-preview): adjust max height calculation for ScrollArea component 2025-02-26 11:05:33 +08:00
e8778df846 fix(banner): update className to prevent flex item shrinkage in Banner component 2025-02-26 09:42:01 +08:00
d19c0c9ea1 feat(editor): enhance WebSocket connection management in CodeEditor 2025-02-26 00:41:19 +08:00
780908e4d3 feat(component/ui): add Select component from shadcn/ui 2025-02-25 21:33:17 +08:00
2e33dea853 feat(mdx-preview): add support for math rendering with KaTeX 2025-02-25 15:09:44 +08:00
50d1f4cf8e refactor(editor): update editor configuration paths and values 2025-02-25 14:39:55 +08:00