[Rt-commit] rt branch, 4.6/ticket-widget-colors, created. rt-4.4.4-706-g518caafba8

Jim Brandt jbrandt at bestpractical.com
Fri Jan 17 16:59:06 EST 2020


The branch, 4.6/ticket-widget-colors has been created
        at  518caafba816aa52d6300a4a713aa8b418b9d59d (commit)

- Log -----------------------------------------------------------------
commit be12ef47994e46b1cb24160a01d46bb6a3ba308d
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Thu Dec 12 19:05:29 2019 -0600

    Add colored top borders for boxes in ticket pages

diff --git a/share/static/css/elevator-light/boxes.css b/share/static/css/elevator-light/boxes.css
index b22640e243..951cad308c 100644
--- a/share/static/css/elevator-light/boxes.css
+++ b/share/static/css/elevator-light/boxes.css
@@ -98,6 +98,35 @@ div.results .titlebox .titlebox-content {
     padding-top: 0;
 }
 
+/* Ticket display page colored top borders */
+/* Keep in sync with transaction colors in history.css */
+/* material.io reference: https://material.io/design/color/#tools-for-picking-colors */
+
+.titlebox.card.ticket-info-basics {
+    border-top: 3px solid #D32F2F;
+}
+.titlebox.card.ticket-info-reminders {
+    border-top: 3px solid #0277BD;
+}
+.titlebox.card.ticket-info-people {
+    border-top: 3px solid #0288D1;
+}
+.titlebox.card.ticket-info-dates {
+    border-top: 3px solid #7B1FA2;
+}
+.titlebox.card.ticket-info-attachments {
+    border-top: 3px solid #C2185B;
+}
+.titlebox.card.ticket-info-links {
+    border-top: 3px solid #388E3C;
+}
+.titlebox.card.ticket-info-merge {
+    border-top: 3px solid #5D4037;
+}
+.titlebox.card.ticket-info-cfs {
+    border-top: 3px solid #D32F2F;
+}
+
 .titlebox .card-header span.toggle:hover {
     cursor: pointer;
 }

commit d189e1ab79023ee47496bddfea88894ba9d2d360
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Mon Dec 23 16:15:50 2019 -0600

    Update transaction history colors for new colors

diff --git a/share/static/css/elevator-light/history.css b/share/static/css/elevator-light/history.css
index eeecf3d12a..678ea59557 100644
--- a/share/static/css/elevator-light/history.css
+++ b/share/static/css/elevator-light/history.css
@@ -193,18 +193,18 @@ padding-right:0.25em;
  margin: 0;
 }
 
-
-
-.transaction.basics .type { background: #b32; }
-.transaction.cfs .type { background: #b32; }
-.transaction.people .type { background: #48c; }
-.transaction.links .type { background: #316531; }
-.transaction.dates .type { background: #633063; }
-.transaction.message .type { background: #069; }
-.transaction.reminders .type { background: #369; }
-.transaction.other .type { background: #abc; }
+/* Keep these colors in sync with the ticket borders in boxes.css */
+
+.transaction.basics .type { background: #D32F2F; }
+.transaction.cfs .type { background: #D32F2F; }
+.transaction.people .type { background: #0288D1; }
+.transaction.links .type { background: #388E3C; }
+.transaction.dates .type { background: #7B1FA2; }
+.transaction.message .type { background: #1976D2; }
+.transaction.reminders .type { background: #0277BD; }
+.transaction.other .type { background: #B0BEC5; }
 .transaction.error .type { background: #900; }
-.transaction.attachment-truncate .type, .transaction.attachment-drop .type { background-color: #abc; }
+.transaction.attachment-truncate .type, .transaction.attachment-drop .type { background-color: #FF5722; }
 
 .transaction.error { background-color: #fcc; }
 .transaction.attachment-truncate, .transaction.attachment-drop { background-color: #ffc; }

commit 518caafba816aa52d6300a4a713aa8b418b9d59d
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Fri Jan 17 16:26:37 2020 -0500

    Add missing transaction classification for custom fields
    
    The ticket history css had a class for cfs, but the classification
    was missing an entry to flag custom field changes with the matching
    class.

diff --git a/lib/RT/Record.pm b/lib/RT/Record.pm
index 63500dace5..4f3004df4b 100644
--- a/lib/RT/Record.pm
+++ b/lib/RT/Record.pm
@@ -1770,6 +1770,7 @@ our %TRANSACTION_CLASSIFICATION = (
             Owner Creator LastUpdatedBy
         ) ),
     },
+    CustomField => 'cfs',
     SystemError => 'error',
     AttachmentTruncate => 'attachment-truncate',
     AttachmentDrop => 'attachment-drop',

-----------------------------------------------------------------------


More information about the rt-commit mailing list