always confirm deletion

Ticket

+commit
 

Support Ticket

Deleting cards - always ask before deletion+status
answered
Deleting cards - always ask before deletion+tags
 

Deleting cards - always ask before deletion+issues

Would be great to always add the question if you really want to delete a card, since the right-hand corner to make the box bigger is very close to the delete button and the button can be hit accidentaly.

 

Good call. This is ticketed for development, targetted for 1.9: always confirm deletion.

 

 

We currently only prompt for confirmation when there are "dependents" - (plus cards, basically), and this is done as a separate request, with validation at the model level.

The confirmation should really just be an interface issue -- not a controller / model thing.  (Same with rename, really)

We should do this using the rails "data-confirm" pattern, and there should be a link to dependents when applicable.

 

 

deletion is now always confirmed.  it's out of the model and uses a popup.  much cleaner!