Skip to content
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

Be able to group Custom Fields #8495

Closed
hagbarddenstore opened this issue Jan 29, 2022 · 6 comments
Closed

Be able to group Custom Fields #8495

hagbarddenstore opened this issue Jan 29, 2022 · 6 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@hagbarddenstore
Copy link
Contributor

NetBox version

v3.1.6

Feature type

New functionality

Proposed functionality

Add a label/group field to a custom field and render a box with all the grouped fields within that box.

The template which renders the custom fields should group all fields with a group set and render a new box with the fields in.

Screenshot 2022-01-29 at 20 07 25

Use case

To help the user find the information they are looking for.

It makes it easier to sift through lots of fields if they are grouped, because then you only need to focus on finding the right group before diving into each field.

Database changes

Add a group or label field to the custom field model.

External dependencies

No response

@hagbarddenstore hagbarddenstore added the type: feature Introduction of new functionality to the application label Jan 29, 2022
@hagbarddenstore
Copy link
Contributor Author

Issue #4499 suggests the same thing, but was closed with a reference to the FAQ. I can't find the relevant information in the FAQ anymore.

@snowie-swe
Copy link

Suggesting to add some sort of "custom section" that the custom fields are added in to.
This would allow for greater customization and decrease the number of request of changes to netbox core modules.

@jeremystretch
Copy link
Member

Is the proposal here to mimic the group_name on CustomLink, which is just an (optional) text field? I think that'd be reasonable.

@jeremystretch jeremystretch added the status: under review Further discussion is needed to determine this issue's scope and/or implementation label Feb 1, 2022
@hagbarddenstore
Copy link
Contributor Author

hagbarddenstore commented Feb 1, 2022 via email

@jeremystretch jeremystretch added needs milestone Awaiting prioritization for inclusion with a future NetBox release and removed status: under review Further discussion is needed to determine this issue's scope and/or implementation labels Feb 7, 2022
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed needs milestone Awaiting prioritization for inclusion with a future NetBox release labels Apr 7, 2022
@jeremystretch jeremystretch added this to the v3.3 milestone Apr 7, 2022
@jeremystretch jeremystretch self-assigned this Apr 15, 2022
@jeremystretch
Copy link
Member

This FR was the focus of today's live coding session! The recording is available here for anyone interested.

@jeremystretch
Copy link
Member

I ended up just splitting the groups into different tables within the same panels, to avoid user confusion over what is and is not a custom field.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 15, 2022
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 type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

3 participants