Skip to content

feat/agent-filename#1595

Open
ultrahighsuper wants to merge 2 commits into
eigent-ai:mainfrom
ultrahighsuper:feat/agent-filename-tooltip
Open

feat/agent-filename#1595
ultrahighsuper wants to merge 2 commits into
eigent-ai:mainfrom
ultrahighsuper:feat/agent-filename-tooltip

Conversation

@ultrahighsuper

Copy link
Copy Markdown

Related Issue

Description

In the Agent Folder panel, long filenames are truncated with truncate, making it hard to see the full name. This change adds a hover tooltip that displays the full file/folder name so users can quickly identify long entries.

Implementation:

  • Updated src/components/Folder/index.tsx (FileTree) to wrap each file/folder row button with TooltipSimple using content={child.name}.
  • This keeps click/expand behavior the same while improving discoverability for long filenames.

Testing Evidence (REQUIRED)

  • I have included human-verified testing evidence in this PR.
  • This PR includes frontend/UI changes, and I attached screenshot(s) or screen recording(s).
  • No frontend/UI changes in this PR.

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Contribution Guidelines Acknowledgement

@ultrahighsuper

Copy link
Copy Markdown
Author

@4pmtong
Please check this PR.

@ultrahighsuper

Copy link
Copy Markdown
Author

@Wendong-Fan
please check this PR.
It has 2 weeks pending.

@Douglasymlai Douglasymlai added design enhancement New feature or request agent labels Jul 3, 2026
@Douglasymlai

Copy link
Copy Markdown
Contributor

Hi @ultrahighsuper Thanks for the contribution, this is a useful improvement and the underlying issue (long filenames getting truncated with no way to see the full name) is a real one.

One consideration before this is ready to merge: right now TooltipSimple is applied to every file/folder row unconditionally, regardless of whether the name is actually truncated. This means short names that already fit fine will also pop up a tooltip on hover, which adds unnecessary noise and hurts the UX rather than helping it. Could you scope the tooltip so it only shows for entries whose name is actually cut off?

Also, could you pull the latest main and resolve conflicts? We shipped a release last week with a fairly significant refactor of this component, so the current diff no longer applies cleanly against the latest version.

Once that's updated, feel free to re-request review and tag me — happy to take another look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants