okfn / opendataeditor

The Open Data Editor (ODE) is a no-code application to explore, validate and publish data in a simple way. Forever free and open source project powered by the Frictionless Framework.
http://opendataeditor.okfn.org
MIT License
163 stars 19 forks source link

Cannot delete content of multiple cells #350

Closed romicolman closed 3 months ago

romicolman commented 5 months ago

Problem description

If a user wants to delete content from A1:A4 (for example), it is not possible at the moment. Something similar happens if you want to remove content from an entire row. You can only make changes to cells one by one (double click on each cell).

Captura de pantalla 2024-04-24 a la(s) 22 25 46
romicolman commented 4 months ago

Adding more context to this issue.

Steps to reproduce it

Right now it is not possible to select more than 1 cell to edit data.

Suggested solution

Allow the user to select more than one cell and remove data with the Backspace keyboard key

romicolman commented 4 months ago

I tested the change in Mac and I have two comments:

guergana commented 4 months ago

I tested the change in Mac and I have two comments:

  • To delete cells content in Mac the user needs to select fn + backspace. When performing this action, content from selected cells is remove.
  • However, when a user selects a range and then backspace, nothing happens. Could we also implement the "delete" when using just the backspace key? Can we make sure this also works for other OS?

Sure. Will add a PR also for the backspace key

guergana commented 4 months ago

@romicolman @roll Please check again that it is working with the backspace key press as well. Before it was only working with the delete.

romicolman commented 4 months ago

I tested this on the PR. It is not working on Mac