Implement the ability to lock & unlock the dashboard #7830

Closed
opened 2025-12-29 20:28:45 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Mar 31, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.5-beta1

Feature type

Change to existing functionality

Proposed functionality

Implement UI controls on the dashboard to lock and unlock the rearrangement and resizing of widgets. This can be accomplished by toggling the disableDrag and disableResize grid options.

The dashboard should be locked by default, with a button to unlock it. Unlocking the dashboard should replace the "unlock" button with "save" and "reset" buttons.

Use case

Currently, the widgets on a user's dashboard can always be rearranged freely. While sometimes convenient, this can also lead to accidental (though temporary) changes. Locking the layout of the dashboard by default avoids these errant changes.

Database changes

No response

External dependencies

No response

Originally created by @jeremystretch on GitHub (Mar 31, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.5-beta1 ### Feature type Change to existing functionality ### Proposed functionality Implement UI controls on the dashboard to lock and unlock the rearrangement and resizing of widgets. This can be accomplished by toggling the `disableDrag` and `disableResize` [grid options](https://github.com/gridstack/gridstack.js/tree/master/doc#grid-options). The dashboard should be locked by default, with a button to unlock it. Unlocking the dashboard should replace the "unlock" button with "save" and "reset" buttons. ### Use case Currently, the widgets on a user's dashboard can always be rearranged freely. While sometimes convenient, this can also lead to accidental (though temporary) changes. Locking the layout of the dashboard by default avoids these errant changes. ### Database changes _No response_ ### External dependencies _No response_
adam added the status: acceptedtype: featurebeta labels 2025-12-29 20:28:45 +01:00
adam closed this issue 2025-12-29 20:28:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7830