decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.65k stars 3.02k forks source link

Please consider changing delete icon / placement + adding a confirmation for deleting a widget list item #7135

Open squidgemonster opened 3 months ago

squidgemonster commented 3 months ago

I haven't found anything relating to this searching through issues - but to give a bit of context:

A new client got confused while adding items to a widget list. They clicked 'x' on one, thinking it was going to close the accordion for that item - which isn't too much of a stretch - didn't see the UI change - and consequently lost that entry.

Please consider:

Hopefully there is some logic in there. I would be happy to offer some UX input into the project, if it's needed. Sadly my coding skills don't stretch to React, to contribute to the code directly.

martinjagodic commented 3 months ago

@squidgemonster I agree with replacing the icon from X to the trash bin, but I am skeptical about an alert prompt because it could slow down a bulk operation.

squidgemonster commented 3 months ago

@martinjagodic I think the icon would make a big difference, in the first instance.

Bulk operations could be a toggle, in that case... default behaviour is a prompt, if you switch to batch delete, then you can click and delete instantly?