1 Kommentar (1 Kommentar)0 Reaktionen (0 Reaktionen)0 zugewiesene Personen (0 zugewiesene Personen)TypeScript87.992 Stars (87.992 Stars)59.717 Forks (59.717 Forks)batch import
enhancementhelp wanted
Beschreibung
🥰 需求描述
对话列表新增置顶按钮
🧐 解决方案
- 当鼠标停留在对话列表上时,可显示置顶对话的按钮
- 点击置顶按钮后,此对话保持置顶,再次点击可取消置顶
- 当有置顶的对话后,置顶其它对话会覆盖上一个对话,保持在列表最顶部;
📝 补充信息

- Issue Type
- feature
- Research-Richtung
- 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.