Emil Tullstedt
b7809918f0
Dashboard: Update tests for testing fallback support ( #23730 )
2020-04-21 11:31:10 +02:00
Ivana Huckova
df60dbd749
@grafana/ui: Fix login icon ( #23732 )
...
* Fix sign in button
* Fix modal button in button
2020-04-21 10:55:48 +02:00
Andrej Ocenas
1b8d669ac0
Docs: Datasource uid docs ( #23700 )
2020-04-21 10:46:51 +02:00
Tobias Skarhed
9bbc007cb9
Input: Width prop ( #23615 )
...
* Add width property
* Remove unused import
* Spelling mistake
* Add width to interface
* Make width optional
* Remove size
* Update snapshot
* Remove size from places
* Add size prop for button
* Update width
* Update snapshots
2020-04-21 10:42:57 +02:00
Marcus Andersson
a2d741f60f
Docs: run the api-extractor on master to update docs ( #23726 )
...
* regenerated packages docs.
* fixed spelling issues.
* fixed spelling issues.
2020-04-21 10:41:50 +02:00
Torkel Ödegaard
017767ae39
InputDatasource: Fixed prettier errors ( #23679 )
...
* InputDatasource: Fixed prettier errors
* Fixed prettier config in toolkit to make it consistent with grafana core prettier config
2020-04-21 10:14:14 +02:00
Torkel Ödegaard
4d9d3270af
CSS: Various css bug fixes (Safari fix for graph panels and more) ( #23704 )
...
* CSS: Various css bug fixes
* Updated
2020-04-21 09:12:34 +02:00
Amal
4a13467312
docs/sources/administration/metrics.md: Improve language
2020-04-20 21:45:12 +02:00
Amal
6f9c744f21
docs/sources/installation/configuration.md: Improve language
2020-04-20 21:44:16 +02:00
Amal
c8c08d4f82
docs/sources/features/dashboard/dashboards.md: Improve language
2020-04-20 21:27:05 +02:00
Dominik Prokop
b37e66f915
NewPanelEditor: Move visualisation picker to the sidebar pane ( #23696 )
...
* Move visualisation picker to the sidebar pane
* Remove vis tab from bottom pane
* Visualisation to panel type title
2020-04-20 20:29:32 +02:00
Ryan McKinley
9464115fc0
TableCell: show JSON rather than [object Object] ( #23683 )
2020-04-20 11:10:03 -07:00
Ryan McKinley
229176f1b0
Transformers: calculate a new field based on the row values ( #23675 )
2020-04-20 09:57:04 -07:00
Emil Tullstedt
b669bfdf5f
Dashboard: Add failsafe for slug generation ( #23709 )
2020-04-20 18:17:33 +02:00
Jack Stevenson
c0635947e8
Add ServerlessDatabaseCapacity to AWS/RDS metrics ( #23635 )
2020-04-20 18:14:17 +02:00
Emil Tullstedt
83193aed3d
Search: Fix title search null pointer ( #23705 )
2020-04-20 17:29:35 +02:00
Alex Khomenko
8709c9a8a5
Search: Toggle Search based on search query ( #23648 )
...
* Search: Toggle Search based on search query
* Search: Fix types and closed search param
* Search: Remove appEvents from SearchWrapper
* Search: Reset folder on close
Co-Authored-By: Alexander Zobnin <alexanderzobnin@gmail.com>
* Search: Disable reloadOnSearch for manage dashboards urls
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2020-04-20 18:04:51 +03:00
Emil Tullstedt
55c306eb6d
Refactor search ( #23550 )
...
Co-Authored-By: Arve Knudsen <arve.knudsen@grafana.com>
Co-Authored-By: Leonard Gram <leonard.gram@grafana.com>
2020-04-20 16:20:45 +02:00
Andrej Ocenas
e5dd7efdee
Provisioning: Allows specifying uid for datasource and use that in derived fields ( #23585 )
...
* Add uid to datasource
* Fix uid passing when provisioning
* Better error handling and Uid column type change
* Fix test and strict null error counts
* Add backend tests
* Add tests
* Fix strict null checks
* Update test
* Improve tests
* Update pkg/services/sqlstore/datasource.go
Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com>
* Variable rename
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-04-20 15:48:38 +02:00
Agnès Toulet
d5f8d976f0
Drawer: align component style with PanelInspector ( #23694 )
...
* Drawer: add subtitle, expandable button and refactor style
* Drawer: update header style and z-index
* Drawer: refactor Drawer component and PanelInspector
* PanelInspector: add expandable
* Drawer: update stories with new props
* Inspector: rename InspectHeader -> InspectSubtitle
* Inspector: fix tabs spacing
* Drawer: remove z-index
* Update public/app/features/dashboard/components/Inspector/InspectSubtitle.tsx
Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com>
* Drawer: apply PR feedbacks
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-04-20 15:27:33 +02:00
Ivana Huckova
174ee95153
Store: Error handling for setObject ( #23650 )
...
* Error handling for setObject to store
* Update public/app/core/store.ts
Co-Authored-By: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Update public/app/features/explore/RichHistory/RichHistory.tsx
Co-Authored-By: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Move setState outside of try-catch block
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2020-04-20 15:13:02 +02:00
Dominik Prokop
4ea41dc19d
Fix failing master ( #23702 )
2020-04-20 14:53:51 +02:00
Ivana Huckova
f37814f3b1
Fix getLogLevelFromKey when non-string supplied ( #23654 )
2020-04-20 13:50:14 +02:00
Tobias Skarhed
1f6a6b3802
Storybook: Small fixes ( #23692 )
2020-04-20 13:33:37 +02:00
Carl Bergquist
46fd7c094b
Alertmanager: Basic auth should not be required ( #23691 )
2020-04-20 11:19:31 +02:00
Torkel Ödegaard
56a7de562e
Table: Improvements to column resizing, style and alignment ( #23663 )
...
* Table: Fixed to column alignment
* testing table state reducer
* Styles starting to work
* Persisting column resize now works
* Trying to fix Table storybook stories
* Minor updates
* fixed ts issue
* Table: Support duplicate field names, and use data frame directly instead of copying data and other improvements (#23681 )
* Poc at use data frame directly
* working ok
* Table improvements
2020-04-20 09:27:40 +02:00
Torkel Ödegaard
3aa8eb0176
NewPanelEdit: Improvements to angular panels and other fixes ( #23678 )
...
* Removed old editor components
* Angular panel improvements
* Progress
* Updated tests
* Simple persistence for angular panel option state
* Improving graph edit experiance
* Improving series overrides
* updated e2e test
* Regstry: refactoring
2020-04-20 08:47:25 +02:00
Dominik Prokop
d2a13c4715
FieldOverride: Support data links via field overrides ( #23590 )
...
* Move xss and sanitize packages to grafana-data
* Move text, url and location utils to grafana-data
* Move grafana config types to grafana-data
* Move field display value proxy to grafana-data
* Fix
* Move data links built in vars to grafana-data
* Attach links supplier to when applying field overrides
* Prep tests
* Use links suppliers attached via field overrides
* locationUtil dependencies type
* Move sanitize-url declaration to grafana-data
* Revert "Move sanitize-url declaration to grafana-data"
This reverts commit 11db9f5e55
.
* Fix typo
* fix ts vol1
* Remove import from runtime in data.... Make TS happy at the same time ;)
* Lovely TS, please shut up
* Lovely TS, please shut up vol2
* fix tests
* Fixes
* minor refactor
* Attach get links to FieldDisplayValue for seamless usage
* Update packages/grafana-data/src/field/fieldOverrides.ts
* Make storybook build
2020-04-20 07:37:38 +02:00
Torkel Ödegaard
e6c9b1305e
Prometheus: Fixed error in PromLink, fixed ts issue
2020-04-20 07:35:35 +02:00
Torkel Ödegaard
67a256fcb4
Prometheus: Fixed error in PromLink
2020-04-20 07:34:49 +02:00
Dominik Prokop
a78ca939d1
Fix: grafana/ui imports ( #23680 )
2020-04-19 13:18:36 +02:00
Agnès Toulet
19dcaf6bc9
Dashboard: Add fields in DashboardMeta ( #23647 )
2020-04-19 11:26:32 +02:00
Diana Payton
e05f686758
Docs: Update documentation-style-guide.md ( #23659 )
...
Added Divio link
2020-04-19 07:17:19 +02:00
Diana Payton
a343b62a23
Docs: Update README.md ( #23660 )
2020-04-19 07:16:57 +02:00
Ryan McKinley
1e03bb2895
Bundled Plugins: fix build issues with DirectInput ( #23640 )
...
* pass query error
* and the root
* not optional
* building bundled plugin
* missing file
* remove other branch
* fix prettier
2020-04-19 07:05:25 +02:00
Ryan McKinley
88ec7e097f
toDataFrame: detect field properties using in rather than hasOwnProperty ( #23673 )
2020-04-18 15:11:24 -07:00
Ryan McKinley
806dd3f604
QueryEditors: include error when no data is returned ( #23632 )
2020-04-18 14:59:36 -07:00
Torkel Ödegaard
f30074c70a
NewPanelEditor: Save dashboard from edit mode now works, and other fixes ( #23668 )
2020-04-18 18:00:54 +02:00
Torkel Ödegaard
165a0471ad
NewPanelEdit: Minor edit mode fixes ( #23666 )
...
* Minor edit mode fixes
* Updated
2020-04-18 15:48:04 +02:00
Dominik Prokop
539edba31b
Overrides: Show option group counters for options that represent collections ( #23655 )
2020-04-18 14:05:38 +02:00
Stephanie Closson
4e521a84b4
Tweaks and comments for ci-improvements, stability, and readibility ( #23658 )
...
* Tweaks and comments for ci-improvements, stability, and readibility
- Made naming more obvious and intuitive
- CI supports grafana e2e plus more granular design
(side effect that it takes slightly longer, but negligable)
- disable strict e2e errors through environment variable
- Added tools for linting and for building plugin-ci
* feedback from stevev - remove version. Causes problems
2020-04-17 14:48:42 -06:00
Stephanie Closson
336ab8990e
Toolkit: Update slim debian image for e2e testing ( #23629 )
...
* Because alpine uses musl instead of libc, the e2e/cypress was not compatible
So:
- Created new VM based on debian-slim
- Could also be used as a build VM
Fixes:
- ginstall issue with merge somewhere.
- Trimmed down the alpine VM since we don't need the extra libraries for cypress
* Fix: Don't need cp on debian
Fix: Don't use /bin/sh on debian. Only for alpine. Use /bin/bash on debian
Fix: Missing dependencies to e2e tests
2020-04-17 14:29:10 -06:00
Dominik Prokop
a7904f13cc
Remove temporary NewPanelEditorContext ( #23652 )
2020-04-17 18:04:57 +02:00
Diana Payton
43fc6c3a17
Docs: Grafana internal metrics update ( #23448 )
...
* Update metrics.md
* Updated metrics.md and configuration.md
* Added links to data sources
* Update metrics.md
* Update docs/sources/administration/metrics.md
Co-Authored-By: Carl Bergquist <carl@grafana.com>
Co-authored-by: Carl Bergquist <carl@grafana.com>
Co-authored-by: bergquist <carl.bergquist@gmail.com>
2020-04-17 07:37:09 -07:00
Hugo Häggmark
97c5e2971d
Transformers: changes reduce transformer ( #23611 )
...
* Transformers: changes reduce transformer
* Refactor: fixes lenght of frame
* Minor tweaks and polish
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-17 16:27:00 +02:00
Hugo Häggmark
ed8c3430c4
PanelEditorTabs: adds counter to Query, Alert and Transform ( #23645 )
2020-04-17 14:46:32 +02:00
Alex Khomenko
89c8855f9d
Search: migrate manage dashboards ( #23530 )
...
* Search: add search wrapper
* Search: add DashboardSearch.tsx
* Search: enable search
* Search: update types
* Search: useReducer for saving search results
* Search: use default query
* Search: add toggle custom action
* Search: add onQueryChange
* Search: debounce search
* Search: pas dispatch as a prop
* Search: add tag filter
* Search: Fix types
* Search: revert changes
* Search: close overlay on esc
* Search: enable tag filtering
* Search: clear query
* Search: add autofocus to search field
* Search: Rename close to closeSearch
* Search: Add no results message
* Search: Add loading state
* Search: Remove Select from Forms namespace
* Remove Add selectedIndex
* Remove Add getFlattenedSections
* Remove Enable selecting items
* Search: add hasId
* Search: preselect first item
* Search: Add utils tests
* Search: Fix moving selection down
* Search: Add findSelected
* Search: Add type to section
* Search: Handle Enter key press on item highlight
* Search: Move reducer et al. to separate files
* Search: Remove redundant render check
* Search: Close overlay on Esc and ArrowLeft press
* Search: Add close button
* Search: Document utils
* Search: use Icon for remove icon
* Search: Add DashboardSearch.test.tsx
* Search: Move test data to a separate file
* Search: Finalise DashboardSearch.test.tsx
* Add search reducer tests
* Search: Add search results loading indicator
* Search: Remove inline function
* Search: Do not mutate item
* Search: Tweak utils
* Search: Do not clear query on tag clear
* Search: Fix folder:current search
* Search: Fix results scroll
* Search: Update tests
* Search: Close overlay on cog icon click
* Add mobile styles for close button
* Search: Use CustomScrollbar
* Search: Memoize TagList.tsx
* Search: Fix type errors
* Search: More strictNullChecks fixes
* Search: Add ManageDashboards.tsx
* Search: Add mergeReducers
* Search: Use mergeReducers
* Search: remove default state from reducers
* Search: Fix recent and starred icons
* Search: Enable search
* Search: Add markup
* Search: Separate manageDashboardsReducer
* Search: Add DashboardActions.tsx
* Use new Select for TagFilter
* Search: Use TagFilter for search filters
* Search: Use TagList
* Search: Add toggleSection
* Search: Add more actions
* Search add manageDashboards.test.ts
* Search: Add getCheckedUids
* Search: Add modify and toggle checked actions
* Search: Update tests
* Search: Update component template
* Search: Enable section toggle
* Search: Derive canMove and canDelete
* Search: Handle delete items
* Search: Fix tests
* Search: Enable toggle items
* Search: Add confirm modal subtitle
* Search: Use theme vars
* Search: Add getCheckedDashboardsUids
* Search: Add MoveToFolderModal
* Search: Enable moving dashboards
* Search: Fix strict null checks errors
* Search: Fix strict null checks errors[2]
* Search: Enable filters
* Search: Add useSearchQuery.ts
* Search: Toggle items when toggling all
* Search: Update useSearchQuery to accept custom params
* Search: Add useSearchQuery to dashboard search
* Search: use SearchField for manage dashboards
* Search: Remove event param from query change
* Search: Add base search hooks
* Search: refactor useSearch to accept reducer
* Search: use useDashboardSearch hook
* Search: Fix useSearchQuery params
* Search: Enable folder search
* Search: Update tests
* Search: Pass the props to manage-dashboards
* Search: Add search filters margin
* Search: Remove search-field-wrapper class and hide logic for it
* Search: Adjust SearchField styles
* Search: Move search-results-container inside SearchResults
* Search: Fix type errors
* Search: Add EmptyListCTA
* Search: Update move message
* Search: Cleanup
* Search: Add todo
* Search: Fix action type
* Search: Use React wrapper vs FolderDashboardsCtrl and DashboardListCtrl
* Search: DashboardList => DashboardListPage
* Search: Remove ManageDashboards from angular_wrappers
* Minor style tweaks
* Search: Use LinkButton
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-17 15:29:20 +03:00
Torkel Ödegaard
1816ab8013
Inspect: Transformers ( #23598 )
...
* WIP: Inspect transformers
* Updated
* Transformations working in inspect drawer and series to columns working as normal transformation
* Minor name change
* Updated
* Updated
* Fix: fixes crash with dataFrameIndex out of bounds
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
2020-04-17 14:03:21 +02:00
Mohit Nain
705467242d
docs/sources/features/datasources/graphite.md: Fix typos
2020-04-17 13:38:26 +02:00
Dominik Prokop
416111c5f6
FieldOverrides: UI updates ( #23630 )
...
* UI improvements for field overrides
* Update tests
* Fix missing key
* Fix e2e
2020-04-17 12:52:01 +02:00