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

Offer a Global view for Tagged objects. #2557

Closed
Bill-Irvine opened this issue Nov 7, 2018 · 2 comments
Closed

Offer a Global view for Tagged objects. #2557

Bill-Irvine opened this issue Nov 7, 2018 · 2 comments
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@Bill-Irvine
Copy link

Bill-Irvine commented Nov 7, 2018

Environment

  • Python version: 3.5
  • NetBox version: 2.4.6

Proposed Functionality

At the moment we are only able to view tags by object type. i.e. Just circuits or just routers with a specific tag. yet we are able to tag multiple types of object with the same tag.

When clicking a tag we remain within the object that the tag was selected in. I.e if the tag was in circuits then clicking "TESTTAG" would result in https://netbox/circuits/circuits/?tag=TESTTAG

This request is to create a view that allows us to view tags applied to multiple objects similar to how the search function currently looks. The proposed view would list all objects types with that same tag applied.

https://netbox/extras/tags/?tag=TESTTAG

image

In the admin view we are able to see multiple objects with the same tag applied, so making a view with this same functionality shouldn't require any database changes as the functionality looks to already exist.

image

From here we could link the current tags view to a list of all objects under that tag.

image

Or linkable from the object itself that is tagged to see the rest of the objects that have this tag.

image

Use Case

We are looking at implementing tags to track what objects make up a service. This can include interfaces, routers, vlans, sites, etc.

Being able to click on a tag and have all of these tagged objects show up would make this a great visual reference of what objects have been linked together. This could also be used to see what part of a network impacts another part if they are tagged together.

Database Changes

None, this is already viewable under the Taggit page in the admin panel, it should only require a view and url addition.

External Dependencies

None. This will leverage the current Taggit dependency.

@jeremystretch
Copy link
Member

To be clear, you're proposing a complete list of all objects assigned to a single tag, correct? As opposed to a view which lists all objects assigned to all tags?

Also, a tangent: The current admin UI should have been removed in the v2.4 release. Manually assigning tagged objects in that manner obviously isn't very user-friendly.

@jeremystretch jeremystretch added the status: under review Further discussion is needed to determine this issue's scope and/or implementation label Nov 7, 2018
@Bill-Irvine
Copy link
Author

Bill-Irvine commented Nov 7, 2018

Correct. A view that shows a complete list of all objects assigned to a single tag.

Although #2558 could be included in this aswell if multiple tags were required.

The admin view was just an example of how this functionality could be seen at the moment. I wont be planning on using this to assign objects to tags going forward.

Thanks.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application and removed status: under review Further discussion is needed to determine this issue's scope and/or implementation labels Nov 15, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jan 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants