Skip to content

Truncate long filenames in file browser#2726

Open
bendichter wants to merge 1 commit intomasterfrom
fix-long-filename-rendering
Open

Truncate long filenames in file browser#2726
bendichter wants to merge 1 commit intomasterfrom
fix-long-filename-rendering

Conversation

@bendichter
Copy link
Member

@bendichter bendichter commented Mar 8, 2026

Summary

Before

Image

Test plan

  • Navigate to a dandiset with long filenames (e.g. dandiset 000409, sub-CSH-ZAD-001)
  • Verify long filenames truncate with ellipsis instead of overflowing
  • Verify full filename appears on hover tooltip
  • Verify folder names and ".." navigation still work correctly

🤖 Generated with Claude Code

Fixes #2725

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bendichter
Copy link
Member Author

After:
Screenshot 2026-03-08 at 3 41 59 PM

@yarikoptic yarikoptic added the UX Affects usability of the system label Mar 23, 2026
@yarikoptic
Copy link
Member

@waxlamp @jjnesbitt inviting you to review!

@yarikoptic yarikoptic requested review from jjnesbitt and waxlamp March 23, 2026 18:23
@yarikoptic
Copy link
Member

@bendichter "you" specified Test plan with 4 items none of which is marked out. Can you carry out testing there? could/should we incorporate that within our e2e tests somehow?

@bendichter
Copy link
Member Author

To be clear: I have done this, though since we do not have automatic previews for PRs, it's hard for me to link to a specific page that demonstrates this. A reviewer should get this to run locally and confirm all of these points independently.

@yarikoptic
Copy link
Member

To be clear: I have done this, though since we do not have automatic previews for PRs,

image

? do you know of any on sandbox with the long ones? link is like

https://deploy-preview-2726--sandbox-dandiarchive-org.netlify.app/dandiset/200560/draft/files?location=sub-YAML-Subject-Name&page=1

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

Labels

UX Affects usability of the system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI: rendering of long filenames on the asset navigation window

2 participants