Skip to content

feat(文件浏览器): 变更文件列表增加"提及"按钮及路径中间省略 - #853

Open
dingxiaobo wants to merge 1 commit into
agegr:mainfrom
dingxiaobo:202609-mention
Open

dingxiaobo wants to merge 1 commit into
agegr:mainfrom
dingxiaobo:202609-mention

Conversation

@dingxiaobo

Copy link
Copy Markdown
Contributor

概要

  • 变更文件行悬停显示提及按钮,点击将 @路径 插入聊天输入框(与文件树一致)
  • 长路径在目录部分省略,文件名始终完整可见(如 componen…/FileExplorer.tsx
  • 悬停文件名显示完整路径提示

测试

  • tsc / eslint / 全部测试(1020 个)通过
  • 手动验证提及插入与长路径显示
image

…ile rows

- Show a hover "mention" button on each changed file row (same pattern as
  the file tree) to insert @path into the chat input
- Split the displayed path so the directory part ellipsizes in the middle
  while the file name stays fully visible
- Add a title tooltip with the full path on the file name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant