From ceb079a7ea1d6e24e99f385378bdaf1d8a501369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 29 Mar 2015 13:46:37 +0200 Subject: [PATCH 1/3] removed old docs, need to update export & import docs, and playlist docs --- docs/sources/reference/export_import.md | 44 ++----------------------- docs/sources/reference/playlist.md | 26 ++------------- 2 files changed, 4 insertions(+), 66 deletions(-) diff --git a/docs/sources/reference/export_import.md b/docs/sources/reference/export_import.md index bfcdd7bd0d1..8ae39cb0cf2 100644 --- a/docs/sources/reference/export_import.md +++ b/docs/sources/reference/export_import.md @@ -6,45 +6,5 @@ page_keywords: grafana, export, import, documentation # Export and Import -## Export (Json file) - -Load the dashboard you wish to export (e.g. via search) - -Click on the "Save" icon (floppy disk) - -![](/img/v1/export_import_save_menu.png) - -Click on "Export schema" - -![](/img/v1/export_schema_link.png) - -Save file on local disk - -![](/img/v1/export_save_file.png) - -## Import - -Click the "Search" icon (open folder) - -![](/img/v1/export_import_search_menu.png) - -Click "Import" button - -![](/img/v1/export_import_button.png) - -Click "Browse" button and browse to previously exported dashboard on local disk (which should be a valid Json file) - -![](/img/v1/export_import_browse_button.png) - -Select exported dashboard - -![](/img/v1/export_import_popup.png) - - -Click "Save" icon to show save menu - -![](/img/v1/export_import_save_menu.png) - -Click new save icon (floppy disk) to Save newly imported dashboard - -![](/img/v1/export_import_save_dashboard.png) +You find the import view in the bottom of the search dropdown. From this view you +can import local json files or migrate dashboards stored in Elasticsearch or InfluxDB. diff --git a/docs/sources/reference/playlist.md b/docs/sources/reference/playlist.md index 0f81bfe48fc..e45219657a9 100644 --- a/docs/sources/reference/playlist.md +++ b/docs/sources/reference/playlist.md @@ -6,28 +6,6 @@ page_keywords: grafana, playlist, documentation # Playlist Guide -In Grafana v1.5 a playlist feature was added. You can use this feature by first marking a couple - of dashboards as favorites. This is accomplished in the Save menu. Click on the save icon and then _Mark As Favorite_. +*TODO* - -## Step 1 - Mark as favorire -![](/img/v1/mark_as_favorite.png) - -Then open the playlist modal. You will find this button in the open dashboard / search popup (CTRL+F). - -## Step 2 - Open playlist view -![](/img/v1/playlist_button.png) - -This opens the playlist view. - -## Step 3 - Select dashbords and interval - -![](/img/v1/playlist_modal.png) - -In this view you can select the dashboards you want to include in the playlist, and even remove dashboards from you favorites list. Set the time span between dashboard change, for example 1m, 10m, 1h for 1 minute, 10 minute or 1 hour interval. - -To start the dashboard click the Start button. - -When a dashboard playlist is running, most menu buttons and dashboard controls are hidden. This is in order to present as clear a view of the dashboard as possible for big tv displays. Click the stop playlist link in the top menu to the right to stop the playlist. - -![](playlist_playing_hiden_menu.png) +Needs update for Grafana 2.0 From 0f791c9fa8d16f37ae60e209533341e25f9f0811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sun, 29 Mar 2015 14:30:03 +0200 Subject: [PATCH 2/3] Refactoring of share modal --- public/app/features/dashboard/all.js | 2 +- .../features/dashboard/dashboardNavCtrl.js | 2 +- .../{shareDashboard.html => shareModal.html} | 91 +++++++++++-------- .../dashboard/partials/sharePanel.html | 65 ------------- .../dashboard/partials/snapshotTopNav.html | 6 ++ .../{sharePanelCtrl.js => shareModalCtrl.js} | 14 ++- .../features/dashboard/shareSnapshotCtrl.js | 1 + .../features/dashboard/snapshotTopNavCtrl.js | 7 ++ public/app/features/panel/panelSrv.js | 2 +- ...lCtrl-specs.js => shareModalCtrl-specs.js} | 4 +- public/test/test-main.js | 2 +- 11 files changed, 88 insertions(+), 108 deletions(-) rename public/app/features/dashboard/partials/{shareDashboard.html => shareModal.html} (58%) delete mode 100644 public/app/features/dashboard/partials/sharePanel.html rename public/app/features/dashboard/{sharePanelCtrl.js => shareModalCtrl.js} (84%) rename public/test/specs/{sharePanelCtrl-specs.js => shareModalCtrl-specs.js} (95%) diff --git a/public/app/features/dashboard/all.js b/public/app/features/dashboard/all.js index 1380034dd19..a279e9f3078 100644 --- a/public/app/features/dashboard/all.js +++ b/public/app/features/dashboard/all.js @@ -5,7 +5,7 @@ define([ './saveDashboardAsCtrl', './playlistCtrl', './rowCtrl', - './sharePanelCtrl', + './shareModalCtrl', './shareSnapshotCtrl', './submenuCtrl', './dashboardSrv', diff --git a/public/app/features/dashboard/dashboardNavCtrl.js b/public/app/features/dashboard/dashboardNavCtrl.js index 6c017ae856e..5334852d967 100644 --- a/public/app/features/dashboard/dashboardNavCtrl.js +++ b/public/app/features/dashboard/dashboardNavCtrl.js @@ -37,7 +37,7 @@ function (angular, _) { $scope.shareDashboard = function() { $scope.appEvent('show-modal', { - src: './app/features/dashboard/partials/shareDashboard.html', + src: './app/features/dashboard/partials/shareModal.html', scope: $scope.$new(), }); }; diff --git a/public/app/features/dashboard/partials/shareDashboard.html b/public/app/features/dashboard/partials/shareModal.html similarity index 58% rename from public/app/features/dashboard/partials/shareDashboard.html rename to public/app/features/dashboard/partials/shareModal.html index 295ac71e0f5..b6b722465f9 100644 --- a/public/app/features/dashboard/partials/shareDashboard.html +++ b/public/app/features/dashboard/partials/shareModal.html @@ -1,12 +1,12 @@ -