-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
♻️ refactor: rename globalStore to userStore #2264
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2264 +/- ##
==========================================
- Coverage 92.57% 92.54% -0.03%
==========================================
Files 282 286 +4
Lines 16061 16152 +91
Branches 1157 1869 +712
==========================================
+ Hits 14868 14948 +80
- Misses 1193 1204 +11 ☔ View full report in Codecov by Sentry. |
❤️ Great PR @arvinxx ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 0.150.10](v0.150.9...v0.150.10) <sup>Released on **2024-04-28**</sup> #### ♻ Code Refactoring - **misc**: Rename globalStore to userStore. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Rename globalStore to userStore, closes [#2264](#2264) ([a3cb538](a3cb538)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 0.150.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.30.6](v1.30.5...v1.30.6) <sup>Released on **2024-04-28**</sup> #### ♻ Code Refactoring - **misc**: Rename globalStore to userStore. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Rename globalStore to userStore, closes [lobehub#2264](https://github.com/bentwnghk/lobe-chat/issues/2264) ([a3cb538](a3cb538)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
* ♻️ refactor: rename globalStore to userStore * ♻️ refactor: refactor the globalStore usage * ♻️ refactor: clean the user preference * 🐛 fix: fix preference init * ♻️ refactor: refactor the global Store * 🎨 chore: improve code
### [Version 0.150.10](lobehub/lobe-chat@v0.150.9...v0.150.10) <sup>Released on **2024-04-28**</sup> #### ♻ Code Refactoring - **misc**: Rename globalStore to userStore. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Rename globalStore to userStore, closes [lobehub#2264](lobehub#2264) ([a3cb538](lobehub@a3cb538)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
* ♻️ refactor: rename globalStore to userStore * ♻️ refactor: refactor the globalStore usage * ♻️ refactor: clean the user preference * 🐛 fix: fix preference init * ♻️ refactor: refactor the global Store * 🎨 chore: improve code
### [Version 0.150.10](lobehub/lobe-chat@v0.150.9...v0.150.10) <sup>Released on **2024-04-28**</sup> #### ♻ Code Refactoring - **misc**: Rename globalStore to userStore. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Rename globalStore to userStore, closes [lobehub#2264](lobehub#2264) ([a3cb538](lobehub@a3cb538)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
由于 GlobalStore 中之前存储了 很多类型的东西,比如 settings、全局 preference 、用户 preference ,而在 #2022 中,我们需要支持用户颗粒度的拆分。因此需要将原本 global 中的一些实现迁移到 user 中。
📝 补充信息 | Additional Information
refs: #2022