netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.77k stars 2.54k forks source link

Last visited overview on startpage #7855

Open PieterL75 opened 2 years ago

PieterL75 commented 2 years ago

NetBox version

v3.0.10

Feature type

New functionality

Proposed functionality

Keep track of the objects that have been visited last and frequently. This can be displayed on the dashboard (or even in a dropdown on the top of each page), so that it is easier to navigate.

Use case

When working in netbox, I frequently have to go back to the prefix, device, .. when I added a child item. Also, when returning to netbox the day after, I want to be able to easy go back to where I was the day before.

The dropdown on the toppage, will give the fastest navigation possbilities

Database changes

A new table needs to be created that will contain

External dependencies

No response

sdktr commented 2 years ago

This proposal doesn't seem to cover list views. Nonetheless where a filtered view is requested. For example a site filtered view of devices, additionally filtered by device-type.

Would be nice to have those in the history list as well.

jeremystretch commented 2 years ago

I would expect something like this to be implemented outside the database entirely, by simply caching the URL in Redis each time a user visits a new UI page. That should avoid introducing too much overhead or filling the database with cruft.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.