netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Reset dashboard for a selection or all users

Open YoucefYousfi opened this issue 1 year ago • 4 comments

NetBox version

v3.6.1

Feature type

Change to existing functionality

Proposed functionality

Currently, modifying the default dashboard doesn't take effect for any user that has viewed the dashboard previously. If there is a change on the configuration for the default dashboard, the only way to view it is to reset the dashboard. It would be nice as an admin to have the ability to force reset the dashboard of a selection or all users. By default, users who made changes to their dashboard could be ignored by this reset.

Use case

Without any user interaction, users could take benefit of a default dashboard change. It may be hard to push all users to reset their dashboard when there are a lot of users, and that is for each default dashboard change.

More specifically, this would also allow admins to display things on the dashboard that can dynamically change, though it would probably require for the default dashboard to be editable without restarting Netbox for this specific use case.

Database changes

No response

External dependencies

No response

YoucefYousfi avatar Dec 07 '23 13:12 YoucefYousfi

Hi @YoucefYousfi, thanks for this issue. @jeremystretch and I talked through it briefly and we see value in it, but we also would like to see deeper exploration of its implications. For instance, a user who has invested lots of effort in getting their personal dashboard just right might log in one day to find their customizations are gone, replaced with a new version that does not serve their needs as well. How could we mitigate such a violation of the principle of least astonishment?

We would love to hear about how this request might be reconciled with use cases you might not yet have considered.

jeffgdotorg avatar Dec 08 '23 15:12 jeffgdotorg

I have thought about this problem as well. I think a simple solution would be to limit the reset to users who use the default dashboard. For users who modified their dashboard, they could either not benefit from the default dashboard changes, or they could be notified that the default dashboard has changed leaving them the choice of keeping theirs or moving to the new default dashboard.

Pushing this idea a bit further, depending on the feasability, users could be asked whether to keep old one, use new one, or even merge dashboards (as in, same widgets on same placement remain unchanged, and new or different widgets can be added at the end of the list of widgets, leaving the user the choice of discarding them when editing their dashboard).

YoucefYousfi avatar Dec 08 '23 17:12 YoucefYousfi

One alternative: "saved" dashboards with a dropdown choice list, With the default being available and customised ones. So when a user saves their dashboard they would get the option of naming it and possibly making it "public" for other users.

This way the "default" dashboard would become a starting point but always be available. People who choose to use the default dashboard would always get the uptodate copy.

ITJamie avatar Dec 13 '23 23:12 ITJamie

Hi Folks, just wonder if there is a way to export a dashboard so I can make it the default dashbord ? I have invested lots of effort in getting a dashboard right for our environment and would like to share it with others. Maybe an admin could share it and make it available as a "public" dashboard? It's solved nicely within LibreNMS where I can choose to keep it privat or make it public. The public dashboard name is just prefixed with the username.

wriedel avatar Jan 19 '24 10:01 wriedel

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

github-actions[bot] avatar Aug 22 '24 04:08 github-actions[bot]

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

github-actions[bot] avatar Sep 21 '24 04:09 github-actions[bot]