[Plugin] FolderView


Recommended Posts

FolderView lets you create folders for grouping Dockers and VMs together to help with organization. Especially useful if you're using docker-compose.
Getting Started: A new button named "Add Folder" will appear at the bottom of the docker and VM tab(s) next to "Add Container".

GitHub

 

AUTOSTART

With this plugin installed, you have to keep in mind that the order of the containers/vm might not be the actual order of the container, this is an issue with containers that are set to autostart.

The plugin checks what you see and the unraid order and shows if the order is the same with this icon immagine.png.06a02561c1feb20741ced9e86f60c42a.png.

If this icon is green like here means that the order you see is the same of unraid, if the icon is red this means that the unraid order is different.

To fix that you can simply reorder a folder or a container and then refresh the page, you will see that the icon is turned green.

 

DEBUG MODE

To enable the debug mode you have to type 'debug' and you should see a download starting. If you have a problem you will likely be asked to submit that file, the file is specific to the tab that you are on.

If nothing happens, open the browser console and send a screenshot of that.

 

CUSTOM CSS/SCRIPT

Using custom CSS/scripts is easy, just download the files and import it with the button in the settings.

Here is a list of repository with custom CSS:

 

For the ones brave enough to make custom CSS or scripts, on GitHub you will find a README with all the instruction, if you have question you can DM me or ask it here.

 

TRANSLATIONS

If you want to translate this plugin, you can find the files here, but before read below.

The "locale" field and the name of the file should be an ISO 639-1 language code.

If you translate, don't edit any HTML tags you see, only edit text.

In the translation file, you might encounter the symbol $ followed by a number, you can't remove them, but you can move them around as much as you want.

 

DOCKER LABELS

You can add docker containers to folders by adding the label "folder.view", the value of the label is the name of the folder.

 

FAQ

BEFORE asking, please search if any other user asked the same thing, you might find your solution.

  • Q: How can I sort the content of a folder?
    A: In the edit page, you can drag and drop the containers/VM just like the normal docker page.
  • Q: How can I sort the folder themselves?
    A: In the docker page since 6.12 there is a padlock green icon in the toolbar, click that, and you can just drag and drop the folder like normal containers/VM.
Edited by scolcipitato
  • Like 10
  • Thanks 7
Link to comment

How do we use and submit the Debug mode...

a couple of issues:

  1. How do we reorder the items in Dockers and VM's? I thought you just dragged them but can't seem to get that to work.
  2. I have a few Dockers that have been moved to the Folder but they still appear outside of the folder.
  3. The list of Dockers to include is spaced very strangely. (No wait... It's just centered instead of left justified)

You have no idea how excited I am to have this working again. (I've come to the conclusion that I need to get out more)

Link to comment
7 hours ago, scolcipitato said:

If you want it now, here is the link.

maybe better changing it to this one: https://raw.githubusercontent.com/scolcipitato/folder.view/main/folder.view.plg

 

when i try installing it: 

plugin: installing: folder.view.plg
plugin: downloading: folder.view-2023.07.28.txz ... done

plugin: bad file MD5: /boot/config/plugins/folder.view/folder.view-2023.07.28.txz
Executing hook script: gui_search_post_hook.sh
Executing hook script: post_plugin_checks

 

 

It also supports data:image/{type};base64, format (Convert image to data strings)

what is the benefit of this?

i just downloaded *.png and put it into a seperate folder in my appdata on my cache drive.

Edited by sonic6
Link to comment
2 hours ago, Arbadacarba said:

How do we reorder the items in Dockers and VM's? I thought you just dragged them but can't seem to get that to work.

 

create or edit a folder, scroll a bit down, then hold swipe the container, you want to change the position.

image.png.a0ffd7900daf754c15c16ad62eb9c3b2.png

Link to comment
3 hours ago, sonic6 said:

when i try installing it: 

plugin: installing: folder.view.plg
plugin: downloading: folder.view-2023.07.28.txz ... done

plugin: bad file MD5: /boot/config/plugins/folder.view/folder.view-2023.07.28.txz
Executing hook script: gui_search_post_hook.sh
Executing hook script: post_plugin_checks

Fixed, now it should work, if you have the old plugin, I would wait until this become available on the CA.

 

3 hours ago, sonic6 said:
It also supports data:image/{type};base64, format (Convert image to data strings)

what is the benefit of this?

Just a possibility, you can put the image directly in the without downloading anything.

  • Thanks 1
Link to comment

Really excited to see someone having the time and inclination to work on this feature.

Been sorely needed and should be a default IMO.

 

Might I ask why you are reinventing the wheel though? 

I'm sure Squid would be delighted to hand over the original. I believe he said as much when he forked it last year some time?

 

Anyway - if its not needed then you keep going on the dev of this. 

I've got it installed and so far there aint nothing 'wrong'. Just needs a little more wax and a lot of buffing! :D

Link to comment
37 minutes ago, keywal said:

Might I ask why you are reinventing the wheel though? 

I'm sure Squid would be delighted to hand over the original. I believe he said as much when he forked it last year some time?

 

Because Squid that "the wheel must be reinventing though":

 

  • Like 2
Link to comment

looks fine and thx for a new Docker thats sorting, but i have dockers not showing in the correct Folder, it is completly wrong and all my dockers are scrambled :D 

 

dont get me wrong its just an Bug report, the Idea is very good, i like the Expand option on the Dashboard, when it works :D

 

docker.thumb.jpg.79a918d07682ab3038f1f26e6b8d09cf.jpg

Edited by domrockt
Link to comment
1 hour ago, domrockt said:

looks fine and thx for a new Docker thats sorting, but i have dockers not showing in the correct Folder, it is completly wrong and all my dockers are scrambled

 

4 hours ago, Takiyon said:

Apps not showing in the proper folder that is was selected.

 

did you try this:

 

15 hours ago, scolcipitato said:

Your unraid order is wrong, to fix it just reorder a container then refresh.

 

if this will not help, maybe a debug-log will be helpfull for @scolcipitato

Edited by sonic6
Link to comment
7 hours ago, jriffle73 said:

Not working for me. Create several folders and have reorganized many times. none of the items selected are showing in the folder I put them in.

 

1 hour ago, domrockt said:

looks fine and thx for a new Docker thats sorting, but i have dockers not showing in the correct Folder, it is completly wrong and all my dockers are scrambled

 

4 hours ago, Takiyon said:

Apps not showing in the proper folder that is was selected.

I need the debug to help you, so you need to DM me with it or post it here.

Link to comment
4 hours ago, Droidem said:

would it be possible to add the ability to add more icons to be shown? maybe not by default, but an option for us to tick?

I think not, simply because the number of icon shown depends on the size of the screen, if you go and inspect the preview you will find that all the container are in the preview, so if you are good at CSS you can try to fix it, then send me the code or make a PR on GitHub.

 

1 hour ago, fk_muck1 said:

Maybe a wish for the future: "start all", "stop all", "pause all" for the respective folder would be very useful for me.

I'll work on it with the update option, yesterday I haven't done anything, but today I will work on it, so maybe by the end of the day I finish it.

  • Like 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.