DeepSeek-Reasonix icon indicating copy to clipboard operation
DeepSeek-Reasonix copied to clipboard

[Feature]: 创建会话的位置与会话标题建议

Open Liunian7032 opened this issue 5 months ago • 1 comments

Version line

v2 — Go rewrite (1.x), main-v2 (active development)

What problem does this solve?

1、建议新建会话后,条目放在列表顶部: 现状:按照当前会话列表的排序规则是按照回复时间降序排列的,即最近产生对话的会话在列表上方,但是新建的对话会默认置底在列表下方。如果创建了新会话但是需求输入了一半还没有发起对话时候,需要返回之前的会话查看内容,需要在列表两端来回跳,非常影响注意力

Image

2、建议截取对话标题时候,过滤文件引用的内容,仅从文字部分截取

如果习惯采用先@引入要编辑的文件,在输入需求,会话列表的标题全部会被引用头覆盖,无法看到实际的对话摘要

Image

Proposed solution

No response

Liunian7032 avatar Jun 17 '26 13:06 Liunian7032

Point 2 is fixed; point 1 I'm leaving open.

Titles built from @ references — fixed in #7464. The preview line (which is what the sidebar falls back to when a session has no custom or topic title) now skips the leading run of @path references before the 80-rune clamp, so @src/App.tsx @src/lib/api.ts 帮我把这个组件拆一下 shows the request instead of two paths. A reference in the middle of a sentence is left alone, and a prompt that is only references keeps them since there'd be nothing else to show. Sessions already on disk keep the preview in their sidecar; this applies from their next save.

New session ordering — agreed, and still open. The list sorts by last activity, and a session with no turns yet has nothing to sort by, so it lands where an empty timestamp puts it: the bottom. Sorting an unstarted session by its creation time is the obvious fix, and the case that makes it matter is exactly the one you describe — a half-typed prompt you want to leave while you go check something else. Whoever picks this up: sessionActivityTime in desktop/frontend/src/lib/session.ts and the ordering in internal/agent/save.go, and it needs to hold for both the sidebar and the palette.

esengine avatar Aug 04 '26 11:08 esengine