Skip to content

Direct link from Site to Elevations #3152

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

Closed
candlerb opened this issue May 5, 2019 · 4 comments
Closed

Direct link from Site to Elevations #3152

candlerb opened this issue May 5, 2019 · 4 comments
Labels
status: accepted This issue has been accepted for implementation

Comments

@candlerb
Copy link
Contributor

candlerb commented May 5, 2019

Environment

  • Python version: 3.5.2
  • NetBox version: 2.5.12

Proposed Functionality

On the Site detail page (/dcim/sites/foo/), include a link to the elevations for that site (/dcim/rack-elevations/?site=foo)

I suggest this belongs near the "Images" pane.

Use Case

At the moment, to see elevations for a given site, you first have to navigate to Racks > Elevations, then apply a filter for the site. Even if you've already navigated to the relevant Site (which is easy from a device), you have to search for the site again.

Elevations are the chief visualization provided by Netbox, and I think it should be easier to navigate to them.

Database Changes

None

External Dependencies

None

@tb-killa
Copy link
Contributor

tb-killa commented May 6, 2019

@candlerb If you create Rack Groups with your Racks and go to the Site you will see this ones:

image

If you click on the Button (marked yellow) you will return to the Rack Elevations with URL-Parameters /dcim/rack-elevations/?group_id=3.

If this would be accepted and implemented i prefer the Link for the Rack Elevations on the Sites Template as an own "Panel" with URL Link like /dcim/rack-elevations/?sites_id=XXX

Edit: The filtering-URL from Rack Elevations after use the Filtering Options would be /dcim/rack-elevations/?q=&site=xxx

@jeremystretch jeremystretch changed the title [Trivial] Direct link from Site to Elevations Direct link from Site to Elevations May 6, 2019
@jeremystretch
Copy link
Member

I've looked at this for a while and I honestly can't find a good place to put a link. Doesn't make sense to put it inside the rack groups panel.

@jeremystretch jeremystretch added the status: under review Further discussion is needed to determine this issue's scope and/or implementation label Jun 24, 2019
@bellwood
Copy link
Contributor

bellwood commented Oct 31, 2019

Under the details for a site, why not just add another tab between "Site" and "Change Log" called "Elevations" and let it take the user to the elevations for the site and if they need to drill down further, they can filter as needed (Rack group, etc)

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: ui and removed status: under review Further discussion is needed to determine this issue's scope and/or implementation labels Dec 13, 2019
@jeremystretch
Copy link
Member

I snuck an "all racks" entry into the rack groups table.

@lock lock bot locked as resolved and limited conversation to collaborators Mar 17, 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants