Skip to content

Enable pinning objects to a user's home page #8248

@jeremystretch

Description

@jeremystretch

NetBox version

v3.1.4

Feature type

New functionality

Proposed functionality

Include a "pin to homepage" button on the view for (almost?) every object. When clicked, a new record will be created associating the object with the current user as a "pinned" or "favorite" object. The NetBox home page will be extended to display a list of all such objects for the current user. Objects can be "unpinned" from this list as needed.

This idea was originally proposed by @bogdancordos in #8235.

Use case

This allows a user to compile a list of commonly-viewed objects for near- or long-term use.

It's also somewhat related to #7855, which proposes displaying a history of recently viewed objects.

Database changes

I imagine the introduction of a simple new model within the users app (e.g. UserFavorite) mapping the user object to the "pinned" object via a generic foreign key. We would probably want to track creation date, and possibly assign a numeric weight to aid in reordering objects, depending on how much functionality is needed.

External dependencies

No response

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions