mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-09 05:18:29 +01:00
b49c5e9762
Summary: Allow duplicate tasks to be selected and merged in Maniphest. I didn't create a separate transaction type for this because that implies a bunch of really complicated rules which I don't want to sort out right now (e.g., do we need to do cycle detection for merges? If so, what do we do when we detect a cycle?) since I think it's unnecessary to get right for the initial implementation (my Tasks merge implementation was similar to this and worked quite well) and if/when we eventually need the metadata to be available in a computer-readable form that need should inform the implementation. Plenty of room for improvement here, of course. Test Plan: Merged duplicate tasks, tried to perform invalid merge operations (e.g., merge a task into itself). Tested existing attach workflows (task -> revision, revision -> task). Reviewed By: aran Reviewers: tuomaspelkonen, jungejason, aran CC: anjali, aran Differential Revision: 459
63 lines
1.6 KiB
CSS
63 lines
1.6 KiB
CSS
/**
|
|
* @provides aphront-headsup-action-list-view-css
|
|
*/
|
|
|
|
|
|
.aphront-headsup-action-list {
|
|
float: right;
|
|
width: 250px;
|
|
background: #cfcfbf;
|
|
border: 1px solid #666622;
|
|
border-width: 0px 0px 1px 1px;
|
|
margin: -15px -20px 1em 0;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.aphront-headsup-action-list a,
|
|
.aphront-headsup-action-list span,
|
|
.aphront-headsup-action-list button {
|
|
background-position: 8px center;
|
|
background-repeat: no-repeat;
|
|
display: block;
|
|
padding: 4px 4px 4px 32px;
|
|
line-height: normal;
|
|
}
|
|
|
|
.aphront-headsup-action-list span.unavailable {
|
|
color: #666666;
|
|
font-style: italic;
|
|
}
|
|
|
|
.aphront-headsup-action-list .subscribe-rem {
|
|
background-image: url(/rsrc/image/icon/unsubscribe.png);
|
|
}
|
|
|
|
.aphront-headsup-action-list .subscribe-add {
|
|
background-image: url(/rsrc/image/icon/subscribe.png);
|
|
}
|
|
|
|
.aphront-headsup-action-list .action-edit,
|
|
.aphront-headsup-action-list .revision-edit {
|
|
background-image: url(/rsrc/image/icon/tango/edit.png);
|
|
}
|
|
|
|
.aphront-headsup-action-list .action-attach,
|
|
.aphront-headsup-action-list .attach-maniphest {
|
|
background-image: url(/rsrc/image/icon/tango/attachment.png);
|
|
}
|
|
|
|
.aphront-headsup-action-list .action-upload {
|
|
background-image: url(/rsrc/image/icon/tango/upload.png);
|
|
}
|
|
|
|
.aphront-headsup-action-list .transcripts-metamta {
|
|
background-image: url(/rsrc/image/icon/tango/log.png);
|
|
}
|
|
|
|
.aphront-headsup-action-list .transcripts-herald {
|
|
background-image: url(/rsrc/image/icon/tango/log.png);
|
|
}
|
|
|
|
.aphront-headsup-action-list .action-merge {
|
|
background-image: url(/rsrc/image/icon/fatcow/arrow_merge.png);
|
|
}
|