Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

U4-9367 Refined context menu for content in the recycle bin #2687

Merged
merged 3 commits into from
Jun 13, 2018
Merged

U4-9367 Refined context menu for content in the recycle bin #2687

merged 3 commits into from
Jun 13, 2018

Conversation

ed-parry
Copy link
Contributor

Prerequisites

  • I have written a descriptive pull-request title
  • I have linked this PR to an issue on the tracker at http://issues.umbraco.org

Description

This is a potential solution to U4-9367. An old issue, but it makes sense to clean up the context menu for items in the recycle bin. It doesn't look like the original issue is still active (the restore menu appearing for items "moved" from the recycling bin), but having multiple methods is confusing and the restore option is there for a reason.

The new context menu for items in the recycling bin looks as below. I added a new method to build up the menu, rather than pulling items out of the default one.

deletedcontentcontextmenu

Happy to make further changes as required. The items left in the menu make sense to me and work in that context, but focus on the user either restoring or permanently deleting the content.

@poornimanayar
Copy link
Contributor

Hi ,

Many thanks for your PR.We shall review your PR and get back to you within the next 14 days.

Regards,
Poornima (Community Pull Request Team)

Copy link
Member

@nul800sebastiaan nul800sebastiaan left a comment

Choose a reason for hiding this comment

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

Hi @ed-parry - I think the only options here that make real sense are Restore, Delete and Reload. The rest should be done on content that is actually in the content tree (especially sort!). Could you remove Sort, Rollback and Audit Trail options please?

@ed-parry
Copy link
Contributor Author

Hi @nul800sebastiaan - I agree on the sort and rollback, but do you not think there could be value in a user reviewing the audit trail to understand why and/or who deleted the content, as that could be useful information as to whether it should be restored?

I'll make the changes this week and update :) Thanks for taking the time to review!

@nul800sebastiaan
Copy link
Member

Sure.. I guess the audit trail might still make sense, although I'm not even sure if the deletion is recorded in there. But sure, let's keep it for now, even if just for edit history! 👍

@madsrasmussen
Copy link
Contributor

madsrasmussen commented Jun 13, 2018

The deletion is recorded in the audit trail and you have the full history in the info tab. I think we should remove the audit trail also. At some point, we will remove the audit trail from the context menu anyway.

@ed-parry
Copy link
Contributor Author

Good point, @madsrasmussen - forgot about the info tab. I'll remove all three then, since the record is available elsewhere.

@ed-parry
Copy link
Contributor Author

@nul800sebastiaan Updated :) quick question, fixes like this - how would they get into V8 - are V7 fixes getting merged in automatically, or is it a case of seeing if the same issue applies and making the changes specifically in the V8 branch?

@nul800sebastiaan
Copy link
Member

@ed-parry Everything in v7 gets merged up to v8, so yep, only have to do the changes once!

@nul800sebastiaan nul800sebastiaan merged commit 0e4bcc9 into umbraco:dev-v7 Jun 13, 2018
@nul800sebastiaan
Copy link
Member

@ed-parry Thanks for the quick update! And it all works as expected! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants