Hi,
here there is a proof of concept of the File Browser I'm working on to be included in Iliad Toolbox.
There is a lot of work yet, but I'm asking for some feedback now because I'm considering two opposite ways.
- one uses a flat treeview
. To enter into a directory, click in the filename or type columns for the proper row.
- the other uses a treeview.
. Clicking on a directory, you select it and expand or collapse it, depending on its previous state.
. To enter into a directory (and it will also be the new root for the treeview), select it and click on the "jump to" button on the top-right.
. For performance reasons, there are only 3 levels of children shown by default. It's an option configured inside the code. If we don't limit it think what would happen when navigating to the '/' of the device, the treeview would contain all the files on the system... too slow.
In both cases, you can go a directory up (or more) clicking on the "path" label (left to "jump to" button").
F.e., if it contains "/media/card/books/computers/ai", you could click on "/media/card/" to go there or on "/media/card/books/computers/", etc.
It's a pretty effect, you can see it completely running the program on your computer to see the hover effect (edit the initial PATH before executing) that can't be fully appreciated on the Iliad.
One of the current problems is that is quiet difficult to press '/' on that path to go the root of your Iliad.
Please note that the selection toggle in last column is not handled correctly by now.
To test both, move the files to the Iliad and run from a terminal with proper DISPLAY setting:
Code:
$ lua treeview.lua | path/to/xx -p
Well, too much talk by now... which one do you prefer? which one is more usable?
Iņigo