1 留言 (1 留言)0 反應 (0 反應)0 負責人 (0 負責人)TypeScript87,992 star (87,992 star)59,717 fork (59,717 fork)batch import
enhancementhelp wanted
描述
🥰 需求描述
对话列表新增置顶按钮
🧐 解决方案
- 当鼠标停留在对话列表上时,可显示置顶对话的按钮
- 点击置顶按钮后,此对话保持置顶,再次点击可取消置顶
- 当有置顶的对话后,置顶其它对话会覆盖上一个对话,保持在列表最顶部;
📝 补充信息

- 議題類型
- feature
- 研究方向
- Start by examining the chat list component in the codebase to understand its rendering logic. Implement a hover state to show a pin button. Use a state management solution (e.g., React context or local state) to track pinned conversations. Ensure the pin behavior matches the described requirements: only one pinned conversation at a time, and it stays at the top.