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

Global Tenant Filter Dropdown #16125

Open
Yarli opened this issue May 14, 2024 · 0 comments
Open

Global Tenant Filter Dropdown #16125

Yarli opened this issue May 14, 2024 · 0 comments
Labels
complexity: high Expected to require a large amont of time and effort to implement relative to other tasks status: backlog Awaiting selection for work type: feature Introduction of new functionality to the application

Comments

@Yarli
Copy link

Yarli commented May 14, 2024

NetBox version

3.6.6

Feature type

New functionality

Proposed functionality

Could we have a dropdown at the top, possibly next to the user dropdown menu, that defaults to "All Tenants" and allows you to select a tenant in which you can filter all data by. We frequently work between customers and our own internal systems within NetBox, and having this option would then set the tenant filter (where available) on all dropdowns when working on various records. For example: setting the tenant at the top from All to a specific tenant would mean when you add an IP address, it not only would auto set the tenant for the IP, it would also filter all the Devices or Virtual machines etc to only show ones from that tenant as well. If the default is set to All, then it would mean the current functionality of NetBox remains unchanged.
Users could then also set in their user preferences if they want a default tenant, which would mean upon logging in their tenant selection would be set for them as well, or just simply set a cookie to the last value selected perhaps ? either way some form of persistence would also be nice.

If the dropdown could also reflect the tenant groups too, that would be very nice, for example:

  • Tenant Group 1
    -- Tenant 1
    -- Tenant 2
  • Tenant Group 2
    -- Tenant 3
    -- Tenant 4 etc

Use case

At the moment it can be time consuming with a multi-tenanted NetBox instance, having to select the Tenant using the "Open Selector" icon next to the various drop downs.
Having the tenant preset using that dropdown would save users a lot of time.

Database changes

I don't think this would need any changes, unless you also offered a "Default Tenant" option in the user options section.
I think storing the last set value via a cookie would be sufficient, and negate the need for any DB changes.

External dependencies

No response

@Yarli Yarli added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels May 14, 2024
@arthanson arthanson added status: under review Further discussion is needed to determine this issue's scope and/or implementation and removed status: needs triage This issue is awaiting triage by a maintainer labels May 14, 2024
@arthanson arthanson removed their assignment May 14, 2024
@jeremystretch jeremystretch added complexity: high Expected to require a large amont of time and effort to implement relative to other tasks status: backlog Awaiting selection for work and removed status: under review Further discussion is needed to determine this issue's scope and/or implementation labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: high Expected to require a large amont of time and effort to implement relative to other tasks status: backlog Awaiting selection for work type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

3 participants