@lobehub/chat 1.129.4 → 1.130.0
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
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
## [Version 1.130.0](https://github.com/lobehub/lobe-chat/compare/v1.129.4...v1.130.0)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2025-09-18**</sup>
|
|
8
|
+
|
|
9
|
+
#### ✨ Features
|
|
10
|
+
|
|
11
|
+
- **misc**: Add scroll support for pinned assistants using ScrollShadow.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's improved
|
|
19
|
+
|
|
20
|
+
- **misc**: Add scroll support for pinned assistants using ScrollShadow, closes [#9319](https://github.com/lobehub/lobe-chat/issues/9319) [#9316](https://github.com/lobehub/lobe-chat/issues/9316) ([54c0ac4](https://github.com/lobehub/lobe-chat/commit/54c0ac4))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 1.129.4](https://github.com/lobehub/lobe-chat/compare/v1.129.3...v1.129.4)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2025-09-18**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.130.0",
|
|
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",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Avatar, Tooltip } from '@lobehub/ui';
|
|
1
|
+
import { Avatar, ScrollShadow, Tooltip } from '@lobehub/ui';
|
|
2
2
|
import { Divider } from 'antd';
|
|
3
3
|
import { createStyles } from 'antd-style';
|
|
4
4
|
import isEqual from 'fast-deep-equal';
|
|
@@ -82,33 +82,35 @@ const PinList = () => {
|
|
|
82
82
|
hasList && (
|
|
83
83
|
<>
|
|
84
84
|
<Divider style={{ marginBottom: 8, marginTop: 4 }} />
|
|
85
|
-
<
|
|
86
|
-
{
|
|
87
|
-
|
|
88
|
-
<
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<Flexbox
|
|
94
|
-
className={cx(
|
|
95
|
-
styles.ink,
|
|
96
|
-
isPinned && activeId === item.id ? styles.inkActive : undefined,
|
|
97
|
-
)}
|
|
85
|
+
<ScrollShadow height={"100%"} hideScrollBar={true} size={40}>
|
|
86
|
+
<Flexbox gap={12} style={{ padding: '0' }}>
|
|
87
|
+
{list.map((item, index) => (
|
|
88
|
+
<Flexbox key={item.id} style={{ position: 'relative' }}>
|
|
89
|
+
<Tooltip
|
|
90
|
+
hotkey={index < 9 ? hotkey.replaceAll(KeyEnum.Number, String(index + 1)) : undefined}
|
|
91
|
+
placement={'right'}
|
|
92
|
+
title={sessionHelpers.getTitle(item.meta)}
|
|
98
93
|
>
|
|
99
|
-
<
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
94
|
+
<Flexbox
|
|
95
|
+
className={cx(
|
|
96
|
+
styles.ink,
|
|
97
|
+
isPinned && activeId === item.id ? styles.inkActive : undefined,
|
|
98
|
+
)}
|
|
99
|
+
>
|
|
100
|
+
<Avatar
|
|
101
|
+
avatar={sessionHelpers.getAvatar(item.meta)}
|
|
102
|
+
background={item.meta.backgroundColor}
|
|
103
|
+
onClick={() => {
|
|
104
|
+
switchAgent(item.id);
|
|
105
|
+
}}
|
|
106
|
+
size={40}
|
|
107
|
+
/>
|
|
108
|
+
</Flexbox>
|
|
109
|
+
</Tooltip>
|
|
110
|
+
</Flexbox>
|
|
111
|
+
))}
|
|
112
|
+
</Flexbox>
|
|
113
|
+
</ScrollShadow>
|
|
112
114
|
</>
|
|
113
115
|
)
|
|
114
116
|
);
|
|
@@ -52,7 +52,11 @@ const Nav = memo(() => {
|
|
|
52
52
|
}}
|
|
53
53
|
topActions={
|
|
54
54
|
<Suspense>
|
|
55
|
-
<div className={electronStylish.nodrag}
|
|
55
|
+
<div className={electronStylish.nodrag} style={{
|
|
56
|
+
display: 'flex',
|
|
57
|
+
flexDirection: 'column',
|
|
58
|
+
maxHeight: "calc(100vh - 150px)"
|
|
59
|
+
}}>
|
|
56
60
|
<Top />
|
|
57
61
|
{showPinList && <PinList />}
|
|
58
62
|
</div>
|