From 667fe43e23d2a09a7330e4679278a992da5310df Mon Sep 17 00:00:00 2001 From: Arik Fraimovich Date: Wed, 7 Nov 2018 16:57:37 +0100 Subject: [PATCH] Revert "address tag display on query list page" (#3050) * Revert "remove pytest_watch (#3048)" This reverts commit 096eba387644b2cbe3e4c314c223417f53ad0f0e. * Revert "address tag display on query list page (#2803)" This reverts commit 99115a12e60611639365cac5f378e05fe1b951bb. --- client/app/assets/less/inc/list-group.less | 6 +----- .../app/assets/less/redash/redash-newstyle.less | 10 ---------- .../components/tags-control/control-template.html | 2 +- client/app/components/tags-list/tags-list.html | 2 +- client/app/pages/queries-list/queries-list.html | 15 +++++++-------- 5 files changed, 10 insertions(+), 25 deletions(-) diff --git a/client/app/assets/less/inc/list-group.less b/client/app/assets/less/inc/list-group.less index c068fb8bc0..7b32d033e4 100755 --- a/client/app/assets/less/inc/list-group.less +++ b/client/app/assets/less/inc/list-group.less @@ -17,11 +17,7 @@ } } -.max-character { - .text-overflow(); -} - -.list-group-item { + .list-group-item { &.active { button { color: white; diff --git a/client/app/assets/less/redash/redash-newstyle.less b/client/app/assets/less/redash/redash-newstyle.less index 02037797cb..441131ea55 100644 --- a/client/app/assets/less/redash/redash-newstyle.less +++ b/client/app/assets/less/redash/redash-newstyle.less @@ -449,20 +449,10 @@ page-header, .page-header--new { background: fade(@redash-gray, 85%); } -.label-default-unpublished { - background: fade(@redash-gray, 85%); - display: inline-block; - overflow: hidden; -} - .label-tag { background: fade(@redash-gray, 10%); color: fade(@redash-gray, 75%); margin-right: 3px; - display: inline-block; - margin-top: 2px; - max-width: 24ch; - .text-overflow(); } .tab-nav > li > a { diff --git a/client/app/components/tags-control/control-template.html b/client/app/components/tags-control/control-template.html index 65a1a09a1e..097f931d0c 100644 --- a/client/app/components/tags-control/control-template.html +++ b/client/app/components/tags-control/control-template.html @@ -1,4 +1,4 @@ -{{ tag }}{{ tag }} Add tag - + {{ tag.name }} {{ tag.count }} diff --git a/client/app/pages/queries-list/queries-list.html b/client/app/pages/queries-list/queries-list.html index 8bf89e1195..833d59ab14 100644 --- a/client/app/pages/queries-list/queries-list.html +++ b/client/app/pages/queries-list/queries-list.html @@ -96,17 +96,16 @@ {{query.name}}
- - Unpublished - + Unpublished + - + - {{query.created_at | dateTime}} - {{query.runtime | durationHumanize}} - {{query.retrieved_at | dateTime}} - {{query.schedule | scheduleHumanize}} + {{query.created_at | dateTime}} + {{query.runtime | durationHumanize}} + {{query.retrieved_at | dateTime}} + {{query.schedule | scheduleHumanize}}