Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard page layout expands on every change #1593

Open
SynoUser-NL opened this issue Jan 23, 2025 · 3 comments
Open

Dashboard page layout expands on every change #1593

SynoUser-NL opened this issue Jan 23, 2025 · 3 comments
Labels
bug Something isn't working needs-triage Needs looking at to decide what to do

Comments

@SynoUser-NL
Copy link

Current Behavior

Hi,

In Dashboard 2, whenever a flow is updated, the Layout \ Pages overview refreshes and expands all Pages & Groups. There has already been at least 1 request to change this behaviour, and there seem to be some technical issues in solving this.

Again, I would like to say that this is extremely annoying behaviour. We have Dashboards with 10+ pages, and several groups within each page. So scrolling to find a page or group is very time-consuming and .. well.. annoying. And not exactly contributing to ease of use.
If a technical solution for remembering the last state of that overview is difficult for some reason, please, please, please make a button to collapse all pages and groups. That should make it much easier to quickly find the page\group you're looking for.

Thanks! DenW

Expected Behavior

No response

Steps To Reproduce

No response

Environment

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

@SynoUser-NL SynoUser-NL added bug Something isn't working needs-triage Needs looking at to decide what to do labels Jan 23, 2025
@bartbutenaers
Copy link
Contributor

Hi @SynoUser-NL ,

Yes this is indeed a very annoying problem. Very hard to use the sidebar panel this way. I have the same annoyance.

But posting duplicate issues doesn't really help, and is rather confusing for the people that want to contribute to this repo. I had a quick look at it last week, but it is not that easy to solve. Currently the sidebar is continiously refreshing the entire tree (of EditableList elements), for every (node add/remove/...) event that is triggered. Not an issue that you can quickly solve. In the other issue I had mentioned that I would have a look at it, but it is much more work as expected and I have too much familly stuff going on at the moment.

So if anybody is interested to contribute a solution, please be my guest! But if you do, please let me know to make sure I don't spend time on it for nothing.

@SynoUser-NL
Copy link
Author

Hi @bartbutenaers ,

If you read my post beyond the first paragraph you will see that I did actually make a suggestion for a workaround. One that might (i'm not a developer.. shocker.. :) ) be a lot easier to implement.

please make a button to collapse all pages and groups

So my post was not about duplicating the issue, but about offering a possible easier way around the issue that would still be beneficial to other Dashboard builders struggling with this issue. Even if temporary while the real fix is being worked on.

Sorry if this has been considered as a (temporary) solution earlier as well, but I have not seen that. If that's the case, I stand corrected and will happily close this post.
Thanks, DenW

@bartbutenaers
Copy link
Contributor

Yes you are right that the collapse button would be a workaround.
But I have to admit that I am also getting nuts when the sidebar keeps collapsing.
So I would like to fix that, but just need to find some free time in the evenings...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Needs looking at to decide what to do
Projects
Status: Backlog
Development

No branches or pull requests

2 participants