sciserver / scidrive-ui

Web UI for scidrive
http://www.scidrive.org
Apache License 2.0
0 stars 0 forks source link

Directory address bar breaks when trying to display too many nested directories/long directory names #31

Closed mtaghiza closed 8 years ago

mtaghiza commented 9 years ago

After creating many directory levels (directories inside directories), the directory address bar reaches the end of the line and breaks, i.e., can't continue navigating to the following nested directory since it doesn't show. Furthermore, the server name is displaced downwards and is placed now overlaying the panel that displays the directory content. This panel does not show neither files nor directories it might contain.

jkim485 commented 9 years ago

How many directory levels need to create the this issue? Could you please attach an image showing the bug? thanks.

mtaghiza commented 9 years ago

just a few directories but with very long names are enough to break it.

jkim485 commented 9 years ago

Could you please make a screen shot of the example and create an image file and upload it here? That would help!

mtaghiza commented 9 years ago

For example:

untitled

And creating new folders or uploading a file do not work either.

jkim485 commented 9 years ago

Mike suggests that

if the char length of folder list > Max_list, replace the root folder names with '...' and display only the names of the leaf level folders within Max_list.

jkim485 commented 9 years ago

Tested on scidrive 2: the issue has not been fixed including 'Directory address bar breaks and creating new folders or uploading a file do not work either.'

dimm0 commented 8 years ago

For now the path will go under another element. Still possible to return to higher folder if one is visible.

jkim485 commented 8 years ago

Just tested on pre-prod: observe the following behavior: if a folder name is too long, that folder is not created without any warning. Is this true? If so what is the maximum length of folder name? And suggest to give a proper warning to user if user tries to create a folder whose length of its name is greater than the maximum length of folder name.

dmedv commented 8 years ago

Nested folders seem to be fixed, but the problem reported by Jay Won in the previous comment is not. I will close this issue and create a new one based on that comment.

jkim485 commented 8 years ago

OK. Thanks.