Page MenuHomePhorge

D25096.1736612301.diff
No OneTemporary

D25096.1736612301.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -9,7 +9,7 @@
'names' => array(
'conpherence.pkg.css' => '0e3cf785',
'conpherence.pkg.js' => '020aebcf',
- 'core.pkg.css' => 'f538846d',
+ 'core.pkg.css' => 'da05c47f',
'core.pkg.js' => '66c49ca1',
'dark-console.pkg.js' => '187792c2',
'differential.pkg.css' => '609e63d4',
@@ -178,7 +178,7 @@
'rsrc/css/phui/phui-spacing.css' => 'b05cadc3',
'rsrc/css/phui/phui-status.css' => '293b5dad',
'rsrc/css/phui/phui-tag-view.css' => 'fb811341',
- 'rsrc/css/phui/phui-timeline-view.css' => '2d32d7a9',
+ 'rsrc/css/phui/phui-timeline-view.css' => '1f0be278',
'rsrc/css/phui/phui-two-column-view.css' => 'f96d319f',
'rsrc/css/phui/workboards/phui-workboard-color.css' => 'e86de308',
'rsrc/css/phui/workboards/phui-workboard.css' => '74fc9d98',
@@ -880,7 +880,7 @@
'phui-status-list-view-css' => '293b5dad',
'phui-tag-view-css' => 'fb811341',
'phui-theme-css' => '35883b37',
- 'phui-timeline-view-css' => '2d32d7a9',
+ 'phui-timeline-view-css' => '1f0be278',
'phui-two-column-view-css' => 'f96d319f',
'phui-workboard-color-css' => 'e86de308',
'phui-workboard-view-css' => '74fc9d98',
diff --git a/src/applications/transactions/view/PhabricatorApplicationTransactionView.php b/src/applications/transactions/view/PhabricatorApplicationTransactionView.php
--- a/src/applications/transactions/view/PhabricatorApplicationTransactionView.php
+++ b/src/applications/transactions/view/PhabricatorApplicationTransactionView.php
@@ -493,6 +493,11 @@
$xaction->getComment() &&
$xaction->getComment()->getIsRemoved();
+ // Make designers happy to make CSS customizations
+ if ($has_removed_comment) {
+ $event->addClass('phui-timeline-shell-removed');
+ }
+
if ($xaction->getCommentVersion() > 1 && !$has_removed_comment) {
$event->setIsEdited(true);
}
diff --git a/webroot/rsrc/css/phui/phui-timeline-view.css b/webroot/rsrc/css/phui/phui-timeline-view.css
--- a/webroot/rsrc/css/phui/phui-timeline-view.css
+++ b/webroot/rsrc/css/phui/phui-timeline-view.css
@@ -189,9 +189,32 @@
overflow-x: auto;
}
+/*
+ * Start Customization for removed comments
+ * https://we.phorge.it/T15192
+ */
+
.phui-timeline-core-content .comment-deleted {
font-style: italic;
}
+.phui-timeline-shell-removed .phui-timeline-image {
+ opacity: 0.5;
+}
+.phui-timeline-shell-removed .phui-timeline-icon-fill-black {
+ background: #7b7b7b; /* not black but soft gray */
+}
+.phui-timeline-shell-removed,
+.phui-timeline-shell-removed a,
+.phui-timeline-shell-removed .phui-timeline-title {
+ color:#7b7b7b; /* not black but soft gray */
+}
+.phui-timeline-shell-removed
+ .phui-timeline-major-event
+ .phui-timeline-content .phui-timeline-core-content {
+ padding:4px 16px; /* reduce vertical space from 16px */
+}
+
+/* End Customization for removed comments */
.device .phui-timeline-event-view {
min-height: 23px;

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 16:18 (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1110663
Default Alt Text
D25096.1736612301.diff (3 KB)

Event Timeline