-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
🐛 fix: Logout button not shown on mobile view when using nextauth #3561
Conversation
@cy948 is attempting to deploy a commit to the LobeHub Pro Team on Vercel. A member of the Team first needs to authorize it. |
👍 @cy948 Thank you for raising your pull request and contributing to our Community |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3561 +/- ##
==========================================
- Coverage 94.17% 91.58% -2.60%
==========================================
Files 418 449 +31
Lines 26019 29631 +3612
Branches 1876 3086 +1210
==========================================
+ Hits 24504 27137 +2633
- Misses 1515 2494 +979
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
❤️ Great PR @cy948 ❤️ 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 1.12.7](v1.12.6...v1.12.7) <sup>Released on **2024-08-22**</sup> #### 🐛 Bug Fixes - **misc**: Logout button not shown on mobile view when using nextauth. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Logout button not shown on mobile view when using nextauth, closes [#3561](#3561) ([0c4efe4](0c4efe4)) </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 1.12.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.55.7](v1.55.6...v1.55.7) <sup>Released on **2024-08-22**</sup> #### 🐛 Bug Fixes - **misc**: Fix `NEXT_PUBLIC_S3_DOMAIN` error on Docker, Logout button not shown on mobile view when using nextauth. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix `NEXT_PUBLIC_S3_DOMAIN` error on Docker, closes [lobehub#3564](https://github.com/bentwnghk/lobe-chat/issues/3564) ([bc6b64c](bc6b64c)) * **misc**: Logout button not shown on mobile view when using nextauth, closes [lobehub#3561](https://github.com/bentwnghk/lobe-chat/issues/3561) ([0c4efe4](0c4efe4)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
…behub#3561) * 🐛 fix: logout button not shown on mobile view when using nextauth * 🧪 test: show status for signout button
### [Version 1.12.7](lobehub/lobe-chat@v1.12.6...v1.12.7) <sup>Released on **2024-08-22**</sup> #### 🐛 Bug Fixes - **misc**: Logout button not shown on mobile view when using nextauth. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Logout button not shown on mobile view when using nextauth, closes [lobehub#3561](lobehub#3561) ([0c4efe4](lobehub@0c4efe4)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
src/store/user/slices/auth/selectors.ts
: 增加判断是否启用NextAuth并登录的 selector ;src/app/(main)/(mobile)/me/(home)/features/useCategory.tsx
:lucide-react
引入 logout 按钮;src/app/(main)/(mobile)/me/(home)/__tests__/useCategory.test.tsx
: 为上述button补充测试;📝 补充信息 | Additional Information