-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Remember user preference to show/hide device type images in rack views #5203
Comments
Reminder for whoever takes this on: Be sure to record the chosen preference name in |
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. Please see our contributing guide. |
I could try to solve this issue. |
@ogorov but will you? If you're willing to commit to the work, I'll assign this to you. Otherwise, I'm going to re-apply the "pending closure" label. |
@jeremystretch yes, i'll try. I'll do it if my skills are enough. |
When it will be implemented? Really looking forward for it |
@hoalex, @proudbro, @jeremystretch: This is now implemented in the However, we could take this a step further and make this configurable via the user profile in addition to the current behavior. This would guarantee that the setting is always persisted for the user, regardless of browser. I don't think it would be a ton of work to implement this, but I didn't want to go forward with it if all the interested parties were happy with the new behavior as-is. |
I think it's fine to keep this in local storage for now. We need to spend some time thinking about how best to scale the user preferences framework before we add any more to it. |
Agreed. I do have some thoughts there, and I think it will become more relevant as we move to an SPA model. For the time being, I think we can consider this issue closed as part of 3.0. |
Environment
Proposed Functionality
It would be nice if the value of the "Show images" setting on a rack view could be persisted as a user preference (using the mechanism introduced in #3294).
Use Case
We are making use of device type front/rear images on most of our devices in Netbox. By default, Netbox will render these images in a rack view, except when the user toggles the "Show images" button.
However, this is only valid for the current view -- as soon as another rack view is opened, or the current page is refreshed, Netbox falls back to the default mode, i.e. showing images.
Some users may not see any use in the images, and prefer to always see the name and device type color instead. Having a dedicated user preference key for this setting would allow for this functionality.
Database Changes
none
External Dependencies
none
The text was updated successfully, but these errors were encountered: