FlexDash-Unable to Move Widgets around in Dashboard

Hi,

I am somehow unable to move the widgets around in the dashboard. I was able to do earlier so something I have changed or something happened recently. i am able to resize the widgets, but they don't move left or right.
what could be wrong ?

My version is alpha v0.4.84

unable_to_move

1 Like

Hmmm, that's a new one... I can't reproduce the problem, the moving works for me, and I haven't changed anything in that area in a while. What do you see in the browser console? Any errors? It should print a 'moveWidget' message on each of your clicks on the arrows...

Have been facing some other issues too. like some times the FOCUS of the selected widget moves and not the actual widget. some times i cant see the edit panel at all (in which the move widget arrows are there) and it is random, i cant replicate when required.
Edit : and the issue of widget not deployed upon browser refresh, which i raised in another post still exists. Custom FD Widget not (remain) deployed

I found some thing in red font in the browser, when i click MOVE arrow, pasting below

image

StoreError: widget xe5427db2ec7accc6 does not exist
    at EV.widgetByID (index.a39dae0d.js:242:8720)
    at Proxy.firstInGroup (index.a39dae0d.js:273:34217)
    at Proxy.moveWidget (index.a39dae0d.js:273:34676)
    at onMove (index.a39dae0d.js:440:8474)
    at zi (index.a39dae0d.js:1:15377)
    at Vl (index.a39dae0d.js:1:15456)
    at q1 (index.a39dae0d.js:1:17868)
    at c.onMove.t.<computed>.t.<computed> (index.a39dae0d.js:273:31409)
    at zi (index.a39dae0d.js:1:15377)
    at Vl (index.a39dae0d.js:1:15456)

DO you have disabled flows or nodes? If so, try to re-enable and then move things around. I assume you did a Node-RED restart and browser reload already?

If the problems persist, I would recommend creating a new grid on that tab and moving the widgets into that and then deleting the old grid at the end. Not great but that may work to resolve the issue.

will do that and revert,
meanwhile i copied these and many more (the browser console is full of it) may be makes some senses to you.

TypeError: Cannot read properties of null (reading 'emitsOptions')
    at X1 (index.a39dae0d.js:1:19869)
    at K (index.a39dae0d.js:1:52955)
    at R (index.a39dae0d.js:1:52683)
    at b (index.a39dae0d.js:1:49229)
    at ne (index.a39dae0d.js:1:55061)
    at Z (index.a39dae0d.js:1:54547)
    at B (index.a39dae0d.js:1:52531)
    at b (index.a39dae0d.js:1:49151)
    at ne (index.a39dae0d.js:1:55061)
    at Z (index.a39dae0d.js:1:54547)
z1 @ index.a39dae0d.js:1
index.a39dae0d.js:1 TypeError: Cannot destructure property 'bum' of 'F' as it is null.
    at Ue (index.a39dae0d.js:1:57667)
    at de (index.a39dae0d.js:1:56970)
    at Ne (index.a39dae0d.js:1:57995)
    at de (index.a39dae0d.js:1:57183)
    at ne (index.a39dae0d.js:1:55846)
    at Z (index.a39dae0d.js:1:54547)
    at Object.process (index.a39dae0d.js:1:59763)
    at b (index.a39dae0d.js:1:49276)
    at ne (index.a39dae0d.js:1:55061)
    at Z (index.a39dae0d.js:1:54547)
z1 @ index.a39dae0d.js:1
index.a39dae0d.js:1 TypeError: Cannot read properties of null (reading 'emitsOptions')
    at X1 (index.a39dae0d.js:1:19869)
    at K (index.a39dae0d.js:1:52955)
    at R (index.a39dae0d.js:1:52683)
    at b (index.a39dae0d.js:1:49229)
    at ne (index.a39dae0d.js:1:55061)
    at Z (index.a39dae0d.js:1:54400)
    at B (index.a39dae0d.js:1:52531)
    at b (index.a39dae0d.js:1:49151)
    at I (index.a39dae0d.js:1:51843)
    at P (index.a39dae0d.js:1:51149)
1 Like

Yes, i had disabled few nodes ,(and forgot about them, not needed anymore) upon resurrecting them, i am now able to move around. and my dashboard is now total mess, because of not-required widgets have cluttered the whole thing. i can move them to another panel and move it to another tab may be ? i dont want to delete them , may be useful sometime later so i dont want them to be re-written again...
So i cannot have disabled nodes in the flow ?

1 Like

I'm sorry you're having these issues. I'm currently working on ripping all the code about reordering widgets on the FD side out, I know it has too many corner cases. Let me know if you end up stuck.

In theory they work. In practice...
Moving disabled widgets/flows to another tab or another grid is a good idea for now. Part of the issue is that they remain in the data structure sent to FD but are marked as disabled and when you move widgets it has to do the right thing and skip over them, etc. So moving them elsewhere avoids that code.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.