@lobehub/chat 1.11.6 → 1.11.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 CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.11.7](https://github.com/lobehub/lobe-chat/compare/v1.11.6...v1.11.7)
6
+
7
+ <sup>Released on **2024-08-18**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix topic scroll issue.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix topic scroll issue, closes [#3505](https://github.com/lobehub/lobe-chat/issues/3505) ([c719c7a](https://github.com/lobehub/lobe-chat/commit/c719c7a))
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.11.6](https://github.com/lobehub/lobe-chat/compare/v1.11.5...v1.11.6)
6
31
 
7
32
  <sup>Released on **2024-08-18**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.11.6",
3
+ "version": "1.11.7",
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",
@@ -15,7 +15,7 @@ import { useSessionStore } from '@/store/session';
15
15
  import { useUserStore } from '@/store/user';
16
16
  import { ChatTopic } from '@/types/topic';
17
17
 
18
- import { Placeholder, SkeletonList } from '../SkeletonList';
18
+ import { SkeletonList } from '../SkeletonList';
19
19
  import TopicItem from './TopicItem';
20
20
 
21
21
  const TopicListContent = memo(() => {
@@ -85,7 +85,7 @@ const TopicListContent = memo(() => {
85
85
  </Flexbox>
86
86
  )}
87
87
  <Virtuoso
88
- components={{ ScrollSeekPlaceholder: Placeholder }}
88
+ // components={{ ScrollSeekPlaceholder: Placeholder }}
89
89
  computeItemKey={(_, item) => item.id}
90
90
  data={topics}
91
91
  fixedItemHeight={44}
@@ -93,10 +93,10 @@ const TopicListContent = memo(() => {
93
93
  itemContent={itemContent}
94
94
  overscan={44 * 10}
95
95
  ref={virtuosoRef}
96
- scrollSeekConfiguration={{
97
- enter: (velocity) => Math.abs(velocity) > 350,
98
- exit: (velocity) => Math.abs(velocity) < 10,
99
- }}
96
+ // scrollSeekConfiguration={{
97
+ // enter: (velocity) => Math.abs(velocity) > 350,
98
+ // exit: (velocity) => Math.abs(velocity) < 10,
99
+ // }}
100
100
  />
101
101
  </>
102
102
  );
@@ -9,6 +9,7 @@ export default defineConfig({
9
9
  coverage: {
10
10
  all: false,
11
11
  exclude: ['src/database/server/core/dbForTest.ts'],
12
+ include: ['src/database/server/**/*.ts'],
12
13
  provider: 'v8',
13
14
  reporter: ['text', 'json', 'lcov', 'text-summary'],
14
15
  reportsDirectory: './coverage/server',