Breadcrumb navigation improvement #3549

Closed
opened 2025-12-29 18:29:48 +01:00 by adam · 4 comments
Owner

Originally created by @Yannis100 on GitHub (Apr 7, 2020).

Environment

  • Python version: 3.6.10
  • NetBox version: 2.7.11

Proposed Functionality

Standardize Breadcrumbs in IPAM and Devices

Currently, the breadcrumbs (I hope it's the right word) are not very useful when browsing IP addresses and prefixes, it's better for Devices and Organizational objects but it could be improved in my opinion :

Type Current After Comment
Device sitename / Racks / rackname / device sitename / Racks / rackgroup / rackname / tenant / device tenant link to devices of the tenant
Prefix Prefixes / prefix site / tenant / prefix tenant link to prefixes assigned to the tenant
IP Address IP Addresses / IPAddress IP Addresses / ParentPrefixName / TenantName / DeviceName / IPAddress include all parent prefixes ? Linked Device optional (already a link)

I'm sure missing some others objects that would benefit from an improvement, but before I dig more into it, is anyone interested ?

Use Case

Better navigation

Database Changes

None I think

External Dependencies

None

Originally created by @Yannis100 on GitHub (Apr 7, 2020). <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for proposing specific new features or enhancements. If you have a general idea or question, please post to our mailing list instead of opening an issue: https://groups.google.com/forum/#!forum/netbox-discuss NOTE: Due to an excessive backlog of feature requests, we are not currently accepting any proposals which significantly extend NetBox's feature scope. Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report. --> ### Environment * Python version: 3.6.10 <!-- Example: 3.6.9 --> * NetBox version: 2.7.11 <!-- Example: 2.7.3 --> <!-- Describe in detail the new functionality you are proposing. Include any specific changes to work flows, data models, or the user interface. --> ### Proposed Functionality Standardize Breadcrumbs in IPAM and Devices Currently, the breadcrumbs (I hope it's the right word) are not very useful when browsing IP addresses and prefixes, it's better for Devices and Organizational objects but it could be improved in my opinion : | Type | Current | After | Comment | | ---------- | ------------------------------------ | ------------------------------------------------------------ | ---------------------------------------------------- | | Device | sitename / Racks / rackname / device | sitename / Racks / rackgroup / rackname / tenant / device | tenant link to devices of the `tenant` | | Prefix | Prefixes / prefix | site / tenant / prefix | tenant link to prefixes assigned to the `tenant` | | IP Address | IP Addresses / IPAddress | IP Addresses / ParentPrefixName / TenantName / DeviceName / IPAddress | include all parent prefixes ? Linked Device optional (already a link) | I'm sure missing some others objects that would benefit from an improvement, but before I dig more into it, is anyone interested ? <!-- Convey an example use case for your proposed feature. Write from the perspective of a NetBox user who would benefit from the proposed functionality and describe how. ---> ### Use Case Better navigation <!-- Note any changes to the database schema necessary to support the new feature. For example, does the proposal require adding a new model or field? (Not all new features require database changes.) ---> ### Database Changes None I think <!-- List any new dependencies on external libraries or services that this new feature would introduce. For example, does the proposal require the installation of a new Python package? (Not all new features introduce new dependencies.) --> ### External Dependencies None
adam closed this issue 2025-12-29 18:29:48 +01:00
Author
Owner

@DanSheps commented on GitHub (Apr 7, 2020):

Tenant doesn't form part of the hierarchy for most of these models, as such it doesn't make sense to include them in the breadcrumb.

@DanSheps commented on GitHub (Apr 7, 2020): Tenant doesn't form part of the hierarchy for most of these models, as such it doesn't make sense to include them in the breadcrumb.
Author
Owner

@Yannis100 commented on GitHub (Apr 7, 2020):

Thanks for your input
Ok then, maybe not in breadcrumb but what about a way to quickly navigate to the list of prefixes with tenant filter on from the prefix details page ? Same for ip address and so on.
It could be done with custom link but I would prefer to have it integrated?

@Yannis100 commented on GitHub (Apr 7, 2020): Thanks for your input Ok then, maybe not in breadcrumb but what about a way to quickly navigate to the list of prefixes with tenant filter on from the prefix details page ? Same for ip address and so on. It could be done with custom link but I would prefer to have it integrated?
Author
Owner

@jeremystretch commented on GitHub (Apr 7, 2020):

As @DanSheps pointed out, tenancy is not part of the hierarchy for these items, so it doesn't appear in the breadrcrumbs.

what about a way to quickly navigate to the list of prefixes with tenant filter on from the prefix details page ? Same for ip address and so on.

You'd have to open a new issue proposing specific changes, as this differs from the proposal in this FR.

@jeremystretch commented on GitHub (Apr 7, 2020): As @DanSheps pointed out, tenancy is not part of the hierarchy for these items, so it doesn't appear in the breadrcrumbs. > what about a way to quickly navigate to the list of prefixes with tenant filter on from the prefix details page ? Same for ip address and so on. You'd have to open a new issue proposing specific changes, as this differs from the proposal in this FR.
Author
Owner

@Yannis100 commented on GitHub (Apr 7, 2020):

Fine I'll open a new FR
Still I find breadcrumbs a bit not straightforward, at least for IP Addresses and Prefix; in contrast VLAN breadcrumbs are exactly the way I imagine them (link to the list with filter on)

@Yannis100 commented on GitHub (Apr 7, 2020): Fine I'll open a new FR Still I find breadcrumbs a bit not straightforward, at least for IP Addresses and Prefix; in contrast VLAN breadcrumbs are exactly the way I imagine them (link to the list with filter on)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3549