fix(session-title): 剥离 session 标签前缀并放大标题存储长度至 600 字符#257
Merged
Conversation
- 后端: _NOISE_TAG_PATTERN 新增 session 标签, 避免标题以 <session>... 开头; - 后端: _SESSION_TITLE_MAX_LEN 从 30 放大至 600 (20x), 提升标题信息量; - 前端: 展开详情行中 Title 独立为 .detail-title-row, 独占全宽行显示; - 前端: 新增 -webkit-line-clamp: 3 多行截断样式, 超出部分以 ... 省略; - 测试: 补充 <session> 标签剥离用例, 修复截断长度测试适配新上限; 🤖 Generated with [Claude Code](https://github.com/claude), [CodeX](https://openai.com), [Gemini](https://github.com/apps/gemini-code-assist) Co-Authored-By: Aurelius Huang<threefish.ai@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更摘要
将 Session 标题最大存储长度从 30 字符放宽至 600 字符,并将 Claude Code harness 注入的
<session>标签纳入噪声标签过滤清单,确保标题内容仅保留用户真实输入。变更内容
_SESSION_TITLE_MAX_LEN从 30 → 600;_NOISE_TAG_PATTERN新增session标签匹配-webkit-line-clamp: 3限制为最多 3 行展示,改善长标题的阅读体验<session>标签剥离的单行/多行测试用例,截断测试数据量同步适配新的 MAX_LEN🤖 Generated with Claude Code, CodeX, Gemini