engaging-computing / Android

Android Projects relating to isenseproject.org
4 stars 9 forks source link

iS Motion: delete data set should have "Are you sure?" confirmation dialog #69

Open fgmart-zz opened 9 years ago

fgmart-zz commented 9 years ago

"delete" is right next to "rename" in the data set manager dialog.

If you accidentally hit delete, boom, your data set is gone.

It should have a confirm dialog. "Are you sure? Yes, delete. No, cancel."

fgmart-zz commented 9 years ago

Actually, since you can delete data sets from the main window, there's no need to be able to delete them on the long-press.

Long-press should simply let you rename it. And the help at the top of the screen should say "Long-press a data set to rename it."

stowellm commented 9 years ago

Long press also lets you set a project if the data set has no initially associated project. Perhaps something like "Long press a data set to edit it." for the header text, automatically pop up the rename dialog if a project has been set, otherwise give the option to rename or set the project if no project was set?

I do agree about the delete option though. To delete a single data set, users can deselect all data sets with the button, tap the one data set he/she wants to delete, then use the 'delete all selected' button.


EDIT: wait, doesn't it also let you change the description of the data set, too? In that case I'd assume the user should always have a choice what to edit about the data set, not just automatically popping up a rename dialog.

bdonald25 commented 9 years ago

You can't change the description but I added the ability to edit the data from the queue. Someone appeared to have started working on this but it was very broken so I fixed it. Before I fixed it, it would only allow you to edit the most recent point and would delete all the other points.

Now that it is fixed you can rename the data set or edit the data.