BlueWaveTechnologies / bluewave-explorer

Javascript component used to create charts and graphs from tabular data
MIT License
2 stars 0 forks source link

Canvas: When table component is actively selected, the keyboard "delete" key will delete the component #7

Open smurff opened 3 years ago

smurff commented 3 years ago

One of the goals of the canvas interface is to facilitate shortcuts for the user that permit speed of ideation.

In this case, if an item is highlighted, allow the user to delete the table component simply by clicking on the “delete” keyboard button

Note - if there are dependencies on the data in the table, such as a visualization:

  1. Prompt the user to make sure they want to go through with this action
  2. After deleting, leave the dependent components in place. We will create a “broken data” state whereby the visualization piece that was tied to this table component is greyed out. The reasoning is that we also want to use this canvas as a mechanism to trace back data sources of visualizations.
114789689-5b465f00-9d38-11eb-9158-b7b8f853da63 114789774-787b2d80-9d38-11eb-83ca-8604eaf00f51