@lobehub/chat 1.28.2 → 1.28.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/package.json +1 -1
  3. package/src/app/(main)/chat/(workspace)/@portal/default.tsx +1 -1
  4. package/src/app/(main)/chat/(workspace)/@portal/features/Header.tsx +1 -2
  5. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Artifacts/Body/Renderer/HTML.tsx +0 -0
  6. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Artifacts/Body/Renderer/React/index.tsx +0 -0
  7. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Artifacts/Body/Renderer/React/template.ts +0 -0
  8. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Artifacts/Body/Renderer/SVG.tsx +0 -0
  9. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Artifacts/Body/Renderer/index.tsx +0 -0
  10. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Artifacts/Body/index.tsx +0 -0
  11. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Artifacts/Header.tsx +0 -0
  12. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Artifacts/index.ts +0 -0
  13. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Artifacts/useEnable.ts +0 -0
  14. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/FilePreview/Body/index.tsx +0 -0
  15. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/FilePreview/Header.tsx +0 -0
  16. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/FilePreview/index.ts +0 -0
  17. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/FilePreview/useEnable.ts +0 -0
  18. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Home/Body/Files/FileList/Item.tsx +0 -0
  19. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Home/Body/Files/FileList/index.tsx +0 -0
  20. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Home/Body/Files/index.tsx +0 -0
  21. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Home/Body/Plugins/ArtifactList/Item/index.tsx +0 -0
  22. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Home/Body/Plugins/ArtifactList/Item/style.ts +0 -0
  23. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Home/Body/Plugins/ArtifactList/index.tsx +0 -0
  24. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Home/Body/Plugins/index.tsx +0 -0
  25. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Home/Body/index.tsx +0 -0
  26. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Home/Header.tsx +0 -0
  27. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Home/index.ts +0 -0
  28. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/MessageDetail/Body/index.tsx +0 -0
  29. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/MessageDetail/Header.tsx +0 -0
  30. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/MessageDetail/index.ts +0 -0
  31. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/MessageDetail/useEnable.ts +0 -0
  32. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Plugins/Body/ToolRender.tsx +0 -0
  33. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Plugins/Body/index.tsx +0 -0
  34. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Plugins/Footer.tsx +0 -0
  35. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Plugins/Header.tsx +0 -0
  36. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Plugins/index.ts +0 -0
  37. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/Plugins/useEnable.ts +0 -0
  38. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/components/SkeletonLoading.tsx +0 -0
  39. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/router.tsx +0 -0
  40. /package/src/{app/(main)/chat/(workspace)/@portal → features/Portal}/type.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.28.3](https://github.com/lobehub/lobe-chat/compare/v1.28.2...v1.28.3)
6
+
7
+ <sup>Released on **2024-11-06**</sup>
8
+
9
+ #### ♻ Code Refactoring
10
+
11
+ - **misc**: Move portal code to features folder.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Code refactoring
19
+
20
+ - **misc**: Move portal code to features folder, closes [#4631](https://github.com/lobehub/lobe-chat/issues/4631) ([bb4ab9c](https://github.com/lobehub/lobe-chat/commit/bb4ab9c))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 1.28.2](https://github.com/lobehub/lobe-chat/compare/v1.28.1...v1.28.2)
6
31
 
7
32
  <sup>Released on **2024-11-06**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.28.2",
3
+ "version": "1.28.3",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -6,7 +6,7 @@ import { isMobileDevice } from '@/utils/server/responsive';
6
6
  import Desktop from './_layout/Desktop';
7
7
  import Mobile from './_layout/Mobile';
8
8
 
9
- const PortalBody = lazy(() => import('./router'));
9
+ const PortalBody = lazy(() => import('@/features/Portal/router'));
10
10
 
11
11
  const Inspector = () => {
12
12
  const mobile = isMobileDevice();
@@ -5,10 +5,9 @@ import { XIcon } from 'lucide-react';
5
5
  import { memo } from 'react';
6
6
 
7
7
  import SidebarHeader from '@/components/SidebarHeader';
8
+ import { PortalHeader } from '@/features/Portal/router';
8
9
  import { useChatStore } from '@/store/chat';
9
10
 
10
- import { PortalHeader } from '../router';
11
-
12
11
  const Header = memo(() => {
13
12
  const [toggleInspector] = useChatStore((s) => [s.togglePortal]);
14
13