@lobehub/chat 0.89.6 → 0.89.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.
@@ -9,6 +9,9 @@ jobs:
9
9
  if_merged:
10
10
  name: Check merged and add comment
11
11
  if: github.event.pull_request.merged == true
12
+ permissions:
13
+ issues: write # for actions-cool/issues-helper to update issues
14
+ pull-requests: write # for actions-cool/issues-helper to update PRs
12
15
  runs-on: ubuntu-latest
13
16
  steps:
14
17
  - uses: actions-cool/pr-welcome@main
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.89.7](https://github.com/lobehub/lobe-chat/compare/v0.89.6...v0.89.7)
6
+
7
+ <sup>Released on **2023-10-16**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix setting tab highlight (fix.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix setting tab highlight (fix, closes [#332](https://github.com/lobehub/lobe-chat/issues/332) ([d288f9d](https://github.com/lobehub/lobe-chat/commit/d288f9d))
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 0.89.6](https://github.com/lobehub/lobe-chat/compare/v0.89.5...v0.89.6)
6
31
 
7
32
  <sup>Released on **2023-10-15**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.89.6",
3
+ "version": "0.89.7",
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",
@@ -144,7 +144,7 @@
144
144
  "eslint": "^8",
145
145
  "husky": "^8",
146
146
  "jsdom": "^22",
147
- "lint-staged": "^14",
147
+ "lint-staged": "^15.0.0",
148
148
  "lodash": "^4",
149
149
  "next-pwa": "^5",
150
150
  "node-fetch": "^3",
@@ -20,7 +20,7 @@ import { ABOUT, CHANGELOG, DISCORD, FEEDBACK, GITHUB, WIKI } from '@/const/url';
20
20
  import { useExportConfig } from '@/hooks/useExportConfig';
21
21
  import { useImportConfig } from '@/hooks/useImportConfig';
22
22
  import { GlobalStore, useGlobalStore } from '@/store/global';
23
- import { SidebarTabKey } from '@/store/global/initialState';
23
+ import { SettingsTabs, SidebarTabKey } from '@/store/global/initialState';
24
24
 
25
25
  export interface BottomActionProps {
26
26
  setTab: GlobalStore['switchSideBar'];
@@ -120,6 +120,10 @@ const BottomActions = memo<BottomActionProps>(({ tab, setTab }) => {
120
120
  ),
121
121
  onClick: () => {
122
122
  setTab(SidebarTabKey.Setting);
123
+ useGlobalStore.setState({
124
+ settingsTab: SettingsTabs.Common,
125
+ sidebarKey: SidebarTabKey.Setting,
126
+ });
123
127
  router.push('/settings/common');
124
128
  },
125
129
  },