Skip to content
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

新需求:已经置顶的对话,在新增互动之后,依然会按照互动的时间进行排序 #38

Open
libukai opened this issue Sep 5, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@libukai
Copy link

libukai commented Sep 5, 2024

场景:我给孩子自定义了几个老师的 System Prompt,希望这个对话能一直保持在对话列表的最上方,因此全部进行了置顶
现状:置顶之后,即使发生新的互动,置顶的对话的顺序依然会按照置顶时的顺序保持不变
需求:已经置顶的对话,在新增互动之后,依然会按照互动的时间进行排序

@flyun
Copy link
Owner

flyun commented Sep 5, 2024

我觉得这个场合,更适合分组聊天tab,效果可以参考下Telegram分组聊天的实现。分组聊天我后续也考虑加上,不同组有类似的聊天主题。

@libukai
Copy link
Author

libukai commented Sep 5, 2024

如果能这么实现,那就最好不过了,看来以后提需求的时候,需要根据 telegram 的形态来选择最佳方案了

@flyun
Copy link
Owner

flyun commented Sep 5, 2024

是的,成熟的交互以及复用代码是最佳方案

@flyun flyun added the enhancement New feature or request label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants