Sofia Papagiannaki
d040daa1cd
Alerting: Add confirmation modals for deleting notifier ( #25303 )
...
* Add confirm modals for deleting notifier
* Update public/app/features/alerting/NotificationsListPage.tsx
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2020-06-03 11:04:38 +03:00
Dominik Prokop
b12df9d64c
Do not show alerts tab when alerting is disabled ( #25285 )
...
* Do not show alerts tab when alerting is disabled
* Add tests
2020-06-02 13:21:49 +02:00
Marcus Andersson
add1bcb59c
Variable: removed __user.name/___.user.email from global variables and added docs for the rest of the __user variable. ( #25275 )
...
* added docs for new global variable.
* reverting the name + email so we only expose the bare minumum that should be enough for most cases.
2020-06-02 12:05:05 +02:00
aidanmountford
f98e176d7b
Templating: Add bult in __user {name, id, login, email} variable to templating system ( #23378 )
...
* Updated templating code to support the $__user variable to expose the current
userid, username, email and login.
Fixed the $__org variable as it was returning the user id instead of the ordId.
Updated the documentation to match
* Updated solution to retrieving $__user variables to pull directly from user record (thereby allowing future access to properties that
might not exist in the contextSvr).
Replicated this initialisation in the variables feature
Corrected typo's in documentation.
* Repaired typecheck issues.
* Updated patch to pull entirely from contextSrv without API calls.
* ... And removed the redundant comments.
* Updated documentation.
2020-06-02 08:47:54 +02:00
Alex Khomenko
10158c90e3
Search: uncheck dashboards after moved ( #25256 )
2020-06-02 09:36:04 +03:00
Kyle Brandt
376a9d35e4
Azure Monitor: Change response to be dataframes ( #25123 )
...
note: This is just Azure Monitor within the Azure Monitor datasource (not insights, insights analytics, or log analytics yet).
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-06-01 12:37:39 -04:00
Marcus Andersson
13787294c6
Variables: fix so the variable picker will remember selected options between filtering ( #25119 )
...
* added tests to verify flow.
* refactoring picker reducer.
* made all the tests green.
* removed console.log's
* fixed toggle all and making sure the correct values are set on picker open.
* added more tets.
* refactored and added table tests.
* fixed so we select values from selectedValues instead of options.
* fixed so you can navigate and select even after you have filtered a variable.
* adding tests to verify flows when toggling by highlight.
* fixed so enter always selects value before closing.
* improved the code for tags.
2020-06-01 15:06:51 +02:00
Ryan McKinley
d526647005
Stats: include all fields ( #24829 )
2020-05-29 12:36:15 -07:00
Ryan McKinley
2a6ac88a73
QueryInspector: add common way to show the raw query ( #25204 )
2020-05-29 11:06:33 -07:00
David
57abf39f25
Logs: Use result range instead of timepicker range for log histogram ( #25027 )
...
* Logs: Use result range instead of timepicker range for log histogram
If a logs datasource does not send histogram data for the requested
time range, the logs model computes a timeseries based on the log row
counts, bucketed by an automcatically calculated time interval. Even
when this histogram time series did not span the whole requested time
range it was still rendered in the graph across the whole range, leaving
an empty area at its start. Users find this confusing and are lead to
believe their log data is missing.
This change fixes this by anchoring the start of the timeseries on the
first log row's timestamp from the result, and adds this smaller range
as `visibleRange` to the logs model and passes it through to the logs
component that optionally takes it into account to not render the empty
area.
The interval (bucket size) is also adjusted to account for a potentially
finer resolution on the shorter visible time interval.
The bucketsize multiplier was also changed from 10 to 20 to account for
the space between the chart's bars.
* Aligned visible range with buckets
* Extract bucket size calculation and add test
2020-05-29 15:39:13 +02:00
Torkel Ödegaard
3833aa416d
Transformations: Fixed transformation crash issue ( #25152 )
...
* Transformations: Fixed transformation crash issue
* Updated
2020-05-28 08:06:24 +02:00
Lukas Siatka
9d04dfe41a
Explore: adds table result dataframes sorting to get response columns order based on queries order ( #25131 )
...
* Chore: updates Explore result processor to sort dataframes based on their refId so results are displayed in a correct order
* Chore: adds types to Explore ResultProcessor getTableResult DataFrames
2020-05-27 16:45:53 +02:00
Zoltán Bedi
7f6b75af70
Explore: fix update url on mode change ( #25084 )
2020-05-26 14:54:18 +02:00
Torkel Ödegaard
ac38dd872d
PluginsListPage: More plugins button should open in new window ( #24635 )
...
* PluginsListPage: More plugins button should open in new window
Fixes #24622
* Updated snapshot
2020-05-26 09:33:10 +02:00
Peter Holmberg
7e5f525473
Dashboard: Get panels in collapsed rows ( #25079 )
2020-05-26 08:56:21 +02:00
Hugo Häggmark
83d933d010
DashboardLinks: variables are resolved and limits to 100 ( #25076 )
2020-05-25 15:47:11 +02:00
Torkel Ödegaard
923faf78f1
PanelEditor: Overrides name matcher still show all original field names even after Field default display name is specified ( #24933 )
...
* FieldConfigOverrides: Should not apply defaults in override UI options
* Missed change
2020-05-25 14:05:43 +02:00
Ryan McKinley
81d1f6653f
Download CSV: format the dates ( #24992 )
...
* export formatted dates
* remove if(true)
* display processor
2020-05-25 11:12:53 +02:00
Ivana Huckova
44ca05272a
Query history: Add keyboard shortcut support for commenting ( #24736 )
...
* Shorten filter history label
* Add keyboard shortcuts for update comment in Query history
* Add test coverage for new keyboard shortcuts
* Update changed aria-label in tests
* Add test scenario for enter and ctr key
2020-05-21 14:51:18 +02:00
Zoltán Bedi
77633db00e
Dashboard: Render PanelChrome on refresh ( #24940 )
...
Fixes #23306
2020-05-21 09:55:58 +02:00
d10n
0681729e92
Docs: Fix grammar where your should be you're ( #24966 )
2020-05-21 09:43:31 +02:00
Hugo Häggmark
0b5d818771
PanelInspector: hides unsupported data display options for Panel type ( #24918 )
2020-05-20 14:15:06 +02:00
Hugo Häggmark
460847f3ed
Panel: shows correct panel menu items in view mode ( #24912 )
2020-05-20 13:56:28 +02:00
Dominik Prokop
bb099cb141
PanelEditor Fix missing labels and description if there is only single option in category ( #24905 )
2020-05-20 13:54:42 +02:00
Hugo Häggmark
5a6026a8c0
PanelInspect: makes sure Data display options are shown ( #24902 )
2020-05-20 10:07:35 +02:00
Kamal Galrani
e2368e623e
Dashboard/Links: Fixes dashboard links by tags not working ( #24773 )
...
* Fixes dashboard links by tags not working
* removes code duplication
2020-05-20 09:54:04 +02:00
Tobias Skarhed
54ee4f4f72
Migration: Select org ( #24739 )
...
* Add SelectoOrgPage
* Remove old code
* Remove import
2020-05-19 09:55:04 +02:00
Boyko
1e74037eae
React: refactor away from unsafe lifecycle methods ( #21291 )
...
* refactor aliasBy and PopoverCtrl components
* refactor Aggregations component
* refactor MetricSelect component
* refactor UserProvider
* popoverCtr: remove redundant logic
* simplified the MetricsSelect a bit.
* skipping testing of internal component logic.
* changed to componentWillMount.
* changed elapsed time to a functional component.
* rewrote the tests.
* fixed missing test title.
* fixed a tiny issue with elapsed time.
* rename of field.
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2020-05-18 18:03:29 +02:00
Alex Khomenko
7b6deef46d
Search: make anchor full-height ( #24783 )
2020-05-18 11:31:10 +03:00
Kamal Galrani
7b18b101b4
Dashboard/Links: Fixes open in new window for dashboard link ( #24772 )
...
* fixes target in dashboard link
* Update DashboardLinks.tsx
* Revert "Update DashboardLinks.tsx"
This reverts commit 2b23db8dc4
.
2020-05-18 09:36:31 +02:00
Peter Holmberg
bf1e5aa16c
PanelInspect: Make header names reflect the field name in the exported CSV file ( #24624 )
...
* fix header names and filename
* use panel title as filename
* add frame argument
* escaping double quotes
* wrapping header name in quotes
* Fix replace
* Add test for csv double quotes escaping
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-05-14 20:14:23 +02:00
kay delaney
1b29d3460e
Datasource/CloudWatch: Handle invalidation of log groups when switching datasources ( #24703 )
2020-05-14 20:06:20 +02:00
Lukas Siatka
e11504dcd2
Datasources: fixes async mount errors ( #24579 )
...
* Chore: updates Elasticsearch DataLinks test async wrapper mount
* Chore: updates Loki DervidedFields test async wrapper mount
* Chore: fixes typecheck issues
* Chore: small strict-null fix
2020-05-14 14:25:52 +02:00
Dominik Prokop
cfac591234
SaveDashboard: Allow editing provisioned dashboard JSON and add confirmation when JSON is copied to dashboard ( #24680 )
2020-05-14 13:45:26 +02:00
Torkel Ödegaard
2f22781cd8
Orgs: Add future deprecation notice ( #24502 )
...
* Orgs: Fist draft of orgs deprecation infobox
* adds warning about potentially deprecating orgs (#24512 )
* Updates
* Fixed ts issue
Co-authored-by: Carl Bergquist <carl@grafana.com>
2020-05-14 12:16:26 +02:00
Tobias Skarhed
37a2ac20c3
Search: Fix select item pressing enter 404 ( #24634 )
...
* Remove appSubUrl for navigation
* stripBaseFromUrl
* Remove unused imports
2020-05-14 11:17:09 +02:00
Dominik Prokop
f769ed035d
PanelEdit: Make sure side pane is displayed with tabs by default ( #24636 )
...
* Make sure side pane is displayed with tabs by default
* Update e2e tests for
2020-05-14 09:55:40 +02:00
Hugo Häggmark
083a2ce220
Templating: fixes filtering options with more than 1000 entries ( #24614 )
...
* Templating: fixes filtering options with more then 1000 entries
* Chore: reduces strict null errors by 2
2020-05-14 08:09:21 +02:00
Hugo Häggmark
622246d56d
Templating: fixes so Textbox variables get value from url ( #24623 )
2020-05-14 07:41:42 +02:00
Ivana Huckova
285ea7595d
Explore: Fix rendering of react query editors ( #24593 )
...
* Fix rendering of react query editors
* Refactor solution for improved readability
* Update
* Add test coverage
* Refactor
2020-05-13 15:56:22 +02:00
kay delaney
277aee8642
Datasource/CloudWatch: Prevents hidden dataframe fields from displaying in tables ( #24580 )
...
* Datasource/CloudWatch: Prevents hidden dataframe fields from displaying in tables
2020-05-13 14:34:23 +01:00
Torkel Ödegaard
f23ecc40b4
Inspect: Allow showing data without transformations and field config is applied ( #24314 )
...
* Inspect: Should not subscribe to transformed data
* PQR- allow controll whether or not field overrides and transformations should be applied
* UI for inspector data options
* fix
* Null check fix
* Update public/app/features/dashboard/components/Inspector/InspectDataTab.tsx
* Update public/app/features/dashboard/components/Inspector/InspectDataTab.tsx
* Apply transformations by default
* Update panel inspect docs
* Fix apply overrides
* Apply time formatting in panel inspect
* fix ts
* Post review update
* Update docs/sources/panels/inspect-panel.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* lazy numbering
* fix ts
* Renames
* Renames 2
* Layout update
* Run shared request without field config
* Minor details
* fix ts
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-05-13 13:03:34 +02:00
Dominik Prokop
9e24c0944f
Transformations: Make transform dropdowns not cropped ( #24615 )
2020-05-13 13:01:10 +02:00
Marcus Andersson
cab066f8ce
TimePicker: some fixes and polish after testing feedback ( #24585 )
...
* make sure we render the delaynow value from dashboard to the time picker settings.
* Added the time zone in the tooltip.
2020-05-13 07:26:03 +02:00
Andrej Ocenas
a50cb6aa1f
Loki: Allow multiple derived fields with the same name ( #24437 )
2020-05-12 17:20:00 +02:00
Tobias Skarhed
0c1f1dd8fd
OrgUsersTable: Fix width when there are long cells in table ( #24533 )
...
* Set width for cells and text overflow
* Add title and update snapshot
2020-05-12 16:47:38 +02:00
Alex Khomenko
15ac76a47b
Search: Safari UI fixes ( #24567 )
...
* Search: Add height: 100% to page containers
* Search: Reset TagOption display to block
* Search: Add title to result list
* Search: Use flex-basis vs height
* Search: Remove IconButton
* Search: Do not shrink select options
* Search: Fix hasEditPermissionInFolders
* Search: Update tests
* Search: Fix prop
* Remove select wrapper class
* Update snapshot
2020-05-12 17:10:48 +03:00
Torkel Ödegaard
8de10a8b9f
Field: UI & Code consistency Title -> Display name ( #24507 )
...
* Field: Change getFieldTitle to getFieldDisplayNamne and change the NAME of the title field config from Title to Display name
* Review feedback
* fixed unit tests
* Rename fieldConfig.title to displayName
* Fixed tests
* Added migration
* Renamed getFrameDisplayTitle to getFrameDisplayName
2020-05-12 13:52:53 +02:00
Alex Khomenko
0396b220a3
Search: Save folder expanded state ( #24496 )
...
* Search: Save folder expanded state
* Search: Remember expanded state on search close
2020-05-12 13:51:00 +03:00
Dominik Prokop
bffa0fa4f6
UI spelling: use US form of visualization ( #24558 )
2020-05-12 11:11:54 +02:00