1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/webroot/rsrc/css/application/maniphest/transaction-detail.css
epriestley b49c5e9762 "Merge Duplicates" in Maniphest
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
2011-06-14 20:44:58 -07:00

107 lines
1.9 KiB
CSS

/**
* @provides maniphest-transaction-detail-css
*/
.maniphest-trnasaction-list-view {
padding: .5em 1.5em;
}
.maniphest-transaction-detail-container {
margin: 1em 1em 1.25em;
background: 2px 2px no-repeat;
min-height: 50px;
padding: 2px 2px;
border: 1px solid transparent;
}
.maniphest-transaction-list-view .anchor-target {
background-color: #ffffdd;
border-color: #ffff00;
}
.maniphest-transaction-detail-container .upforgrab {
border-color: #cc9966;
}
.maniphest-transaction-detail-container .reassigned {
border-color: #0099aa;
}
.maniphest-transaction-detail-container .assigned {
border-color: #0099aa;
}
.maniphest-transaction-detail-container .claimed {
border-color: #0099aa;
}
.maniphest-transaction-detail-container .created {
border-color: #660099;
}
.maniphest-transaction-detail-container .closed {
border-color: #006699;
}
.maniphest-transaction-detail-container .spited {
border-color: #006699;
}
.maniphest-transaction-detail-container .reopened {
border-color: #660099;
}
.maniphest-transaction-detail-container .unbreaknow {
border-color: #aa0000;
}
.maniphest-transaction-detail-container .duplicate {
border-color: #333333;
}
.maniphest-transaction-header {
background: #f3f3f3;
padding: 4px 1em;
}
.maniphest-transaction-header a {
font-weight: bold;
}
.maniphest-transaction-detail-view {
margin-left: 54px;
border-color: #dddddd;
border-width: 1px 10px;
border-style: solid;
}
.maniphest-transaction-timestamp {
float: right;
font-size: 11px;
color: #666666;
}
.maniphest-transaction-comments {
border-top: 1px solid #e6e6e6;
padding: 4px 1em;
background: #fcfcfc;
}
.maniphest-change-table {
width: 100%;
margin: .5em 0em;
border-collapse: separate;
border-spacing: 4px 0px;
}
.maniphest-change-table td {
width: 50%;
padding: 0.25em 1em;
background: #f9f9f9;
}
.maniphest-change-table th {
font-weight: bold;
padding: 0.25em;
border-bottom: 1px solid #cccccc;
}