Skip to content
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

Width of the File Names column in a GigaDB dataset, and file name lengths #1119

Closed
tuli opened this issue Sep 13, 2022 · 0 comments
Closed

Comments

@tuli
Copy link

tuli commented Sep 13, 2022

User Story

As web user
I want to scan the file table in the file's tab of dataset without formatting glitches due long filenames
So I can see the right information quickly

Acceptance criteria

Given there is dataset with files whose name are longer than 100 characters
When I navigate to the dataset page
And switch to the file tab
Then I should see he name of those files wrapped in the "File name" column

Additional information

Related to ticket #413

CIH added: This Story should be part of Epic #667
CIH added: This is likely to be 2 stories, 1 for file uploader restrictions and 1 for display of files in the file table - discuss this in the refinement workshop.

Is your feature request related to a problem? Please describe.
I am looking at a mockup of a GigaDB dataset: [http://gigadb.org/dataset/view/id/102266/token/8cYjQp1t6uCPhDL3](nb this will become [http://dx.doi.org/10.5524/102266]). You need to list all the files (Table Settings) There are some very long file names, which render the page very hard to read i.e. not all columns are immediately visible, you need to scroll. The scroll bar is at the bottom of the page which is an added frustration.

Describe the solution you'd like

  1. Implement a limit on file name length, so that all columns are visible in a standard width browser.
  2. Allow the user to change the width of individual columns. n.b. The other columns line wrap when values are long, and most of the others (e.g. Data Type, File Format) always have very small values so it's really only an issue for File Name.

Describe alternatives you've considered
Changing the name of the file so it's shorter. nb. where possible we preserve the author-provided file name, so curators should encourage authors to provide shorter names.

Additional context
Screen shots showing the display with long file names and with shorter ones (where the File Attributes column is still not fully visible without scrolling).

Screen Shot 2022-09-13 at 22 34 22
Screen Shot 2022-09-13 at 22 30 53

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

No branches or pull requests

4 participants