Skip to content

Editing ports should return to the device page #5089

@cpmills1975

Description

@cpmills1975

Environment

  • Python version: 3.7
  • NetBox version: 2.9.2

Proposed Functionality

When creating a new port on a device, clicking the create button returns the browser to the device page. If the port is edited, clicking the Update button takes the browser to the detail page for that port rather than back to the device page. IMHO this doesn't 'feel' right and is probably a bug, but since it's not service affecting, I've raised it as an FR instead.

As an extension to this functionality, it would be nice to return the device page to displaying the table of port types being created/edited, i.e. when returning from adding/editing a console port, the device page should return to displaying console ports not interfaces as it does currently, however I have tried suffixing the URL with the href of the table tab and it doesn't do anything so perhaps this isn't possible or there is some other magic going on when the tab is clicked?

Use Case

While viewing a device, navigating to the edit page for a port is a single click, but after completing the update (and pressing the update button), returning to whence we came requires an additional click in the 'breadcrumbs' and doesn't feel right.

Database Changes

None

External Dependencies

None.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions