-
-
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
💄 style : Add an "Assistant and Conversation" icon #2357
Conversation
@RubuJam is attempting to deploy a commit to the LobeHub Team on Vercel. A member of the Team first needs to authorize it. |
👍 @RubuJam Thank you for raising your pull request and contributing to our Community |
@arvinxx Could you tell me which part of the code controls the display and hiding of this component? I couldn't find this part of the code, so I've put in @arvinxx 想请教一下,这个部件的展示和隐藏是哪部分代码控制的,我没找到这部分代码,以至于 |
这个助手与会话的图标是哪来干什么的? |
Where do these assistant and session icons come from? |
实现在这里:https://github.com/lobehub/lobe-chat/blob/main/src/features/FolderPanel/index.tsx#L37 使用这个方法: updatePreference({
sessionsWidth: expand ? 320 : 0,
showSessionPanel: expand,
}); |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2357 +/- ##
=======================================
Coverage 92.97% 92.97%
=======================================
Files 301 301
Lines 17401 17401
Branches 1256 1255 -1
=======================================
Hits 16178 16178
Misses 1223 1223 ☔ View full report in Codecov by Sentry. |
@arvinxx 这个图标只有在 This icon will only be displayed on the |
commit 走一下 commit 的 lint,应该就能移除空格。另外切换的按钮我建议还是放在 header 左侧。如果觉得突兀加个滑动的动效应该就行。 |
Commit the lint of commit and you should be able to remove the spaces. In addition, I recommend that the switching button be placed on the left side of the header. If it feels awkward, just add a sliding animation. |
@arvinxx 切换的按钮已经改为在 header 左侧 The switching button has been changed to the left side of the header |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
Add an "Assistant and Conversation" icon
添加一个 “助手与对话” 的图标
📝 补充信息 | Additional Information