We didn't do a confirmation in the structure panel because you have an option to undo the action in the editor so it is not destructive. In the file manager there is a confirm dialog because you can't undo that action. You can bypass the confirm dialog in the file manager by holding shift when pressing delete.
Problem is I accidentally clicked on a delete button and didn't catch it right away. I had to undo several steps of work to hopefully get it back. There has to be a way to prevent accidentally deleting elements. Thank god I caught the missing element in time or it would have been a disaster. I ended up deleting a 'section' that contained about 20 server connect actions. I would have had to redo all of those.
I would at least remove that option from the hover and make it a right click.
This is so dangerous it shouldn't even be a discussion. Easy to just remove that option from the hover and make it right click menu to delete. I see no reason to have that there. Does not solve any issues people were having. Undo only works if you catch it right away.
The actions on hover are for quick access and will have the most used actions. We are still experimenting and figuring out which actions should go there and secondary actions will be available in the context menu or via short-cut keys. We hope with the beta to get enough feedback to determine which actions are most used and should be available on hover and the delete is maybe better as secondary since you normally don't go delete that much.
If the delete will be only in the context menu then I think the confirmation is not needed since you already have to do multiple mouse clicks and doing that by accident will not happen that fast.
If it is in the context menu I agree it doesn't need a confirmation as that has to be pretty deliberate. But the way it is now, I don't even know how I deleted it. The panel must have opened with the mouse over the delete option and I accidentally clicked on it. Good thing I test in browser very often or I wouldn't even have noticed it was gone. It took me awhile even to figure out what was deleted.
I can't use a mouse because of arthritis in my fingers so I use a track pad. So easy to accidentally click.
Besides, it is already easy to delete an element by simply selecting it in design view and hitting the delete button on the keyboard.
sorry brad, did not make a distinction between it and the new visual hover quick action menu...to me i was a context menu so...
anyways, what i mean is if we could setup these menus in options e.g to show delete button etc is a better solution..
We want to keep the quick action menu items to a minimum (max 3 items). We removed the delete action and added the duplicate and insert after to it. We think those are the most used actions for the tree and all other actions are available under the context menu or using shortcut keys.