@lobehub/chat 0.79.5 → 0.79.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 +25 -0
- package/docs/Home.md +1 -1
- package/package.json +1 -1
- package/src/layout/AppLayout.tsx +9 -1
- package/src/styles/global.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.79.6](https://github.com/lobehub/lobe-chat/compare/v0.79.5...v0.79.6)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2023-09-27**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: Optmize PWA style and scroll effect.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: Optmize PWA style and scroll effect ([0ae05b8](https://github.com/lobehub/lobe-chat/commit/0ae05b8))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 0.79.5](https://github.com/lobehub/lobe-chat/compare/v0.79.4...v0.79.5)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2023-09-26**</sup>
|
package/docs/Home.md
CHANGED
|
@@ -16,7 +16,7 @@ LobeChat is a open-source, extensible ([Function Calling][fc-url]), high-perform
|
|
|
16
16
|
|
|
17
17
|
- [Environment Variables](Environment-Variable) | [环境变量](Environment-Variable.zh-CN)
|
|
18
18
|
- [Maintaining Updates with LobeChat Self-Deployment](Upstream-Sync) | [自部署保持更新](Upstream-Sync.zh-CN)
|
|
19
|
-
- [Deploying with Azure OpenAI](Deploy-with-Azure-OpenAI) | [
|
|
19
|
+
- [Deploying with Azure OpenAI](Deploy-with-Azure-OpenAI) | [使用 Azure OpenAI 部署](Deploy-with-Azure-OpenAI.zh-CN)
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.79.
|
|
3
|
+
"version": "0.79.6",
|
|
4
4
|
"description": "An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chatbot",
|
package/src/layout/AppLayout.tsx
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
|
+
import { useTheme } from 'antd-style';
|
|
1
2
|
import { PropsWithChildren, memo } from 'react';
|
|
2
3
|
import { Flexbox } from 'react-layout-kit';
|
|
3
4
|
|
|
4
5
|
import SideBar from '@/features/SideBar';
|
|
5
6
|
|
|
7
|
+
const isPwa = window.matchMedia('(display-mode: standalone)').matches;
|
|
8
|
+
|
|
6
9
|
const AppLayout = memo<PropsWithChildren>(({ children }) => {
|
|
10
|
+
const theme = useTheme();
|
|
7
11
|
return (
|
|
8
|
-
<Flexbox
|
|
12
|
+
<Flexbox
|
|
13
|
+
horizontal
|
|
14
|
+
style={isPwa ? { borderTop: `1px solid ${theme.colorBorder}` } : {}}
|
|
15
|
+
width={'100%'}
|
|
16
|
+
>
|
|
9
17
|
<SideBar />
|
|
10
18
|
{children}
|
|
11
19
|
</Flexbox>
|