Andreas Opferkuch
d373566feb
FeatureToggles: Add index signature ( #31649 )
...
Since toggles tend to have arbitrary names.
2021-03-04 15:09:50 +01:00
Hugo Häggmark
e87d48921e
Admin: Keeps expired api keys visible in table after delete ( #31636 )
...
* Admin: Keeps expired keys visible in table after delete
* Chore: covers component in tests before refactor
* Refactor: splitting up into smaller components
* Chore: fixes a small issue with the validation
* Chore: forgot to export type
2021-03-04 13:20:38 +01:00
Gábor Farkas
289dc39ced
grafana/ui: added storybook link to readme ( #31600 )
2021-03-04 10:57:15 +01:00
Ivana Huckova
4c2e5fcbd0
Explore/Logs: Escaping of incorrectly escaped log lines ( #31352 )
...
* POC: Escaping of incorrectly escaped log lines
* Remove unused import
* Fix test, change copy
* Make escapedNewlines optional
* Fix typechecks
* Remove loading state from the escaping button
* Update namings
2021-03-03 18:32:27 +01:00
Andrej Ocenas
43d4a593ae
Tracing: Small improvements to trace types ( #31646 )
2021-03-03 18:31:10 +01:00
Vicky Lee
c9afbe80e1
test: pass Cypress options objects into selector wrappers ( #31567 )
...
* update selector wrappers so they can accept Cypress options objects to be passed in
* use arguments.length instead to be explicit
2021-03-02 14:20:49 +00:00
Andrej Ocenas
c113d3ce72
Tracing: Specify type of the data frame that is expected for TraceView ( #31465 )
...
* Use dataframe API for jeager
* Move types around
* Fix imports
* Simplify the data frame type
* Add comment
* Move the transform to separate file
* Fix logs timestamp
* Add/update tests for trace view
* Fix lint
* Add test to compare old and new format rendering
* Fix test imports
* Update data source tests
2021-03-02 13:59:35 +01:00
Oscar Kilhed
b36314d03f
PieChart: Add color changing options to pie chart ( #31588 )
...
* Allow changing of series color for PieChart
* Use useTheme hook
* Remove duplicate import
2021-03-02 13:18:03 +01:00
Dominik Prokop
0ba16acd45
Bring back correct legend sizing afer PlotLegend refactor ( #31582 )
2021-03-02 10:58:40 +01:00
Jack Westbrook
e13a48166b
chore: bump lodash to 4.17.21 ( #31549 )
2021-03-02 10:13:27 +01:00
Uchechukwu Obasi
5773b8f28c
ConfirmButton: updates story from knobs to controls ( #31476 )
...
* ConfirmButton: updates story from knobs to controls
* made some changes
2021-03-01 16:39:36 +01:00
Torkel Ödegaard
fcac61203e
PieChart: Update text color and minor changes ( #31546 )
2021-03-01 14:08:48 +01:00
Jack Westbrook
5dc000d6b0
Grafana-data: bump markedjs to v2.x to resolve vulnerability ( #31036 )
...
* chore(grafana-data): bump marked to v2.x to resolve vulnerability
* chore(grafana-data): bump marked to v2.0.1
2021-03-01 11:35:51 +01:00
Oscar Kilhed
10def28989
PieChart: Improve piechart legend and options ( #31446 )
...
* Add percent of total to piechart legend
* Remove defaults
* Add label selector
* Fix multiselect option ui
* Add percent of total to piechart legend
* Add label selector
* add multiselect options ui
* change how pie chart labels are displayed
* Fixed right aligned values in legend
* added titles to display values so they show in table mode
* Move legend display value options to below other options
* Add addMultiSelect method to ui builder
* Use addMultiSelect on builder
* Use multiselect for the legend columns and update the panel test dashboard
* Remove explicit typing on addMultiselect and remove non existing properties from piechart story
* Add release tag
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
2021-03-01 11:18:24 +01:00
Oscar Kilhed
89fa4acafc
Add multiselect options ui ( #31501 )
...
* add multiselect options ui
* Change import
* Add addMultiSelect method to ui builder
2021-02-28 09:33:30 +01:00
Ivana Huckova
aeabaee2da
Explore: Show ANSI colored logs in logs context ( #31510 )
...
* If ANSI in log context, show it
* Update
* Update
* Add test
2021-02-26 16:27:51 +01:00
Ivana Huckova
2d9f460e19
LogsPanel: Show all received logs ( #31505 )
...
* Show all received logs in LogsPanel
* Remove rowLimit
2021-02-26 15:33:34 +01:00
Torkel Ödegaard
eddc163e78
AddPanel: Design polish ( #31484 )
...
* AddPanel: Design fixes
* More design updates
* More tweaks
* Updated snapshot
* Modal fixes
* Updated field labels
* Move icon to left again
2021-02-26 12:29:28 +01:00
Torkel Ödegaard
14e7f70eac
TimeSeriesPanel: Remove unnecessary margin from legend ( #31467 )
...
* TimeSeriesPanel: Remove unnessary padding
* add back margin for right aligned legend
2021-02-26 11:09:07 +01:00
Alex Khomenko
119963ada2
Add reportVariables feature toggle ( #31469 )
2021-02-26 08:55:08 +02:00
Torkel Ödegaard
5b0fe1a500
GrafanaUI: Fixes typescript error for missing css prop ( #31479 )
2021-02-25 16:16:32 +01:00
Jack Westbrook
ad68f3c5e6
DashboardSettings: Migrate Link Settings to React ( #31150 )
...
* feat(dashboardsettings): migrate dashboard links EmptyListCTA to react
* feat(dashboardsettings): initial commit of links settings migration to react
* feat(dashboardsettings): add links form functionality
* refactor(dashboardsettings): separate out linksettings components and concerns
* Updates to links list
* Form improvements
* test(dashboardlinks): update links so tests run
* refactor: move _.move to arrayMove for testing purposes
* test(dashboardsettings): initial commit of link settings tests
* refactor(app): put back lodash move method for backwards compatibility
* test(dashboardsettings): add links settings tests
* style(dashboardsettings): camelcase constants
* chore(dashboardsettings): delete old angular links settings view
* fix(dashboardsettings): forceupdate links on submenuVisibilityChanged and correct imports
* chore: remove reference to old angular link settings components
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2021-02-25 11:50:10 +01:00
kay delaney
47d2a8085b
Frontend changes for library panels feature ( #30653 )
...
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com >
2021-02-25 10:26:28 +00:00
Erik Sundell
df3d84f161
add aws config ( #31464 )
2021-02-25 09:56:42 +01:00
ying-jeanne
4a2e32b401
Revert ""Release: Updated versions in package to 7.4.3" ( #31444 )" ( #31452 )
...
This reverts commit 59d11ce84f .
2021-02-24 17:53:08 +01:00
Zoltán Bedi
c8deaeacce
Chore: Fix eslint react hook warnings in grafana-ui ( #31092 )
...
* Chore: Fix eslint react hook warnings in grafana-ui
* Remove unneeded exlcudes
* Address Andrej's review
2021-02-24 17:21:47 +01:00
Uchechukwu Obasi
8f7e26cd01
Chore: fixed incorrect naming for disable settings ( #31448 )
2021-02-24 15:37:40 +01:00
Zoltán Bedi
04a067e599
TraceViewer: Fix show log marker in spanbar ( #30742 )
...
* TraceViewer: Fix show log marker in spanbar
* Revert changes and use UITooltip and UIPopover
* Change logmarker color
* e2e: wait for trace view
* Record cypress run ONLY FOR TESTING
* Move fixture to e2e
* Get details TEST ONLY
* test
* Use jaeger's theme instead of grafana's
* Revert "Record cypress run ONLY FOR TESTING"
This reverts commit 35c087b3c5 .
* Revert "Move fixture to e2e"
This reverts commit fab88cc54c .
2021-02-24 14:18:52 +01:00
Uchechukwu Obasi
f3a7cb4709
NamedColorsPalette: updates story from knobs to controls ( #31443 )
2021-02-24 12:52:56 +01:00
Grot (@grafanabot)
59d11ce84f
"Release: Updated versions in package to 7.4.3" ( #31444 )
2021-02-24 12:36:51 +01:00
Uchechukwu Obasi
5af27cb43e
ColorPicker: updates story from knobs to controls ( #31429 )
...
* ColorPicker: updates story from knobs to controls
* changed story name to uppercase
* made some changes to story name
* made some changes
2021-02-24 12:35:35 +01:00
Uchechukwu Obasi
070d512c57
ClipboardButton: updates story from knobs to controls ( #31422 )
2021-02-24 10:47:53 +01:00
Arve Knudsen
357cd8eb81
CI: Upgrade Dockerfiles wrt. Go, Node, Debian ( #31407 )
...
* CI: Upgrade Dockerfiles wrt. Go 1.16, Node, Debian
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-02-24 08:52:48 +01:00
ying-jeanne
c57047a420
Postgres: allow providing TLS/SSL certificates as text in addition to file paths ( #30353 )
...
* postgres SSL certification
* add back the UI to configure SSL Authentication files by file path
* add backend logic
* correct unittest
* mini changes
* Update public/app/plugins/datasource/postgres/config_ctrl.ts
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update public/app/plugins/datasource/postgres/partials/config.html
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* mutex
* check file exist before remove
* change permission
* change default configuremethod to file-path
* Update public/app/plugins/datasource/postgres/partials/config.html
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* Update public/app/plugins/datasource/postgres/partials/config.html
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* Update public/app/plugins/datasource/postgres/partials/config.html
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* Update public/app/plugins/datasource/postgres/partials/config.html
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* rename sslconfiguremethod to sslconfigurationmethod
* frontend update
* solve comments
* Postgres: Convert tests to stdlib
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Postgres: Be consistent about TLS/SSL terminology
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* fix init inconsistancy
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* naming convention
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Undo change
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix TLS issue
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* change permissions
* Fix data source field names
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Clean up HTML
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Improve popover text
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix SSL input bug
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Undo unnecessary change
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Clean up backend code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix build
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* More consistent naming
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Clean up code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Enforce certificate file permissions
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* add settings
* Undo changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* fix windows file path
* PostgresDataSource: Fix mutex usage
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/tsdb/postgres/postgres.go
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* fix compilation
* fix unittest
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* mock function
* change kmutex package
* add kmutex into middleware
* lock connection file per datasource
* add unittest regarding concurrency
* version should be equal
* adding unittest
* fix the loop
* fix unitest
* fix postgres unittst
* remove comments
* move dataPath from arg to tlsManager struct field
* Use DecryptedValues method
Use cached decrypted values instead of
using secure json data decrypt which will
decrypt unchanged values over and over again.
* remove unneeded mutex in tests and cleanup tests
* fix the lint
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2021-02-23 22:10:55 +01:00
Uchechukwu Obasi
af12e6d20e
Move NOOP_CONTROL to storybook utils and change to a standalone file ( #31421 )
2021-02-23 15:20:07 +01:00
Domas
3bc9f78d76
Logging: add frontend logging helpers to @grafana/runtime package ( #30482 )
2021-02-23 13:02:45 +02:00
Uchechukwu Obasi
9ce07b11d2
CallToActionCard: updates story from knobs to controls ( #31393 )
...
* CallToActionCard: updates story from knobs to controls
* used better naming for ctaElement control
* Capitalise Story names
* moved some changes to a separate PR
* fixes CI frontend build issue
2021-02-23 11:41:14 +01:00
Zoltán Bedi
67c215f5f1
Chore: Upgrade eslint packages ( #31408 )
2021-02-23 10:02:07 +01:00
Uchechukwu Obasi
6a4880ad14
Cascader: updates story from knobs to controls ( #31399 )
2021-02-23 09:50:52 +01:00
Alex Khomenko
6db4b40d5b
Data source list: Use Card component ( #31326 )
...
* Replace DataSourcesListItem with Card
* Add tests
* Remove unused styles
* Make card heading semi bold
* Make heading semi-bold
* Show type name instead of type id
* Fix key warning
* Update Card
* Fix tests
* Make typeName optional
* remove styling that was just a test
* Make typeName non-optional and fix tests
* Update list key
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2021-02-22 14:02:10 +02:00
Hugo Häggmark
9967f193c8
Revert "StoryBook: Introduces Grafana Controls ( #31351 )" ( #31388 )
...
This reverts commit c5797cc274 .
2021-02-22 11:04:27 +01:00
Hugo Häggmark
c5797cc274
StoryBook: Introduces Grafana Controls ( #31351 )
2021-02-22 09:53:06 +01:00
Torkel Ödegaard
3e55c967ee
Theming: Support for runtime theme switching and hooks for custom themes ( #31301 )
...
* WIP Custom themes
* Load custom themes from URL and via event
* Dynamic page background
* Header color change
* Fixing tests and emotion warnings
* Fixed test
* moving cx to getStyles
* Review fixes
* minor change
2021-02-20 09:02:06 +01:00
Torkel Ödegaard
ce63df425d
TimeSeriesPanel: Fixes overlapping time axis ticks ( #31332 )
...
* GraphNG: Fixes overlapping time axis ticks
* Review tweaks
2021-02-19 12:10:48 +01:00
Oscar Kilhed
aeb4bcb3ed
Grafana/UI: Add basic legend to the PieChart ( #31278 )
...
* Add basic legend to the PieChart
* Remove console log
* Remove PieChartWithLegend and refactor PieChart a bit
* Use FALLBACK_COLOR
* Refactor PieChart
* Change back to [function]
2021-02-19 11:49:40 +01:00
Arve Knudsen
a20119db9f
Chore: Upgrade golangci-lint ( #31330 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-02-18 19:24:04 +01:00
Torkel Ödegaard
e9576853c1
Table: Fixes issue with fixed min and auto max with bar gauge cell ( #31316 )
2021-02-18 16:56:47 +01:00
Uchechukwu Obasi
debb82e124
BarGuage: updates story from knobs to controls ( #31223 )
...
* BarGuage: updated story from knobs to controls
* fixes type errors and disables unused controls
* update controls to support some BarGauge props
* changed addBarGaugeStory to component and removed closure
* cleaned up to be more readable
* more refactoring to be readable
* final touches...
* fixed disabled controls issue
* moved NOOP_CONTROL declaration to a seperate PR
* made some tweaks to the story names
2021-02-18 16:03:56 +01:00
Uchechukwu Obasi
0e63dfafbe
ButtonCascader: updates story from knobs to controls ( #31288 )
...
* ButtonCascader: updates story from knobs to controls
* some nit fixes
2021-02-18 13:52:09 +01:00
Vicky Lee
7f8fb2b55f
test: allow check for Table as well as Graph for Explore e2e flow ( #31290 )
...
* use table for explore flow screenshot
* reverse logic
* update matchExploreTable type
2021-02-18 09:11:30 +00:00