From 3e89ec4ff2756834327d73c1f9e4e0d4b9791ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 24 Oct 2017 10:47:24 +0200 Subject: [PATCH] ux: updated icons --- .../app/features/dashboard/dashboard_model.ts | 3 +- .../features/dashboard/dashnav/dashnav.html | 1 + .../dashboard/import/dash_import.html | 2 +- ...model_specs.ts => dashboard_model.jest.ts} | 160 ++++++------ .../img/icons_dark_theme/icon_add_folder.svg | 39 ++- .../icons_dark_theme/icon_new_dashboard.svg | 43 ++-- public/img/icons_dark_theme/icon_zoom_out.svg | 15 ++ .../img/icons_light_theme/icon_add_folder.svg | 41 ++- .../icons_light_theme/icon_new_dashboard.svg | 41 +-- .../img/icons_light_theme/icon_zoom_out.svg | 15 ++ yarn.lock | 240 +++++++++++++++++- 11 files changed, 429 insertions(+), 171 deletions(-) rename public/app/features/dashboard/specs/{dashboard_model_specs.ts => dashboard_model.jest.ts} (77%) create mode 100644 public/img/icons_dark_theme/icon_zoom_out.svg create mode 100644 public/img/icons_light_theme/icon_zoom_out.svg diff --git a/public/app/features/dashboard/dashboard_model.ts b/public/app/features/dashboard/dashboard_model.ts index 743bf040424..e16641eee6a 100644 --- a/public/app/features/dashboard/dashboard_model.ts +++ b/public/app/features/dashboard/dashboard_model.ts @@ -3,7 +3,8 @@ import _ from 'lodash'; import {GRID_COLUMN_COUNT, GRID_CELL_HEIGHT, REPEAT_DIR_VERTICAL} from 'app/core/constants'; import {DEFAULT_ANNOTATION_COLOR} from 'app/core/utils/colors'; -import {Emitter, contextSrv} from 'app/core/core'; +import {Emitter} from 'app/core/utils/emitter'; +import {contextSrv} from 'app/core/services/context_srv'; import sortByKeys from 'app/core/utils/sort_by_keys'; import {DashboardRow} from './row/row_model'; diff --git a/public/app/features/dashboard/dashnav/dashnav.html b/public/app/features/dashboard/dashnav/dashnav.html index 39a09ab0d35..490cdb2e4b4 100644 --- a/public/app/features/dashboard/dashnav/dashnav.html +++ b/public/app/features/dashboard/dashnav/dashnav.html @@ -2,6 +2,7 @@