[Plugin] FolderView


Recommended Posts

Ive got kind of a weird bug. My docker image became corrupt last night, so I had to delete my .img file and rebuild it by reinstalling all 130+ containers Im running on my machine.

 

The Docker Tab doesn't sort them into folders after their reinstallation, however the Dashboard tab still has all of my existing folders with the apps in their correct folders. Im assuming that the config which stored the containers is indeed there, since the Dashboard can read it right, however Im not sure why the Docker Page isn't sorting containers into the right space now.

 

image.png.c16509159d5d3b3bda515536f162ec88.pngimage.thumb.png.8f8f5648becc9638bb4289cbb53d36d0.png

 

Ideally, Id love to not re-sort 130+ containers into 18 new folders, so is there any logs/config info you need to take a look at the issue?

Edited by Agent531C
Link to comment
16 minutes ago, halorrr said:

1. Currently when a folder is expanded any of the state altering commands (start, stop, restart, etc) cause the container preview to show the spinning loading icon, but not the container under the expanded folder. Could this be changed to either show on both, or just the one interacted with (i.e. if I restarted from the expanded container that should be the one showing the loading state if only one is going to show it)?

2. During the loading state from the above, the icons for WebUI and logs also spin too currently which looks odd, can we have them not be affected?

This is because of unraid, I can't change the default unraid function, so this will be remaining how it is.

17 minutes ago, halorrr said:

3. If a folder's state changes while a folder is expanded a little refresh happens and the folder is now closed, can we persist the open state of a folder?

I have a fixed, it will be in the next update.

Link to comment
13 minutes ago, Agent531C said:

Ive got kind of a weird bug. My docker image became corrupt last night, so I had to delete my .img file and rebuild it by reinstalling all 130+ containers Im running on my machine.

 

The Docker Tab doesn't sort them into folders after their reinstallation, however the Dashboard tab still has all of my existing folders with the apps in their correct folders. Im assuming that the config which stored the containers is indeed there, since the Dashboard can read it right, however Im not sure why the Docker Page isn't sorting containers into the right space now.

 

image.png.c16509159d5d3b3bda515536f162ec88.pngimage.thumb.png.8f8f5648becc9638bb4289cbb53d36d0.png

 

Ideally, Id love to not re-sort 130+ containers into 18 new folders, so is there any logs/config info you need to take a look at the issue?

I need the debug file, look at the first post on how to get it.

Link to comment

Hi Guys,

 

and a big shoutout to @scolcipitato for taking this project on and bringing us all joy!

 

I am running UNRAID version 6.12.3.

 

I uninstalled by Docker Folder plugin .. as per the instructions on the Folder View pages.

OMG ! forgot how Nasty a pile of docker containers looks without a folder mgmt plugin.  😁

 

Then I installed folder View  via CA ... don't know what version it was but I just finished updating it to  ver# 2023.08.20 as a update for 2023.08.20 popped up on my screen.

 

#1/

In either case I am having a small problem with creating VM Folders ... I've tried creating 3 different VM folders and none of them are showing up in the VMs tab. ... Just my 8 VMs that I have on UNRAID and no folders.

 

#2/

My main dashboard is that horrendous fully expanded view .. is there any way to get back the small compact view showing my all folders on the main dashboard including the custom VMs and Container folders from Folder View plugin.  Docker folders plugin use to do this.  I think up until version 6.10 or something like that .. 6.12 it broke.  

 

#3/

 

absolutely no issues with the docker containers and creating custom folders in docker containers, adding custom animated icons and populating the custom docker container folders with containers.  The containers do show up on the main dashboard, but in fully expanded mode. yuck ! 

 

BTW I have tried rebooting my server and clearing my browser(s) cache with CCLeaner .. still no joy. 😒

 

I know I am missing something really stupid here ... been at it for a couple hrs now.

 

and last on the docker tab I can see the slider for basic and advanced view... and it works.

 

I'm not sure if I am remembering correctly, but on the VM tab before any custom folders was added, I'm pretty sure I saw the basic\advanced slider and then when I created my first VM folder .. that slider is now gone.  But then I could have been imagining things as like I said I have been at it for a while.  I will go to bed and sleep on it.

 

thanks in advance,

 

E

 

Please forgive me if I AM missing anything obvious .. but I have been through all 7 pages of this thread  and I did not really see anything about VM folders not being created or the main dashboard still being in fully expanded  view.

Link to comment
8 hours ago, E-ManN said:

Hi Guys,

 

and a big shoutout to @scolcipitato for taking this project on and bringing us all joy!

 

I am running UNRAID version 6.12.3.

 

I uninstalled by Docker Folder plugin .. as per the instructions on the Folder View pages.

OMG ! forgot how Nasty a pile of docker containers looks without a folder mgmt plugin.  😁

 

Then I installed folder View  via CA ... don't know what version it was but I just finished updating it to  ver# 2023.08.20 as a update for 2023.08.20 popped up on my screen.

 

#1/

In either case I am having a small problem with creating VM Folders ... I've tried creating 3 different VM folders and none of them are showing up in the VMs tab. ... Just my 8 VMs that I have on UNRAID and no folders.

 

#2/

My main dashboard is that horrendous fully expanded view .. is there any way to get back the small compact view showing my all folders on the main dashboard including the custom VMs and Container folders from Folder View plugin.  Docker folders plugin use to do this.  I think up until version 6.10 or something like that .. 6.12 it broke.  

 

#3/

 

absolutely no issues with the docker containers and creating custom folders in docker containers, adding custom animated icons and populating the custom docker container folders with containers.  The containers do show up on the main dashboard, but in fully expanded mode. yuck ! 

 

BTW I have tried rebooting my server and clearing my browser(s) cache with CCLeaner .. still no joy. 😒

 

I know I am missing something really stupid here ... been at it for a couple hrs now.

 

and last on the docker tab I can see the slider for basic and advanced view... and it works.

 

I'm not sure if I am remembering correctly, but on the VM tab before any custom folders was added, I'm pretty sure I saw the basic\advanced slider and then when I created my first VM folder .. that slider is now gone.  But then I could have been imagining things as like I said I have been at it for a while.  I will go to bed and sleep on it.

 

thanks in advance,

 

E

 

Please forgive me if I AM missing anything obvious .. but I have been through all 7 pages of this thread  and I did not really see anything about VM folders not being created or the main dashboard still being in fully expanded  view.

I need the debug file (first post for instructions), for the VM tabs and the dashboard, what I can advise is to try and reorder the VMs in the VMs tab and refresh, this happened with migration from the old plugin to the new.

Link to comment
6 hours ago, Agent531C said:

 

I wasn't able to get the log to download from the Docker tab, however I was able to get it from the Dashboard tab. If this doesn't help, Ill restart my server and see if that fixes some oddities happening in the docker tab

 

debug-DASHBOARD-DOCKER.json 76.04 kB · 0 downloads

If it doesn't let you download the debug file there is an error before the debug file is created and downloaded, I need a screenshot of the browser console.

Link to comment
4 hours ago, scolcipitato said:

I need the debug file (first post for instructions), for the VM tabs and the dashboard, what I can advise is to try and reorder the VMs in the VMs tab and refresh, this happened with migration from the old plugin to the new.

@scolcipitato   .... thanks so much for your speedy reply. 

 

#1/ just as you said on the VMs tab I unlocked the page and then moved one of the VMs  ... then <ctrl><F5> and poof the 3 VMs folders showed up & I was able to populate with VMs.  So this is all fixed for me now.  Awesome Sauce !

 

Now as for the dashboard I tried the same process as above plus show/hide all content and <ctrl><f5>. I was able to get the dashboard looking like it should but as soon as I expand all folders ie\ it reverts back to all folders row by row a couple pages long.

 

unlock button --> hide all ->  then <ctrl><f5>  ...

 

 

 

51968337_UNRAIDV6.12Dashboard-hideallwithFolderView.thumb.png.c3fe008af972e4bee00e98bb03975596.png

 

unlock button --> show all -->then  <ctrl><f5>...

 

 

 

 

484409630_UNRAIDV6.12DashBoard.thumb.png.e70254e03bdab635d81e17656697969a.png

 

I verified that my custom settings in the Folder View containers & VM are not set to expand on dashboard.

 

 

 

222219163_UNRIADC6.12-FolderViewDashBoardSettings-noexpandVMsContainers.png.2ac859e1338451d0f840ee5db3968d28.png

 

 

I'm not sure if this is the behaviour of UNRAID 6.12, but I was wondering if the dashboard can be setup as in V 6.10  ... like this ...

 

 

 

 

 

 

 

676661545_UNRAIDV6.10DashBoard.thumb.png.93c8c63be28984bd547ec49432c1ccd4.png

 

I Like this view ... Docker Folders use keep this view on V 6.10, but I have yet figured out how to get this view back with V 6.12 either with docker folders or folder view.

 

 

So in the one of threads you pointed me to ... on the dashboard I typed 'debug' .. the debug logs came down....

 

 

debug-DASHBOARD-DOCKER.json

debug-DASHBOARD-VM.json

 

 

I hope I followed the instructions properly ... this is my 1st time downloading logs in UNRAID and uploading debug logs to forum.

 

Again I really appreciate all your hard work both providing and helping us with these awesome tools !

 

 

thanks again,

 

E

 

 

 

Edited by E-ManN
typos + minor additions
Link to comment

Forgive me, but I can't understand the problem you are having,

23 minutes ago, E-ManN said:

51968337_UNRAIDV6.12Dashboard-hideallwithFolderView.thumb.png.c3fe008af972e4bee00e98bb03975596.png

Here I see everything collapsed, and it looks right, the Docker and VMs sections are collapsed so nothing is shown.

25 minutes ago, E-ManN said:

484409630_UNRAIDV6.12DashBoard.thumb.png.e70254e03bdab635d81e17656697969a.png

And here I don't see the Docker or the VMs section.

I tried debugging the file you gave me, but I didn't find any error, but I don't know if I'm looking for a bug in the logic or a bug in the UI part.

 

29 minutes ago, E-ManN said:

676661545_UNRAIDV6.10DashBoard.thumb.png.93c8c63be28984bd547ec49432c1ccd4.png

I think you can do it, you just need to move things around a bit.

 

If you want, you can DM me on discord, I have the same username.

Link to comment
4 hours ago, scolcipitato said:

If it doesn't let you download the debug file there is an error before the debug file is created and downloaded, I need a screenshot of the browser console.

 

There are two errors. One when the page first loads, and one after it resolves.

 

image.thumb.png.9cac224a9e5110ccdeac7855ab49c8b7.png

 

Then the Error after it resolves is an Uncaught Type Error:


 

Uncaught (in promise) TypeError: callback is not a function
    apply_folder http://tower/Docker:4121
    waitForGlobal http://tower/Docker:3007
    apply_folder http://tower/Docker:4074
    anonymous http://tower/Docker line 3755 > Function:36
    c http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    fireWith http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    l http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    o http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    send http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    ajax http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    i http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    anonymous http://tower/Docker line 3755 > Function:5
    <anonymous> http://tower/Docker:1851
    e http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    t http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    setTimeout handler*Deferred/then/l/< http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    c http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    fireWith http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    fire http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    c http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    fireWith http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    ready http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    $ http://tower/webGui/javascript/dynamix.js?v=1680052794:5

 

I do have some privacy extensions on my browser, such as Adblock. Has a recent update possibly made it incompatible with those? If I export the list of folders, there are no folders in the export, so something weird is definitely going on

 

 

Edited by Agent531C
Link to comment
Just now, Agent531C said:

 

The Error is an Uncaught Type Error:


 

Uncaught (in promise) TypeError: callback is not a function
    apply_folder http://tower/Docker:4121
    waitForGlobal http://tower/Docker:3007
    apply_folder http://tower/Docker:4074
    anonymous http://tower/Docker line 3755 > Function:36
    c http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    fireWith http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    l http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    o http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    send http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    ajax http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    i http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    anonymous http://tower/Docker line 3755 > Function:5
    <anonymous> http://tower/Docker:1851
    e http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    t http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    setTimeout handler*Deferred/then/l/< http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    c http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    fireWith http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    fire http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    c http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    fireWith http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    ready http://tower/webGui/javascript/dynamix.js?v=1680052794:5
    $ http://tower/webGui/javascript/dynamix.js?v=1680052794:5

 

I do have some privacy extensions on my browser, such as Adblock. Has a recent update possibly made it incompatible with those? If I export the list of folders, there are no folders in the export, so something weird is definitely going on

This is the old plugin. Have you uninstalled it?

Link to comment
2 minutes ago, scolcipitato said:

This is the old plugin. Have you uninstalled it?

 

Interesting, it seems I must have reinstalled at some point. I know I had removed when the updated one first released, but it was in my plugin list. I removed it, and it all works as expected now - Thanks!

  • Upvote 1
Link to comment
50 minutes ago, scolcipitato said:

Forgive me, but I can't understand the problem you are having,

Here I see everything collapsed, and it looks right, the Docker and VMs sections are collapsed so nothing is shown.

And here I don't see the Docker or the VMs section.

I tried debugging the file you gave me, but I didn't find any error, but I don't know if I'm looking for a bug in the logic or a bug in the UI part.

 

I think you can do it, you just need to move things around a bit.

 

If you want, you can DM me on discord, I have the same username.

 

Ok thanks again scolcipitato ... I will unlock the dashboard page and try moving the window panes around.

 

thanks,

 

E

Link to comment

Better yet... this will not change the buttons at the bottom of the page...

 

Staring at line 36 of the file, replace that section with this:

 

button[class*='dropDown-'] {
	margin-top: 5px !important;
	margin-right: 3px !important;
	color: #4f4f4f  !important;
background: #e6e6e6 !important;
border: 1px solid #999 !important;
 }

 

  • Like 1
Link to comment
2 hours ago, hernandito said:

Better yet... this will not change the buttons at the bottom of the page...

 

Staring at line 36 of the file, replace that section with this:

 

button[class*='dropDown-'] {
	margin-top: 5px !important;
	margin-right: 3px !important;
	color: #4f4f4f  !important;
background: #e6e6e6 !important;
border: 1px solid #999 !important;
 }

 

Thanks i will try it, at all it's looking perfect, same as was in docker Folder + some more in advanced mode. 

A little bolding the orange buttons but it also cool looking

Link to comment
On 8/20/2023 at 3:05 AM, scolcipitato said:

I need the debug file (first post for instructions), for the VM tabs and the dashboard, what I can advise is to try and reorder the VMs in the VMs tab and refresh, this happened with migration from the old plugin to the new.

 

 

Hey everyone, I was having an issue where, after I edited a folder and put a container inside of it, I lost almost all of my folders and the containers showed outside.

 

Not only that, I couldn't click the remaining folder icons. (Three folders remained.)

 

I tried CTRL+F5, creating a new folder, rebooting, restarting WebUI...

 

After following @scolcipitato's advice and rearranging the order of the three remaining folders on the Docker tab, this fixed my issue.

 

Thank you!

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.