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

Add DeleteMany action, add ability to remove empty entities, organize code #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dagardiner
Copy link
Contributor

No description provided.

Copy link
Contributor

@jelster jelster left a comment

Choose a reason for hiding this comment

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

whew! what a doozie this is! 😵

Thanks for putting in all the effort to cleaning this up. I'd like to see some sort of user confirmation prompt or speedbump in the delete process since it's pretty profound; the confirmation should appear if the ruleapp has unsaved changes and ask the user if they want to save, and as well/alternatively prompt the user to confirm the deletion operation (reminding them that it is not undoable). Thoughts on that?

_controller.RemoveDef(target.InnerDef);
list.RemoveItem(target);
}
public void DeleteManyAction(FieldDefListView list, IEnumerable<UnusedFieldReference> targets)
Copy link
Contributor

Choose a reason for hiding this comment

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

for sanity's sake does it make sense to create a temporary backup copy of the ruleapp before making these changes, or at least to prompt the user (if it doesn't already) to save the ruleapp before continuing?

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.

2 participants