@lobehub/chat 1.141.9 → 1.141.10

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.141.10](https://github.com/lobehub/lobe-chat/compare/v1.141.9...v1.141.10)
6
+
7
+ <sup>Released on **2025-10-23**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Loadmore not work & navbar not show in pwa.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Loadmore not work & navbar not show in pwa, closes [#9855](https://github.com/lobehub/lobe-chat/issues/9855) ([411f875](https://github.com/lobehub/lobe-chat/commit/411f875))
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.141.9](https://github.com/lobehub/lobe-chat/compare/v1.141.8...v1.141.9)
6
31
 
7
32
  <sup>Released on **2025-10-23**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "fixes": [
5
+ "Loadmore not work & navbar not show in pwa."
6
+ ]
7
+ },
8
+ "date": "2025-10-23",
9
+ "version": "1.141.10"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "improvements": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.141.9",
3
+ "version": "1.141.10",
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",
@@ -29,12 +29,12 @@ const Client = memo<{ mobile?: boolean }>(() => {
29
29
 
30
30
  return (
31
31
  <>
32
- <Title more={t('home.more')} moreLink={'/discover/assistant'}>
32
+ <Title more={t('home.more')} moreLink={'/assistant'}>
33
33
  {t('home.featuredAssistants')}
34
34
  </Title>
35
35
  <AssistantList data={assistantList.items} rows={4} />
36
36
  <div />
37
- <Title more={t('home.more')} moreLink={'/discover/mcp'}>
37
+ <Title more={t('home.more')} moreLink={'/mcp'}>
38
38
  {t('home.featuredTools')}
39
39
  </Title>
40
40
  <McpList data={mcpList.items} rows={4} />
@@ -29,12 +29,12 @@ const HomePage = memo<{ mobile?: boolean }>(() => {
29
29
 
30
30
  return (
31
31
  <>
32
- <Title more={t('home.more')} moreLink={'/discover/assistant'}>
32
+ <Title more={t('home.more')} moreLink={'/assistant'}>
33
33
  {t('home.featuredAssistants')}
34
34
  </Title>
35
35
  <AssistantList data={assistantList.items} rows={4} />
36
36
  <div />
37
- <Title more={t('home.more')} moreLink={'/discover/mcp'}>
37
+ <Title more={t('home.more')} moreLink={'/mcp'}>
38
38
  {t('home.featuredTools')}
39
39
  </Title>
40
40
  <McpList data={mcpList.items} rows={4} />
@@ -57,7 +57,8 @@ const UrlSynchronizer = () => {
57
57
 
58
58
  // Update browser URL when location changes
59
59
  useEffect(() => {
60
- const newUrl = `/discover${location.pathname}${location.search}`;
60
+ const normalizedPath = location.pathname === '/' ? '' : location.pathname;
61
+ const newUrl = `/discover${normalizedPath}${location.search}`;
61
62
  if (window.location.pathname + window.location.search !== newUrl) {
62
63
  window.history.replaceState({}, '', newUrl);
63
64
  }