-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes filename column width in dataset page #2154
base: develop
Are you sure you want to change the base?
Fixes filename column width in dataset page #2154
Conversation
Hi @luistoptal, question Shouldn't we suppose to fix that if the file name is longer then 100, the whole file name can still be showed? As even I checked out the develop branch, and the text is actually already wrapped: |
If the filename is one single word without breaks then the text was not wrapped
It is possible to make the columns resizeable with javascript. I believe very long file names is rather a fringe use case. I am not sure allowing users to change column width is an effective solution. I believe wrappign might be enough. However we can make column width draggable. Can you confirm we want this behavior? The ticket does mention either wrapping or allowing draggable column width. I think if the goal is for the user to be able to read the complete file name, wrapping is better because it does not require user interaction. Also the user might click on the header and sort the column instead by mistake if they try to drag As for the 100 char length. I assumed the issue is that despite the limitation to 100 length, still some files were longer than that and the UI should not assume all files will be capped at 100 chars Do we actually want to enable filenames longer than 100 chars? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @luistoptal,
Given all my questions have been addressed, will be happy to approve after the merge conflicts have been fixed
Pull request for issue: #1119
This PR should fix the issue with very long filenames in the dataset files table
![Screenshot from 2025-01-01 09-58-31](https://private-user-images.githubusercontent.com/143437854/399537265-d3c6cd58-bb30-4031-aaed-660f4bc3ccbd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MzA0MjAsIm5iZiI6MTczOTYzMDEyMCwicGF0aCI6Ii8xNDM0Mzc4NTQvMzk5NTM3MjY1LWQzYzZjZDU4LWJiMzAtNDAzMS1hYWVkLTY2MGY0YmMzY2NiZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQxNDM1MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01NGQyOTBkZGRlNDFhNWUyMWFkNmRiZjU2NDJiZGQxMWI1YTRmOTY3NjJhZTY2Y2FiNDZlMDM3YzZmZTNjYzgxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.wqxikd5p_VPvYW-B6vmxaBU1OK946SecrM5EEjMSjZY)
How to test?
How have functionalities been implemented?
Any issues with implementation?
--
Any changes to automated tests?
--