Commit Graph
100 Commits
Author SHA1 Message Date
Torkel Ödegaard da37f4c83f XSS: Fixed history XSS issue (#22680) 2020-03-10 14:56:27 +01:00
Torkel Ödegaard 4e25823705 Webpack: Updated terser plugin (#22669) 2020-03-10 11:09:45 +01:00
Torkel Ödegaard 5d8fc6a1a9 StatPanel: Fixes base color is being used for null values (#22646)
* StatPanel: Fixed color for null values

* StatPanels: Show base value for null values
2020-03-09 17:00:25 +01:00
Torkel Ödegaard 5a53c2d02b Rendering: Have phantomjs wait a bit before rendering to give fonts a change to load (#22623) 2020-03-06 17:55:13 +01:00
Torkel Ödegaard 917860c4d3 Cascader: Do not override default width behavior (#22620)
* Cascader: Do not override default width behavior

* Fixed storybook
2020-03-06 16:21:46 +01:00
Torkel Ödegaard 1db8849e51 CI: Deploy enterprise image (#22488) 2020-02-28 13:22:38 +01:00
Torkel Ödegaard c002a39456 NewPanelEditor: Angular panel options, and angular component state to redux major change (#22448)
* NewPanelEdit: Added angular options to new panel editor and started looking and angular component state

* Moved angular component state to redux

* Close to working 100%

* Think everything is working

* AlertTab: Alert tab now gets angularComponent from redux

* Fixed panel menu access to angular panel component

* Added new tests

* Fixed unit test

* Fixed strict null errors

* Fixed typescript issues

* fixed issues
2020-02-28 11:04:40 +01:00
Torkel Ödegaard 712253fbee NewPanelEditor: Wait a bit before resending query result on panel editor exit (#22421) 2020-02-26 13:39:23 +01:00
Torkel Ödegaard 89e6c45090 NewPanelEditor: Panel edit tweaks (#22415)
* NewPanelEditor: Alternative edit layout

* Fixed full height issue

* panel-edit-tabs experiment

* minor tweaks

* PanelEditor: Minor tweaks
2020-02-25 18:13:16 +01:00
Torkel Ödegaard 9272af264a NewPanelEditor: Panel edit tweaks (#22415)
* NewPanelEditor: Alternative edit layout

* Fixed full height issue

* panel-edit-tabs experiment

* minor tweaks

* PanelEditor: Minor tweaks
2020-02-25 17:58:20 +01:00
Torkel Ödegaard 7946eee389 Docs: Fixed formatting issue in new stat docs (#22390)
* Docs: Fixed formatting issue in new stat docs

* Fixed newline
2020-02-24 10:03:57 +01:00
Torkel Ödegaard 5b40b26744 UX: BackButton left arrow icon (#22369)
* Adding new svg for back arrow button

* Created new back button component

* same stroke width

* minor fix

* Style changes

* hover animation

* Minor tweak
2020-02-22 22:13:56 +01:00
Torkel Ödegaard 22eb558d80 Scrollbar: Show scrollbar on only on hover (#22386) 2020-02-22 21:09:06 +01:00
Torkel Ödegaard 1f4a04436c NewPanelEditor: Fixed cleanup that could cause crash (#22384)
* NewPanelEditor: Fixed cleanup that could cause crash

* Fixed unit test
2020-02-22 21:08:42 +01:00
Torkel Ödegaard c79e7afcbd Theme: Fixed bug in sass file (#22382) 2020-02-22 16:01:04 +01:00
Torkel Ödegaard 8c2107cd35 Docs: New doc pages for panels Stat, Gauge & Bar Gauge (#22335)
* Initial take

* inital gauge docs

* Updated and added bar gauge docs

* Updated based on feedback
2020-02-21 15:23:20 +01:00
Torkel Ödegaard 4f9b6c55c0 Webpack: Upgrade terser webpack plugin (#22332) 2020-02-20 11:38:37 +01:00
Torkel Ödegaard 0dbe5323d7 PanelInspector: Fixed issue in panel inspector (#22302) 2020-02-19 14:39:44 +01:00
Torkel Ödegaard a45794d0ec FieldConfigs: String select type & cell display mode added to table panel (#22274)
* FieldConfigs: Added string select field config

* FieldConfigs: Added string select field config

* Changed to generic select type
2020-02-19 11:30:19 +01:00
Torkel Ödegaard e591fbc322 LinkSrv: Add newlines so I can read code 2020-02-19 09:18:50 +01:00
Torkel Ödegaard 7acea5b3fa NewPanelEdit: Add back datalinks and new table panel fix (#22267)
* NewPanelEditor: Add back data links

* Made custom table options work in table panel
2020-02-18 17:08:39 +01:00
Torkel Ödegaard 6ad8375293 Table: Fixed header alignment (#22236) 2020-02-18 14:16:42 +01:00
Torkel Ödegaard d9414b4693 NewPanelEditor: Making angular panels reuse data and render on edit mode enter (#22229)
* First stab at angular panels load in new edit

* Things are working
2020-02-17 07:28:53 +01:00
Torkel Ödegaard bfa959c66a PanelEdit: Title tweaks (#22237) 2020-02-17 07:28:00 +01:00
Torkel Ödegaard 5396c9ef92 NewPanelEdit: Minor changes (#22239) 2020-02-17 07:27:21 +01:00
Torkel Ödegaard 4ca3967091 Chore: Fixed strict null errors (#22238) 2020-02-17 07:25:27 +01:00
Torkel Ödegaard f1ecaa5d45 NewPanelEditor: Thresholds v2 (#22232)
* initial wip

* Progress on new threshold design

* Testing radio button group for mode option

* Starting to come together

* Fixed percent mode

* Full width radio groups

* Minor tweaks, cursor to trash icon and hover state

* fixed unit tests

* Fixed storybook

* re-ordering fields

* Updated snapshot

* Make it consistent, add vs create
2020-02-17 06:57:10 +01:00
Torkel Ödegaard c162af8142 FieldOverrides: Fix issue with same series name for every display value (#22234)
* fieldOverrides: Fix issue with same series name for every display value

* Added unit test
2020-02-16 14:56:24 +01:00
Torkel Ödegaard e1d5cfbd20 Dashboard: fixed padding inconsistency 2020-02-13 19:32:28 +01:00
Torkel ÖdegaardandDominik Prokop 70b0ec65b3 PanelEdit: Fixed timing and state related issues (#22131)
* PanelEdit: Fixed timing and state related issues

* Added unit test and changed some logic

* Fixed id logic

* Updated snapshots

* Update public/app/features/dashboard/state/PanelModel.ts

Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com>

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-02-13 16:06:45 +01:00
Torkel Ödegaard ba7c931286 e2e: Fixed issue with aria label (#22166)
* e2e: Fixed issue with aria label

* removed ini
2020-02-13 13:14:55 +01:00
Torkel Ödegaard 6d879a0227 NewPanelEdit: Design tweaks (#22156)
* NewPanelEdit: minor design tweak

* Updated
2020-02-13 09:01:03 +01:00
Torkel Ödegaard cfe30080e4 NewPanelEditor: Fixed issue going back to dashboard after pull page reload (#22121)
* Fixed issue going back to dashboard

* fixed logic

* Fixed unit test

* Fixed unit test
2020-02-12 18:36:32 +01:00
Torkel Ödegaard fa1602daea NewPanelEdit: Added visualization tab / selection view (#22117)
* NewPanelEdit: Added visualization tab

* Minor fix
2020-02-12 12:54:58 +01:00
Torkel Ödegaard df1d43167a NewPanelEditor: Panel editor tabs in state (url) (#22102)
* tabs & style tweaks

* Styling updates

* ok look

* tweaks

* Updated snapshots

* Moved transforms

* Updated
2020-02-12 10:42:57 +01:00
Torkel Ödegaard 8080bbc8ec Delete report.20200209.125304.14262.0.001.json 2020-02-12 10:41:36 +01:00
Torkel Ödegaard fee18f143e NewPanelEditor: Introduce redux state and reducer (#22070)
* New panel editor redux

* minor change

* Updated

* progress

* updated

* Fixed panel data mutable issue

* more actions

* Discard works

* Updated

* Updated
2020-02-11 14:57:16 +01:00
Torkel Ödegaard 49407987fe Dashboard: Move some plugin & panel state to redux (#22052)
* WIP: dashboard panel redux

* Progress

* Progress

* Changing plugin type

* Progress

* Updated

* Progess

* Fixed timing issue

* Updated

* Fixed unit tests

* Fixed issue in dashboard page

* Updated test
2020-02-10 14:23:54 +01:00
Torkel Ödegaard e9bc8afac8 Upgrade: React layout grid upgrade (#22038) 2020-02-09 10:54:08 +01:00
Torkel Ödegaard 34c397002c PanelChrome: Use react Panel Header for angular panels. (#21265)
* WIP: Angular panel chrome, this is going to be tricky

* AngularPanelChrome: initial render works

* Options are showing up

* viz options working

* Fixed singlestat background

* AngularPanels: Fixed alert tab

* Removed anuglar loading spinner

* Dashboard: Refactor dashboard reducer & actions

* Dashboard: minor refactoring

* PanelChrome: loading state moved to header

* Subscribe to render events to solve title update issue

* Time info and query errors now works

* PanelHeader: unifying angular and react behavior

* added getPanelMenu test

* Scrollable now works again

* Various fixes

* Making stuff work

* seperate event emitter for angular

* Fixed issue sending updated dimensions to angular panel

* Minor tweaks

* Fixed tests

* Alerting: alert state now works

* Fixed unit tests

* Fixed a few null check errors

* Simplified events handling

* Fixed strict null checks
2020-02-09 10:53:34 +01:00
Torkel Ödegaard a58d2b87f8 Dashboard: Refactor dashboard reducer & actions (#22021)
* Dashboard: Refactor dashboard reducer & actions

* Dashboard: minor refactoring

* Minor cleanup
2020-02-09 09:45:50 +01:00
Torkel Ödegaard 72b9f78e14 Select: Fixed allow custom value in Select/UnitPicker/Segment/AsyncSegment (#22018) 2020-02-08 11:49:14 +01:00
Torkel Ödegaard b7faa9023e DatasourceSettings: Fixed issue navigating away from data source settings page (#21841) 2020-01-30 14:40:55 +01:00
Torkel ÖdegaardandDominik Prokop 0fd088c757 Graphite: Fixed issue with functions with multiple required params and no defaults caused params that could not be edited (groupByNodes groupByTags) (#21814)
* Graphite: Fixed issue functions with multiple required params and no defaults

* removed some prev changes

* Update public/app/plugins/datasource/graphite/func_editor.ts

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-01-30 09:06:23 +01:00
Torkel Ödegaard 13948c0b76 StatPanels: Fixed migration from old singlestat and default min & max being copied even when gauge was disbled (#21820) 2020-01-29 19:42:07 +00:00
Torkel Ödegaard b28eac2626 Devenv: Fixed devenv dashboard template var datasource (#21715) 2020-01-24 12:36:09 +01:00
Torkel Ödegaard 198f561541 Footer: added back missing footer to login page (#21720) 2020-01-24 12:35:54 +01:00
Torkel Ödegaard 8266959681 StatPanels: Fixed possible migration issue (#21681) 2020-01-24 07:46:33 +01:00
Torkel Ödegaard a734cd3640 StatPanel: minor height tweak (#21663) 2020-01-23 08:51:30 +01:00
Torkel ÖdegaardandErik Sundell 36aab3a738 Docs: Whats new updates (#21664)
* Docs: Whats new updates

* Add cloudwatch and stackdriver paragraphs

* Minor changes

* Add link helper to render gif

* Docs: what's new updates

Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2020-01-22 14:02:47 +01:00
Torkel Ödegaard 741e1bb7e9 Login: Better auto sizing of login logo (#21645) 2020-01-22 11:06:12 +01:00
Torkel Ödegaard c228cde2b6 Alert: Minor tweak to work with license warnings (#21654) 2020-01-22 07:53:24 +01:00
Torkel Ödegaard 92ef8644c5 Templating: A way to support object syntax for global vars (#21634) 2020-01-21 16:06:04 +01:00
Torkel Ödegaard 35d4aef5f8 Docs: Update changelog with attribution (#21637) 2020-01-21 15:12:05 +01:00
Torkel Ödegaard 46ccfacb2b Docs: Updated what's new article (#21624)
* Docs: Updated what's new articel

* fixed spelling

* Updated
2020-01-21 11:54:24 +01:00
Torkel Ödegaard a0b04559e4 BigValue: Updated test dashboard and made some chart sizing tweaks (#21616) 2020-01-20 13:07:39 +01:00
Torkel Ödegaard 2732aca05c TestData: Adds important new features to the random walk scenario (#21613)
* test data refactor

* new random walk options

* fixed test

* Added automatic names
2020-01-20 12:42:42 +01:00
Torkel Ödegaard b087edc224 Typescript: null check fixes, and news panel fix (#21595) 2020-01-19 19:16:31 +01:00
Torkel Ödegaard 5af7b15c10 Redux: Fixed function adding a new reducer (#21575) 2020-01-17 16:05:08 +01:00
Torkel Ödegaard 66d8871415 Minor style changes on upgrade page (#21566) 2020-01-17 16:02:43 +01:00
Torkel Ödegaard 15b2bf3e5c Dashboards: Default Home Dashboard Update (#21534)
* HomeLinks: WIP panel for getting started links

* Progress

* progress

* Updated styling

* Updated default home dashboard

* Update light card styles

* Tweaks based on feedback
2020-01-17 09:43:17 +01:00
Torkel Ödegaard 98bbdea69d SideMenu: Fixes issue with logout link opened in new tab (#21488)
* SideMenu: Fixes issue with logout link opened in new tab

* Updated snapshot
2020-01-15 10:29:27 +01:00
Torkel Ödegaard b6c75b10d1 Login: Refactoring how login background is rendered (#21446)
* Login: Refactoring how login background is rendered

* Tweak
2020-01-13 09:42:21 +01:00
Torkel Ödegaard 27a77f588c StatPanel: Refactoring & fixes (#21437)
* refactoring BigValue layout to use polymorphism

* Renamed file

* StatPanel: Fixed min & max handling, white theme background

* Typescript and test fixes

* Fixed justify center logic

* Updated test dashboard

* Updated test dashboard

* Adjust time xMax to align with last data point if it's close

* Fixed color issue

* removed text shadow

* Removed unused stuff

* Fixed auto min max

* Fixed strict typescript issues

* Updated
2020-01-13 09:41:35 +01:00
Torkel Ödegaard 35679d4689 Logos: Refactoring a bit how logos are rendered (#21421) 2020-01-10 22:15:16 +01:00
Torkel Ödegaard 91ea3b15fa Footer: Single footer component for both react & angular pages (#21389)
* Footer: Single footer implementation for both react & angular pages

* Export type

* Updates

* Use footer links in help menu

* Updates & Fixes

* Updated snapshot

* updated snapshot
2020-01-09 11:25:52 +01:00
Torkel Ödegaard fe61f6b7a7 AddDataSource: Added missing phantom plugin (#21406)
* AddDataSource: Added missing phantom plugin

* Fixed test
2020-01-09 08:26:32 +01:00
Torkel Ödegaard 9492742812 CircleCI: Testing upgrade to CircleCI 2.1 (#21374) 2020-01-07 13:43:31 +01:00
Torkel Ödegaard f774c4a076 Cloudwatch: Fixed crash when switching from cloudwatch data source (#21376) 2020-01-07 13:05:14 +01:00
Torkel Ödegaard e78074992b AddDatasourcePage: Refactoring & more Phantom plugins (#21261)
* WIP: New types and state refactoring

* Added buildCategories & tests

* Added phantom plugins

* fixed tests

* Minor changes, force enterprise plugins to enterprise category

* Fixed tests
2020-01-06 16:56:34 +01:00
Torkel Ödegaard f93f1c4b51 Chore: Remove empty flot.pie file (#21356) 2020-01-06 16:53:38 +01:00
Torkel Ödegaard 45b7de1910 Explore: Moves PromContext from query level to DataQueryRequest level (#21260)
Closes #19598

Fixes bug introduced recently where the new PromQueryEditor did not preserve
the PromContext.Explore set on the query model by PromQueryField which caused
the table to be empty for Prometheus in explore.
2019-12-27 09:11:16 +01:00
Torkel Ödegaard 8477104925 Graph: another tooltip fix (#21251) 2019-12-25 08:15:31 +01:00
Torkel Ödegaard 8740c66218 Graph: Fixed no value in graph tooltip (#21246) 2019-12-24 08:25:17 +01:00
Torkel Ödegaard 31c59f3de9 Sass: Checked in tmpl files 2019-12-23 07:22:44 +01:00
Torkel ÖdegaardandRyan McKinley 3347b45a95 Table: Component progress & custom FieldConfig options (#21231)
* Table: Set & use field display processor

* Use applyFieldOverrides outside in story instead

* Change types a bit

* Table: Move to flexible layout

* Simplest possible custom field option

* Skip default column

* Added textAlign

* Explore: Set display processor for table data frame

* Fixed storybook

* Refactoring

* Progress on cell display mode

* Major progress

* Progress & refactoring

* Fixes

* Updated tests

* Added more tests

* Table: Progress on cell style customization

* Restored testdata random walk table scenario

* put back unrelated change

* remove unused things

* Updated table story

* Renamed property

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2019-12-23 06:22:54 +01:00
Torkel Ödegaard 6c2375e495 DashboardGrid: Fixed flickering while resizing (#21221) 2019-12-21 08:01:26 +01:00
Torkel Ödegaard 392819c5d0 New bar gauge style: Unfilled (#21201)
* BarGauge: Added unfilled option

* Fixed white theme and added 2 unit tests

* Added another demo dashboard

* Fixed dev env dashboards
2019-12-20 16:05:37 +01:00
Torkel Ödegaard 0676189291 PanelChrome: Mini refactor (#21171) 2019-12-19 07:01:35 +01:00
Torkel Ödegaard 10413c4aa5 DashboardGrid: Change grid margin to 8, to align to 8px grid (#21167) 2019-12-18 14:30:17 +01:00
Torkel Ödegaard 475bd7ad09 Dashboard: Only show resize-handle on hover (#21160) 2019-12-18 11:15:59 +01:00
Torkel Ödegaard 4f1fffb948 FontSize: Change base font size to 14px (#21104) 2019-12-16 17:45:33 +01:00
Torkel Ödegaard 16f0e75448 New panel editor (behind feature toggle) (#21097)
* WIP: initial 10min poc of new panel editor

* added queries

* PanelEditor: copy panel model when going into edit mode

* Added option
2019-12-16 09:18:48 +01:00
Torkel Ödegaard fcc74ad2b4 DashboardImport: Fixes broken import page in prod builds (#21101) 2019-12-14 17:50:31 +01:00
Torkel Ödegaard d28c5ff113 E2E: Testing recording e2e tests (#21094) 2019-12-13 19:56:33 +01:00
Torkel Ödegaard 096b82027c CI: Added junit test report (#21084)
* CI: Added junit test report

* Removed leftover

* Tesing

* removed reporter

* set max workers 2

* another test

* Fixed unit test

* Restored ci stuff
2019-12-13 14:56:25 +01:00
Torkel Ödegaard 98bea0990f OrgSwitcher: Fixed issue rendering org switcher even when it's not open (#21061)
* OrgSwitcher: Fixed issue rendering org switcher even when it's not open

* Updated test

* Fixed unit test
2019-12-13 09:27:45 +01:00
Torkel Ödegaard 1f73e2aadf AngularPanels: fixed transparency issue (#21070) 2019-12-12 22:35:37 +01:00
Torkel Ödegaard 4e1e0b9065 MetricSegment: Fix metric segment UI crash in prod builds (#21053) 2019-12-12 09:22:25 +01:00
Torkel Ödegaard 72ee1b9a94 MixedDatasources: Do not filter out all mixed data sources in add mixed query dropdown (#20990) 2019-12-10 23:17:55 +01:00
Torkel Ödegaard fc00d8336f Alerting: Improve alert threshold handle dragging behavior (#20922) 2019-12-09 10:49:35 +01:00
Torkel Ödegaard 2a44cbd137 AngularPanels: Check for digest cycle on root scope (#20919) 2019-12-06 09:03:14 +01:00
Torkel Ödegaard a9bf8f80e9 Search: Fixed angular digest issues (#20906) 2019-12-05 19:17:26 +01:00
Torkel Ödegaard 20fad92a80 Singlestat: Fixed unit not showing and switched to new unit picker (#20892) 2019-12-05 11:54:14 +01:00
Torkel Ödegaard 87485e24a4 MetaAnalytics: Minor fix for meta analytics event (#20888)
* Minor fix for meta analytics event

* Fixed dashboardSrv issue

* Added timeSinceNavigationStart
2019-12-05 11:51:38 +01:00
Torkel Ödegaard 62f0aca3e6 AngularPanels: Fixed loading spinner being stuck in some rare cases (#20878) 2019-12-05 08:59:07 +01:00
Torkel Ödegaard 4b8a50e70b StatPanel: change to beta 2019-12-04 21:34:33 +01:00
Torkel Ödegaard 74ac73716f Panels: Fixed transparency option for angular panels (#20814) 2019-12-02 20:28:38 +01:00
Torkel Ödegaard 87d19787b4 Profile: Remove sign-out tab from profile page (#20802)
* Profile: Remove sign-out tab

* Fixed formatting

* Updated formatting
2019-12-02 18:03:28 +01:00
Torkel Ödegaard 8b7cd15314 Update stale.yml 2019-12-02 15:20:07 +01:00