Files
netbox/netbox/utilities
Jason Novinger 17e5184a11 Fixes #20759: Group object types by app in permission form (#20931)
* Fixes #20759: Group object types by app in permission form

Modified the ObjectPermissionForm to use optgroups for organizing
object types by application. This shortens the display names (e.g.,
"permission" instead of "Authentication and Authorization | permission")
while maintaining clear organization through visual grouping.

Changes:
- Updated get_object_types_choices() to return nested optgroup structure
- Enhanced AvailableOptions and SelectedOptions widgets to handle optgroups
- Modified TypeScript moveOptions to preserve optgroup structure
- Added hover text showing full model names
- Styled optgroups with bold, padded labels

* Address PR feedback
2025-12-09 08:43:29 -05:00
..
2016-03-01 11:23:03 -05:00
2025-04-10 17:17:21 -04:00
2025-04-10 17:17:21 -04:00
2025-03-04 08:24:54 -05:00
2025-04-22 08:14:32 -04:00
2023-05-16 14:10:44 -04:00
2025-04-22 16:36:17 -04:00
2025-09-02 10:50:58 -04:00