Is your feature request related to a problem? Please describe.
When I open a peer from the peers overview, the detail page shows all of its settings and information,
but there is no way to delete the peer from there.
Both existing ways to delete a peer live in the peer overview list:
the three-dot menu on a peer's row, and the bulk action bar that appears at the bottom of the screen once peers are selected. Neither is reachable once a peer is open.
So when I decide on the detail page that a peer should go,
I have to navigate back to the list, find the peer again, and delete it there.
In a long list that means searching or filtering for a peer I had open a moment ago.
Describe the solution you'd like
A way to delete a peer directly from its detail page.
The network detail page already solves exactly this: it has a three-dot menu in its header
with a Delete entry, and it returns to the network list once the network is gone.
The peer detail page is the odd one out here, so following the same pattern seems like the natural fix.
The behaviour I would expect:
- the action is only offered to users who are allowed to delete peers
- the same confirmation dialog that the table's delete action already shows
- after deleting, return to the peer list
- if the confirmation is dismissed, stay on the page and change nothing
Describe alternatives you've considered
- A dedicated Delete button next to Save Changes.
Fewer clicks, but it puts a destructive action directly beside the primary one,
and it does not match how the rest of the dashboard exposes destructive operations.
- Leaving it as it is and going back to the table.
That is the current behaviour and the reason for this request.
Additional context
I would like to work on this myself if the team agrees with the direction.
From what I can tell the change should be small and self-contained.
The confirmation dialog and the DELETE /peers/{id} call already exist behind the table's delete action,
so mainly the entry point and what happens afterwards are missing.
One question for you:
on the network detail page the menu holds both Rename and Delete.
On the peer detail page renaming already has its own pencil icon next to the name,
so a new menu there would hold only the Delete entry.
I would leave the pencil where it is to keep this change focused,
but if you would prefer both actions consolidated into the menu for consistency with networks,
I am happy to include that.
Cheers!
Is your feature request related to a problem? Please describe.
When I open a peer from the peers overview, the detail page shows all of its settings and information,
but there is no way to delete the peer from there.
Both existing ways to delete a peer live in the peer overview list:
the three-dot menu on a peer's row, and the bulk action bar that appears at the bottom of the screen once peers are selected. Neither is reachable once a peer is open.
So when I decide on the detail page that a peer should go,
I have to navigate back to the list, find the peer again, and delete it there.
In a long list that means searching or filtering for a peer I had open a moment ago.
Describe the solution you'd like
A way to delete a peer directly from its detail page.
The network detail page already solves exactly this: it has a three-dot menu in its header
with a Delete entry, and it returns to the network list once the network is gone.
The peer detail page is the odd one out here, so following the same pattern seems like the natural fix.
The behaviour I would expect:
Describe alternatives you've considered
Fewer clicks, but it puts a destructive action directly beside the primary one,
and it does not match how the rest of the dashboard exposes destructive operations.
That is the current behaviour and the reason for this request.
Additional context
I would like to work on this myself if the team agrees with the direction.
From what I can tell the change should be small and self-contained.
The confirmation dialog and the
DELETE /peers/{id}call already exist behind the table's delete action,so mainly the entry point and what happens afterwards are missing.
One question for you:
on the network detail page the menu holds both Rename and Delete.
On the peer detail page renaming already has its own pencil icon next to the name,
so a new menu there would hold only the Delete entry.
I would leave the pencil where it is to keep this change focused,
but if you would prefer both actions consolidated into the menu for consistency with networks,
I am happy to include that.
Cheers!