• Resolved ldeschenes

    (@ldeschenes)


    Hi again @jakeob

    I see that you have been issuing a new version 1.4.6. While you are at it, here is another suggestion:

    When we click on a file to see it and we come back to the original tab, the tree is closed. It would be nice that we come back to the same view (tree still opened).

    Let me explain. Let say we have the following tree:
    Folder1
    File1
    File2
    Folder2
    File3
    File4

    When we open the page, we see:
    Folder1
    Folder2

    When clicking to Folder1, we see:
    Folder1
    File1
    File2
    Folder2

    When we click again on Folder1, we see the tree closed:
    Folder1
    Folder2
    (That is good behavior when clicking on Folders)

    But if we click on File1 to see the file in another tab, when we come back to the original tab, we see the tree collapsed:
    Folder1
    Folder2

    It would be nice that the tree stays opened so we see where we were at in our browsing. Thus not changing the view:
    Folder1
    File1
    File2
    Folder2
    (That in my humble opinion would be a better behavior when clicking on Files)

    You could make it the standard behavior or have it as an option.

    Thanks again for this great plugin!`

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author jakeob

    (@jakeob)

    Hello @ldeschenes,

    your suggestion make sense, the folders shouldnt close when you click on file. I have tested it and if you click with middle mouse button it wont close, otherwise it will.

    This is because the files are placed inside parent folder div and when you click on file it also acts like you clicked on the folder.

    Fixing this would probably require a lot of changes and a lot of time.
    So for now due to lack of free time I wont be addressing this, eventho your point is absolutely valid.

    Thread Starter ldeschenes

    (@ldeschenes)

    Hi @jakeob

    Thanks for the investigation and the explanation.

    I do understand that you do not have presently free time to improved the plugin. It could wait.

    Thanks again to have make the change to “remove the file extention”.

    Louis

    Plugin Author jakeob

    (@jakeob)

    Hello @ldeschenes,

    I made a small javascript fix that should solve the click behaviour issue.
    This solution is not as polished as it could be but it will do the trick.

    Thread Starter ldeschenes

    (@ldeschenes)

    Hi @jakeob

    I did installed the new version and you are right it does the trick.
    This is exactly the behavior I was loooking for!

    Glad that you found that “small trick” and did not have to do a lot of changes to the code.

    You are a champion!
    Thanks again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Improvement to clicking behavior’ is closed to new replies.