Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Add a "Delete" button to Views of Areas, Assets, and Logs.
With regards to areas, this is also a followup to #2659874: Area generator.
Now that areas can be generated in bulk, you should also be able to delete them in bulk. Otherwise, you could end up accidentally creating a hundred beds that are at the wrong orientation, and then have to delete them one-by-one (ugh).
However, there is a danger to bulk deletions too. See: #2378327: Referenced entities can be deleted
Comments
Comment #2
m.stentaWorth noting, for anyone who comes across this: if you delete the parent area, it will delete all the child areas as well.
BUT BEWARE: if the parent area has any logs/assets associated with it, the association will be broken, so you'll lose data. So only delete a parent area if it is brand new and blank. I plan to add some protection against deleting referenced areas in the future: #2378327: Referenced entities can be deleted
Comment #3
m.stentaAll farmOS repositories have been merged into the farmOS distribution (see #2876992: Merge farmOS repositories into drupal.org/project/farm). I'm going through and moving all open issues from the various project issue queues to the central queue now...
Comment #4
m.stentaI'm expanding the scope of this issue to also add the ability to delete assets and logs in bulk.
It is important that this happens in tandem with #2378327: Referenced entities can be deleted
Comment #5
m.stentaComment #7
m.stentaDone! Bulk delete buttons added to all asset and log lists.