Home GnuPG

Convert Maniphest merge operations to modern Relationship code
2a7545a452b0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Convert Maniphest merge operations to modern Relationship code

Summary:
Ref T4788. Fixes T7820. This updates the "Merge Duplicates In" interaction, and adds a "Close as Duplicate" action.

These are the last interactions that were using the old code, so it removes that code.

Merges are now recorded as real edges, so we can show them in the UI later on (originally from T9390, etc).

Also provides more general support for relationships which need EDIT permission, not-undoable relationships like merges, preventing relating an object to itself, and relationship side effects like merges.

Finally, fixes a couple of behaviors around typing an exact object name (like T123) to find the related object.

Test Plan:

  • Merged tasks into the current task.
  • Closed the current task as a duplicate of another task.
  • Edited other relationships.
  • Searched for tasks, commits, etc., by object monogram.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4788, T7820

Differential Revision: https://secure.phabricator.com/D16196

Details

Provenance
epriestley <git@epriestley.com>Authored on Jun 29 2016, 8:09 PM
Parents
rPHAB4f8d07594e2a: Fix a CSRF issue with adding new email addresses
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHAB2a7545a452b0: Convert Maniphest merge operations to modern Relationship code (authored by epriestley <git@epriestley.com>).Jun 30 2016, 5:35 PM