Skip to content

Conversation

@madsrasmussen
Copy link
Contributor

@madsrasmussen madsrasmussen commented Feb 20, 2025

This PR implements the same principles as #18351 but for bulk trash/delete instead.

FYI: We currently do not have any places in the UI that support "bulk delete with a relation," but I have implemented the logic in this PR anyway. We need to support it when we implement the workspace for the recycle bin, then we don't have to go back and do this again. :)

Example: Delete three items - two of them are referenced.
Screenshot 2025-02-20 at 19 30 48

madsrasmussen and others added 9 commits February 19, 2025 21:00
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/packages/documents/documents/reference/repository/document-reference.server.data.ts
#	src/Umbraco.Web.UI.Client/src/packages/media/media/item/manifests.ts
#	src/Umbraco.Web.UI.Client/src/packages/media/media/reference/repository/media-reference.server.data.ts
#	src/Umbraco.Web.UI.Client/src/packages/relations/relations/types.ts
#	src/Umbraco.Web.UI.Client/utils/all-umb-consts/index.ts
Base automatically changed from v15/feature/delete-referenced-by to v15/dev February 20, 2025 15:29
@madsrasmussen madsrasmussen marked this pull request as ready for review February 20, 2025 18:36
Copy link
Member

@nielslyngsoe nielslyngsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really cool

@nielslyngsoe nielslyngsoe merged commit a482ab2 into v15/dev Feb 24, 2025
22 of 23 checks passed
@nielslyngsoe nielslyngsoe deleted the v15/feature/bulk-delete-referenced-by branch February 24, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants