Add specifity when deleting objects #4714

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

Originally created by @travisperry on GitHub (Mar 31, 2021).

NetBox version

v2.10.4

Feature type

Change to existing functionality

Proposed functionality

The delete button when you drill into a prefix should be renamed to prevent confusion. It is easy to delete the entire prefix when trying to delete a selected IP address since the button for delete selection is at the bottom of the page. It would be helpful to rename the Delete button here to "Delete Prefix"

Use case

Select IPAM > Prefixes
Drill into one of the existing prefixes.
On the screen you intend to delete an address, by selecting the IP check box. It is easy to mistake the Delete button for the Delete selection button

Database changes

No response

External dependencies

No response

Originally created by @travisperry on GitHub (Mar 31, 2021). ### NetBox version v2.10.4 ### Feature type Change to existing functionality ### Proposed functionality The delete button when you drill into a prefix should be renamed to prevent confusion. It is easy to delete the entire prefix when trying to delete a selected IP address since the button for delete selection is at the bottom of the page. It would be helpful to rename the Delete button here to "Delete Prefix" ### Use case Select IPAM > Prefixes Drill into one of the existing prefixes. On the screen you intend to delete an address, by selecting the IP check box. It is easy to mistake the Delete button for the Delete selection button ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurepending closure labels 2025-12-29 19:19:48 +01:00
adam closed this issue 2025-12-29 19:19:48 +01:00
Author
Owner

@networkhorse commented on GitHub (Apr 1, 2021):

I would suggest making this a system-wide change if it happens. Rather than just having it as a one-off for Prefixes and IP Addresses, have it for anything.

Delete {model.type} sort of deal.

@networkhorse commented on GitHub (Apr 1, 2021): I would suggest making this a system-wide change if it happens. Rather than just having it as a one-off for Prefixes and IP Addresses, have it for anything. `Delete {model.type}` sort of deal.
Author
Owner

@ljb2of3 commented on GitHub (Apr 8, 2021):

Yes! I've managed to delete prefixes by mistake because I select some IPs I want to delete then mash the big red delete button instead of the bulk actions button I really wanted.

@ljb2of3 commented on GitHub (Apr 8, 2021): Yes! I've managed to delete prefixes by mistake because I select some IPs I want to delete then mash the big red delete button instead of the bulk actions button I really wanted.
Author
Owner

@jeremystretch commented on GitHub (Apr 9, 2021):

I'm not sure I buy the usability argument here. These buttons are in the same place for every object in NetBox; their functionality is very consistent. Additionally, the confirmation dialog explains precisely what is going to be deleted if you continue; I would expect that to be more than sufficient to address simple user error.

Delete {model.type} sort of deal.

If we expand the delete button, we need to keep it consistent with the other buttons as well:

Screenshot_2021-04-09 10 112 0 0 15 - NetBox

It gets redundant very quickly (especially for models with longer names) and consumes screen space unnecessarily.

@jeremystretch commented on GitHub (Apr 9, 2021): I'm not sure I buy the usability argument here. These buttons are in the same place for every object in NetBox; their functionality is very consistent. Additionally, the confirmation dialog explains precisely what is going to be deleted if you continue; I would expect that to be more than sufficient to address simple user error. > Delete {model.type} sort of deal. If we expand the delete button, we need to keep it consistent with the other buttons as well: ![Screenshot_2021-04-09 10 112 0 0 15 - NetBox](https://user-images.githubusercontent.com/13487278/114214947-fb644880-9932-11eb-8365-b2ae9559caa9.png) It gets redundant very quickly (especially for models with longer names) and consumes screen space unnecessarily.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 9, 2021):

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.

@github-actions[bot] commented on GitHub (Jun 9, 2021): 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](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Jul 10, 2021):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Jul 10, 2021): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4714