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
Tobias Skarhed
a9e408fecf
Forms migration: Change password ( #23623 )
...
* Migrate ChangePassword
* Add validation
2020-04-17 11:24:21 +02:00
Alexander Zobnin
f023e7a399
SAML Role and Team sync (open source part) ( #23391 )
...
* SAML: add default params for role and team sync
* SAML: add org_mapping option
* SAML: support allowed_organizations option
* Chore: expose RedirectWithError from HTTPServer
* Chore: return RedirectResponse (fix superfluous response.writeheader message)
* HTTPServer: expose ValidateRedirectTo() and CookieOptionsFromCfg()
* Config: move SAML section to the enterprise
2020-04-17 10:48:37 +03:00
Hugo Häggmark
0205c42bfa
Transformers: fixes column names generated by seriesToColumn transformer ( #23642 )
2020-04-17 09:33:56 +02:00
Ryan McKinley
6c021f7bb9
Table: add a select option when multiple tables exist ( #23545 )
...
* add a table picker
* move picker to the top
* add missing change
* Removed overflow from panel-content so dropdown menus can extend a panel, moved the select to the bottom
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-16 21:35:58 +02:00
Hugo Häggmark
e64e8dd098
Tabs: adds counter component ( #23548 )
...
* Chore: Initial commit
* Initial commit
* Refactor: some style changes
* Refactor: removes isDark/isLight theme logic
* Minor style tweak
* Minor style tweak
* Minor adjustments
* Refactor: changes after PR comments
* Refactor: moves margin-left to counter
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-04-16 21:28:19 +02:00
Torkel Ödegaard
ba60be97fe
UX: Minor style tweaks and fixes ( #23614 )
...
* UX: Minor style tweaks and fixes
* Updated
2020-04-16 17:55:08 +02:00
Torkel Ödegaard
9e1bdce5e0
Modals: Fixed alignment in header ( #23618 )
2020-04-16 17:50:16 +02:00
Shavonn Brown
e873f94bd4
revent optional event arg change ( #23622 )
2020-04-16 11:38:54 -04:00
Carl Bergquist
9652a1410b
Build: Stricter linting should break the build ( #23606 )
2020-04-16 16:09:27 +02:00
Sofia Papagiannaki
19f03e593c
Docs: update users API ( #23570 )
...
* Docs: update users api
* Apply suggestions from code review
Co-Authored-By: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-04-16 16:45:22 +03:00
Andrej Ocenas
28543e11ba
Explore: Prevents sizing issue when split ( #23596 )
...
* Update tests
* Remove imports
2020-04-16 14:28:46 +02:00
Ivana Huckova
6937f3549b
@grafana/ui: Various smaller Icon updates ( #23588 )
...
* Remove icon types duplicates, update getAllIcons
* Update Explore-related icons, positioning
* Update Getting started icons
* Update navmodel
* Style adjustments, css changes
* Update tests
* Updatee icon name in test file
2020-04-16 13:49:58 +02:00
Stephanie Closson
2de79a4d8c
Because alpine uses musl instead of libc, the e2e/cypress was not compatible ( #23602 )
...
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
2020-04-16 05:38:56 -06:00
Marcus Efraimsson
ed51ce3ae1
Backend Plugins: Discard logged messages from logger named stdio ( #23601 )
...
Discard logged messages coming from backend plugin logger named
stdio since that service is not in use.
Fixes #23461
2020-04-16 13:08:07 +02:00
Torkel Ödegaard
7fc9921be3
Fixed share json ( #23607 )
2020-04-16 09:31:40 +02:00
Carl Bergquist
5fc255bd89
Linting fixes for provisoning ( #23600 )
2020-04-16 05:46:20 +02:00
Marcus Efraimsson
6e313e7d37
Image Rendering: Remove PhantomJS support ( #23460 )
...
Removes all references and usage of PhantomJS #23375 .
Remove direct link rendered image e2e smoke test for now.
Docker: Fix installing chrome in ubuntu custom docker image.
Improve handling of image renderer not available/installed #23593 .
Add PhantomJS breaking change and upgrading notes.
Use grabpl v0.2.10.
Closes #13802
Co-authored-by: Kyle Brandt <kyle@grafana.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-04-15 22:17:41 +02:00
Tobias Skarhed
0a1ab60b8c
Storybook: Organizing ( #23572 )
...
* Initial reorganizing
* Update Layout props table
* Change sorting and move stories
2020-04-15 21:51:20 +02:00
Ivana Huckova
95876f2be7
@grafana/ui: Remove ColorPallete component ( #23592 )
...
* Remove ColorPalette and its tests as it is not used anywhere
* Remove obsolete snapshot test
2020-04-15 21:33:07 +02:00
Johannes Midgren
4c80eb7537
Docs: Change header levels of last three sections ( #23587 )
...
The last three sections of this document are not rendered on https://grafana.com/docs/grafana/latest/alerting/notifications
It seems like in all other instances (other .md docs of this project), level one headers are only used at the top of the page, so I assume using level two headers will make them show. Level two headers do also match the overall structure of the documentation.
2020-04-15 10:31:22 -07:00
Arve Knudsen
0dd2db8540
CircleCI: Upgrade the build pipeline tool ( #23595 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-04-15 17:41:12 +02:00
Torkel Ödegaard
82fc2803f0
Table: Fixed error going into new panel edit ( #23594 )
2020-04-15 17:40:02 +02:00