When merging tasks, the corresponding transaction on the merged task should be black, and the transaction on the ultimate task should be green.
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T6500: Duplicated tasks should be marked more visibly as duplicates
- Commits
- Restricted Diffusion Commit
rP95df7717c3e8: Ref T6500, Duplicated tasks should be marked more visibly as duplicates
Create two tasks, merge one into the other, merged task transaction is black, the surviving task should show a green transaction.
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I'd probably pick a new color to represent "merge" in general, since it's a different action than open.
src/applications/maniphest/storage/ManiphestTransaction.php | ||
---|---|---|
220 | maybe pink or orange? |
src/applications/maniphest/storage/ManiphestTransaction.php | ||
---|---|---|
220 | Like that? |
I need to finish setting up a couple more things locally before I can actually pull this, but it looks good to me.
I think the colors are switched. The 'Closed, Duplicate' task should be 'black' and the still open task should be 'orange'
And, looking more closely, we should also actually say 'closed' somewhere in the transaction copy.
chad closed this task as a duplicate of T1234
The merge story is a little unclear that the task is closed.
Let's swap the colors, unless the constants are just confusing (it looked OK in person but maybe something got flipped since then) -- the closed task should be black.
And inline...
src/applications/maniphest/storage/ManiphestTransaction.php | ||
---|---|---|
599 | Change this to @chad's copy or similar, "%s closed this task as a duplicate of %s.", to make the close more clear and explicit. | |
606 | This one is fine as-is. |