Commit Graph

32 Commits

Author SHA1 Message Date
1afa7a1a5d feat(playground): add minimap checkbox component and integrate minimap functionality in code editor 2024-12-17 18:42:50 +08:00
a9ddf03e93 feat(playground): add support for C++ and TypeScript in code editor and sidebar 2024-12-17 18:22:51 +08:00
22225ed042 feat(playground): add Python support in code editor and multi-model editor using path as an identifier 2024-12-17 14:19:27 +08:00
40f273f5a2 feat(playground): add ligatures checkbox component and update translations in PlaygroundPage 2024-12-15 21:54:39 +08:00
f590d77578 feat(playground): add theme selector component and enhance code editor with additional themes and languages 2024-12-15 21:15:19 +08:00
668145a9c7 feat(playground): add code editor component and integrate file retrieval functionality 2024-12-15 12:33:39 +08:00
ac7e34dfc5 feat(playground): enhance file tree structure by adding path property to FileTree 2024-12-15 00:02:31 +08:00
2cdd9adf3e refactor: import actions from specific module
- Changed the import statement for `retrieveTreeStructure` from a default import to a named import from the `@/actions` module.
- This change improves code readability and adheres to best practices for module imports.
2024-12-14 23:23:50 +08:00
20d790c5e0 feat(playground): add session management and folder open icon in PlaygroundSidebar component 2024-12-14 18:49:35 +08:00
08831481b8 feat(playground): integrate Gitea API for file tree retrieval and update PlaygroundSidebar component 2024-12-14 17:52:15 +08:00
a872a33052 feat(playground): refactor PlaygroundSidebar component by removing unused changes section and reorganizing imports 2024-12-13 17:57:39 +08:00
1aba2bdc0f feat(playground): restructure sidebar components and implement Playground layout 2024-12-13 17:49:34 +08:00
9b2177fea3 feat(playground): add PlaygroundPage component with tabbed interface and update sidebar navigation 2024-12-13 16:02:25 +08:00
b6a4c3182e feat(i18n): update AppSidebar component for internationalization support
chore(site): add siteConfig
2024-12-12 21:32:06 +08:00
ae662bff78 feat(i18n): update NavProjects component for internationalization support 2024-12-12 20:59:15 +08:00
8d2df7dc4a feat(i18n): restructure translation files and update NavUser component for internationalization support 2024-12-12 20:51:10 +08:00
cd842b3bdd feat(i18n): refactor authentication to use user locale from cookies and implement language switching 2024-12-12 20:28:31 +08:00
e5b8848b8f feat(i18n): add LanguageSwitcher and integrate with dashboard header 2024-12-12 13:38:02 +08:00
301490c30b feat(i18n): add internationalization support with en-US and zh-CN translations 2024-12-12 10:31:10 +08:00
52a7ee5d0b chore(auth): update NextAuth configuration to include JWT language
chore(eslint): add warning rule for unused variables in ESLint configuration
2024-12-11 20:28:44 +08:00
b69cc453e8 feat(auth): extend NextAuth user and session to include language support
refactor(gitea): make username optional in GiteaProfile interface

style(eslint): add warning rule for empty object type in ESLint configuration
2024-12-11 19:24:37 +08:00
5ffbecefc2 docs: add source attribution for use-meta-color implementation 2024-12-09 20:40:21 +08:00
93798b5a7e feat(theme): add meta color management and integrate Jotai for theme switching 2024-12-09 20:38:08 +08:00
ed547464c1 docs: add source attribution for ModeSwitcher and ThemeProvider implementations 2024-12-09 16:49:00 +08:00
8808b4fb9b feat(theme): add theme switching functionality with ModeSwitcher and ThemeProvider 2024-12-09 16:48:38 +08:00
398c56b38b docs: add source reference and author attribution to ConfirmationDialog and useConfirmationStore 2024-12-09 13:39:27 +08:00
bb2093d14f feat(dialog): add confirmation dialog and state management for user actions 2024-12-09 13:22:10 +08:00
5f427a5032 feat(dashboard): integrate SessionProvider and update NavUser for session data
- Integrated `SessionProvider` from `next-auth/react` to manage user sessions.
- Updated `AppSidebar` to use `SessionProvider` and reflect user data.
- Modified `NavUser` to display user info based on session, with default fallback.
2024-12-09 13:15:59 +08:00
474c71bf96 fix(style): use local image for Gitea OAuth provider logo
- Replaced the default Gitea logo URL with a local image path to ensure the logo is displayed correctly.
- The default URL `https://authjs.dev/img/providers/gitea.svg` is not supported, so a local image is used instead.
2024-12-09 00:18:19 +08:00
c8a9b25e27 feat(dashboard): add shadcn sidebar-08 2024-12-07 22:06:25 +08:00
b04613784a feat(auth): implement Gitea authentication provider with NextAuth integration 2024-12-07 21:01:22 +08:00
12e37e908f chore: initialize Next.js project with shadcn 2024-12-07 13:56:20 +08:00