From de51aeab7b55ebe96967a7f2531d2ecc56318dd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 30 Mar 2015 11:08:46 +0200 Subject: [PATCH] updates to whats new doc, and building from source, also small fix for panel snapshot, single panelsnapshot should expand panel span to 12 --- docs/sources/guides/whats-new-in-v2.md | 43 ++++++++++--------- docs/sources/project/building_from_source.md | 5 +++ .../features/dashboard/shareSnapshotCtrl.js | 1 + 3 files changed, 28 insertions(+), 21 deletions(-) diff --git a/docs/sources/guides/whats-new-in-v2.md b/docs/sources/guides/whats-new-in-v2.md index ba6c1d0a7ca..e7054e89cbd 100644 --- a/docs/sources/guides/whats-new-in-v2.md +++ b/docs/sources/guides/whats-new-in-v2.md @@ -8,21 +8,6 @@ page_keywords: grafana, new, changes, features, documentation This is a guide that describes some of changes and new features that can be found in Grafana v2.0. -## New dashboard top header - - - -1. Side menu toggle -2. Dashboard title & Search dropdown (also includes access to New dashboard, Import & Playlist) -3. Star/unstar current dashboard -4. Share current dashboard (Make sure the dashboard is saved before) -5. Save current dashboard -6. Settings dropdown (dashboard settings, annotations, templating, etc) - -> **Note** In Grafana v2.0 when you change the title of a dashboard and then save it it will no -> longer create a new dashboard. It will just change the name for the current dashboard. -> To change name and create a new dashboard use the `Save As...` menu option - ## Dashboard Snapshot sharing A dashboard snapshot is an instant way to share an interactive dashboard publicly. When created, we strip sensitive data like queries (metric, template and annotation) and panel links, leaving only the visible metric data and series names embedded into your dashboard. Dashboard @@ -56,6 +41,28 @@ however is always active, even when the dashboard time is absolute. The `Hide time override info` option allows you to hide the the override info text that is by default shown in the upper right of a panel when overriden time range options. +## Panel IFrame embedding + +You can embed a single panel on another web page using the panel share dialog. Below you should see an iframe +with a graph panel (taken from dashoard snapshot at [snapshot.raintank.io](http://snapshot.raintank.io). + + + +## New dashboard top header + + + +1. Side menu toggle +2. Dashboard title & Search dropdown (also includes access to New dashboard, Import & Playlist) +3. Star/unstar current dashboard +4. Share current dashboard (Make sure the dashboard is saved before) +5. Save current dashboard +6. Settings dropdown (dashboard settings, annotations, templating, etc) + +> **Note** In Grafana v2.0 when you change the title of a dashboard and then save it it will no +> longer create a new dashboard. It will just change the name for the current dashboard. +> To change name and create a new dashboard use the `Save As...` menu option + ## New search view & starring dashboards ![](/img/v2/dashboard_search.jpg) @@ -131,9 +138,3 @@ Organizations via a role. That role can be: There are currently no permissions on individual dashboards. -## Panel IFrame embedding - -You can embed a single panel on another web page using the panel share dialog. Below you should see an iframe -with a graph panel (taken from dashoard snapshot at [snapshot.raintank.io](http://snapshot.raintank.io). - - diff --git a/docs/sources/project/building_from_source.md b/docs/sources/project/building_from_source.md index dab57ed6aee..a74759572cd 100644 --- a/docs/sources/project/building_from_source.md +++ b/docs/sources/project/building_from_source.md @@ -53,6 +53,11 @@ bra run Open grafana in your browser (default http://localhost:3000) and login with admin user (default user/pass = admin/admin). +## Creating optimized release packages +``` +go run build.go build package +``` + ## Dev config Create a custom.ini in the conf directory to override default configuration options. diff --git a/public/app/features/dashboard/shareSnapshotCtrl.js b/public/app/features/dashboard/shareSnapshotCtrl.js index ed6536face6..eba1e6e6ac7 100644 --- a/public/app/features/dashboard/shareSnapshotCtrl.js +++ b/public/app/features/dashboard/shareSnapshotCtrl.js @@ -99,6 +99,7 @@ function (angular, _) { // snapshot single panel if ($scope.modeSharePanel) { var singlePanel = dash.getPanelById($scope.panel.id); + singlePanel.span = 12; dash.rows = [{ height: '500px', span: 12, panels: [singlePanel] }]; }