@lobehub/chat 0.40.6 → 0.40.7
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/package.json +1 -1
- package/src/pages/chat/[id]/Sidebar/Inner.tsx +16 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.40.7](https://github.com/lobehub/lobe-chat/compare/v0.40.6...v0.40.7)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2023-08-10**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: 优化 Topic 的水合加载效果.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: 优化 Topic 的水合加载效果 ([0cd0088](https://github.com/lobehub/lobe-chat/commit/0cd0088))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 0.40.6](https://github.com/lobehub/lobe-chat/compare/v0.40.5...v0.40.6)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2023-08-10**</sup>
|
package/package.json
CHANGED
|
@@ -86,7 +86,22 @@ const Inner = memo(() => {
|
|
|
86
86
|
</Flexbox>
|
|
87
87
|
<Flexbox className={styles.topic} gap={16} padding={16}>
|
|
88
88
|
<SearchBar placeholder={t('topic.searchPlaceholder')} spotlight type={'ghost'} />
|
|
89
|
-
|
|
89
|
+
{!hydrated ? (
|
|
90
|
+
<Flexbox gap={8} style={{ marginTop: 12 }}>
|
|
91
|
+
{Array.from({ length: 8 }).map((_, i) => (
|
|
92
|
+
<Skeleton
|
|
93
|
+
active
|
|
94
|
+
avatar={false}
|
|
95
|
+
key={i}
|
|
96
|
+
paragraph={{ rows: 1, width: '100%' }}
|
|
97
|
+
round
|
|
98
|
+
title={false}
|
|
99
|
+
/>
|
|
100
|
+
))}
|
|
101
|
+
</Flexbox>
|
|
102
|
+
) : (
|
|
103
|
+
<Topic />
|
|
104
|
+
)}
|
|
90
105
|
</Flexbox>
|
|
91
106
|
</DraggablePanelBody>
|
|
92
107
|
);
|