@lobehub/chat 0.145.5 → 0.145.6
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.
- package/CHANGELOG.md +17 -0
- package/package.json +1 -1
- package/src/app/market/(desktop)/index.tsx +1 -7
- package/src/app/market/(mobile)/index.tsx +1 -6
- package/src/app/market/_layout/Desktop/index.tsx +2 -0
- package/src/app/market/_layout/Mobile/index.tsx +6 -1
- package/src/app/market/features/AgentCard/index.tsx +1 -1
- package/src/app/market/features/AgentSearchBar/index.tsx +2 -0
- package/src/app/market/loading.tsx +3 -0
- package/src/app/settings/agent/loading.tsx +3 -0
- package/src/app/settings/common/loading.tsx +3 -0
- package/src/app/settings/llm/loading.tsx +3 -0
- package/src/app/settings/sync/loading.tsx +3 -0
- package/src/app/settings/tts/loading.tsx +3 -0
- /package/src/app/market/{features/AgentCard → components}/Loading.tsx +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.145.6](https://github.com/lobehub/lobe-chat/compare/v0.145.5...v0.145.6)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-04-02**</sup>
|
|
8
|
+
|
|
9
|
+
<br/>
|
|
10
|
+
|
|
11
|
+
<details>
|
|
12
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
13
|
+
|
|
14
|
+
</details>
|
|
15
|
+
|
|
16
|
+
<div align="right">
|
|
17
|
+
|
|
18
|
+
[](#readme-top)
|
|
19
|
+
|
|
20
|
+
</div>
|
|
21
|
+
|
|
5
22
|
### [Version 0.145.5](https://github.com/lobehub/lobe-chat/compare/v0.145.4...v0.145.5)
|
|
6
23
|
|
|
7
24
|
<sup>Released on **2024-03-30**</sup>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.145.
|
|
3
|
+
"version": "0.145.6",
|
|
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",
|
|
@@ -7,7 +7,6 @@ import ClientResponsiveContent from '@/components/client/ClientResponsiveContent
|
|
|
7
7
|
import { useMarketStore } from '@/store/market';
|
|
8
8
|
|
|
9
9
|
import AgentCard from '../features/AgentCard';
|
|
10
|
-
import AgentSearchBar from '../features/AgentSearchBar';
|
|
11
10
|
|
|
12
11
|
const Desktop = memo(() => {
|
|
13
12
|
useEffect(() => {
|
|
@@ -15,12 +14,7 @@ const Desktop = memo(() => {
|
|
|
15
14
|
useMarketStore.persist.rehydrate();
|
|
16
15
|
}, []);
|
|
17
16
|
|
|
18
|
-
return
|
|
19
|
-
<>
|
|
20
|
-
<AgentSearchBar />
|
|
21
|
-
<AgentCard CardRender={SpotlightCard as FC<SpotlightCardProps>} />
|
|
22
|
-
</>
|
|
23
|
-
);
|
|
17
|
+
return <AgentCard CardRender={SpotlightCard as FC<SpotlightCardProps>} />;
|
|
24
18
|
});
|
|
25
19
|
|
|
26
20
|
export default ClientResponsiveContent({ Desktop, Mobile: () => import('../(mobile)') });
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import dynamic from 'next/dynamic';
|
|
4
4
|
import { memo, useEffect } from 'react';
|
|
5
|
-
import { Flexbox } from 'react-layout-kit';
|
|
6
5
|
|
|
7
6
|
import { useMarketStore } from '@/store/market';
|
|
8
7
|
|
|
9
8
|
import AgentCard from '../features/AgentCard';
|
|
10
|
-
import AgentSearchBar from '../features/AgentSearchBar';
|
|
11
9
|
import CardRender from './features/AgentCard';
|
|
12
10
|
|
|
13
11
|
const DetailModal = dynamic(() => import('./features/AgentDetail'), { ssr: false });
|
|
@@ -20,10 +18,7 @@ export default memo(() => {
|
|
|
20
18
|
|
|
21
19
|
return (
|
|
22
20
|
<>
|
|
23
|
-
<
|
|
24
|
-
<AgentSearchBar mobile />
|
|
25
|
-
<AgentCard CardRender={CardRender} mobile />{' '}
|
|
26
|
-
</Flexbox>
|
|
21
|
+
<AgentCard CardRender={CardRender} mobile />
|
|
27
22
|
<DetailModal />
|
|
28
23
|
</>
|
|
29
24
|
);
|
|
@@ -10,6 +10,7 @@ import SafeSpacing from '@/components/SafeSpacing';
|
|
|
10
10
|
import ClientResponsiveLayout from '@/components/client/ClientResponsiveLayout';
|
|
11
11
|
import { MAX_WIDTH } from '@/const/layoutTokens';
|
|
12
12
|
|
|
13
|
+
import AgentSearchBar from '../../features/AgentSearchBar';
|
|
13
14
|
import Header from './Header';
|
|
14
15
|
|
|
15
16
|
const SideBar = dynamic(() => import('./AgentDetail'));
|
|
@@ -47,6 +48,7 @@ const Desktop = memo<PropsWithChildren>(({ children }) => {
|
|
|
47
48
|
random
|
|
48
49
|
/>
|
|
49
50
|
</Center>
|
|
51
|
+
<AgentSearchBar />
|
|
50
52
|
{children}
|
|
51
53
|
</Flexbox>
|
|
52
54
|
</Flexbox>
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { Flexbox } from 'react-layout-kit';
|
|
2
3
|
|
|
4
|
+
import AgentSearchBar from '../../features/AgentSearchBar';
|
|
3
5
|
import Header from './Header';
|
|
4
6
|
|
|
5
7
|
const MobileLayout = ({ children }: PropsWithChildren) => {
|
|
6
8
|
return (
|
|
7
9
|
<>
|
|
8
10
|
<Header />
|
|
9
|
-
{
|
|
11
|
+
<Flexbox flex={1} gap={16} style={{ padding: 16 }}>
|
|
12
|
+
<AgentSearchBar mobile />
|
|
13
|
+
{children}
|
|
14
|
+
</Flexbox>
|
|
10
15
|
</>
|
|
11
16
|
);
|
|
12
17
|
};
|
|
@@ -7,9 +7,9 @@ import LazyLoad from 'react-lazy-load';
|
|
|
7
7
|
|
|
8
8
|
import { agentMarketSelectors, useMarketStore } from '@/store/market';
|
|
9
9
|
|
|
10
|
+
import Loading from '../../components/Loading';
|
|
10
11
|
import TagList from '../TagList';
|
|
11
12
|
import AgentCardItem from './AgentCardItem';
|
|
12
|
-
import Loading from './Loading';
|
|
13
13
|
import { useStyles } from './style';
|
|
14
14
|
|
|
15
15
|
export interface AgentCardProps {
|
|
File without changes
|