amelioro / ameliorate

A tool for analyzing debatable problems effectively, collaboratively, and with an open mind.
https://ameliorate.app
MIT License
26 stars 10 forks source link

Hotkey for delete selected node/edge #520

Open keyserj opened 1 month ago

keyserj commented 1 month ago

Describe your issue

It's nice that we've got a toolbar button and right-click menu option to delete a graph part (node/edge) image

but if my hands are on the keyboard, I lose hundreds of milliseconds moving my hands to the mouse in order to click one of those options.

Solution you'd like

If a node or edge is selected, pressing Delete should delete it.

Note: if typing in the node's textbox, delete should do the typical text-editing, not delete the node.

Alternatives you've considered

No response

Additional context

No response

Technical ideas and questions

Should be very similar to setting the score for the selected node/edge, except: