-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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: user store add an auth slice #2214
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 #2214 +/- ##
==========================================
- Coverage 92.87% 92.86% -0.01%
==========================================
Files 292 295 +3
Lines 16699 16791 +92
Branches 1201 1940 +739
==========================================
+ Hits 15509 15593 +84
- Misses 1190 1198 +8 ☔ View full report in Codecov by Sentry. |
75041f2
to
869466f
Compare
34433a9
to
80a6af9
Compare
80a6af9
to
c7aad45
Compare
ee8bd66
to
6b476fe
Compare
❤️ 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.152.8](v0.152.7...v0.152.8) <sup>Released on **2024-05-03**</sup> #### ♻ Code Refactoring - **misc**: User store add an auth slice. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: User store add an auth slice, closes [#2214](#2214) ([948b257](948b257)) </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.152.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.32.2](v1.32.1...v1.32.2) <sup>Released on **2024-05-04**</sup> #### ♻ Code Refactoring - **misc**: Refactor Setting Layout, user store add an auth slice. #### 🐛 Bug Fixes - **misc**: Disabled autogenerate field icon when empty system role, Fix intercepting-routes on mobile, Fix router path in UserPanel, Fix Setings Layout, Fix undefined 'DISCORD', Test CI and Release CI, Test CI and Release CI, Test CI and Release CI, Test CI and Release CI, Test CI and Release CI. #### 💄 Styles - **misc**: Add user panel and refactor the next-auth, autoScroll to the fully end, improve market layout styles and mobile style, refactor setting layout and improve setting design. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: Refactor Setting Layout, closes [lobehub#2336](https://github.com/bentwnghk/lobe-chat/issues/2336) ([282082e](282082e)) * **misc**: User store add an auth slice, closes [lobehub#2214](https://github.com/bentwnghk/lobe-chat/issues/2214) ([948b257](948b257)) #### What's fixed * **misc**: Disabled autogenerate field icon when empty system role, closes [lobehub#2076](https://github.com/bentwnghk/lobe-chat/issues/2076) ([27095f5](27095f5)) * **misc**: Fix intercepting-routes on mobile ([abe228c](abe228c)) * **misc**: Fix router path in UserPanel ([c779e02](c779e02)) * **misc**: Fix Setings Layout, closes [lobehub#2340](https://github.com/bentwnghk/lobe-chat/issues/2340) ([6a2e9a9](6a2e9a9)) * **misc**: Fix undefined 'DISCORD' ([41c70be](41c70be)) * **misc**: Test CI and Release CI ([a909afe](a909afe)) * **misc**: Test CI and Release CI ([aff22b5](aff22b5)) * **misc**: Test CI and Release CI ([1db3b59](1db3b59)) * **misc**: Test CI and Release CI ([e0c82c8](e0c82c8)) * **misc**: Test CI and Release CI ([97634ca](97634ca)) #### Styles * **misc**: Add user panel and refactor the next-auth, closes [lobehub#2349](https://github.com/bentwnghk/lobe-chat/issues/2349) ([5cecee0](5cecee0)) * **misc**: AutoScroll to the fully end, closes [lobehub#2345](https://github.com/bentwnghk/lobe-chat/issues/2345) ([5458e98](5458e98)) * **misc**: Improve market layout styles and mobile style, closes [lobehub#2347](https://github.com/bentwnghk/lobe-chat/issues/2347) ([79b8115](79b8115)) * **misc**: Refactor setting layout and improve setting design, closes [lobehub#2344](https://github.com/bentwnghk/lobe-chat/issues/2344) ([fa16721](fa16721)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
* ♻️ refactor: refactor the user store with auth slice * ♻️ refactor: separate common and sync slice * 🧑💻 chore: add an isMobile selector * ♻️ refactor: refactor the auth action and common action * 🎨 chore: clean code
### [Version 0.152.8](lobehub/lobe-chat@v0.152.7...v0.152.8) <sup>Released on **2024-05-03**</sup> #### ♻ Code Refactoring - **misc**: User store add an auth slice. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: User store add an auth slice, closes [lobehub#2214](lobehub#2214) ([948b257](lobehub@948b257)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
* ♻️ refactor: refactor the user store with auth slice * ♻️ refactor: separate common and sync slice * 🧑💻 chore: add an isMobile selector * ♻️ refactor: refactor the auth action and common action * 🎨 chore: clean code
### [Version 0.152.8](lobehub/lobe-chat@v0.152.7...v0.152.8) <sup>Released on **2024-05-03**</sup> #### ♻ Code Refactoring - **misc**: User store add an auth slice. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Code refactoring * **misc**: User store add an auth slice, closes [lobehub#2214](lobehub#2214) ([948b257](lobehub@948b257)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
添加 auth slice,后续将
next-auth
的鉴权逻辑收集到 userStore 中📝 补充信息 | Additional Information
refs: #2022