Jev Forsberg
2e98f5063b
Table: Add row number column option ( #62256 )
...
* baldm0mma/addRowNumbers/ add showRowNums to panel cue
* baldm0mma/addRowNumbers/ add panel option for sowing row numbers
* baldm0mma/addRowNumbers/ update typing for showRowNums
* baldm0mma/addRowNumbers/ add buildFieldsForOptionalRowNums
* baldm0mma/addRowNumbers/ update addOptionalNumbersRowToTable
* baldm0mma/addRowNumbers/ adjust display method to return numeric and text values
* baldm0mma/ chaneg prop name to match
* baldm0mma/addRowNumbers/ update boolean swicth path
* baldm0mma/addRowNumbers/ move function
* baldm0mma/addRowNumbers/ add getToggleHiddenProps
* baldm0mma/addRowNumbers/ remove addNumbersRowToTable second arg
* baldm0mma/addRowNumbers/ add updateInitialState
* baldm0mma/addRowNumbers/ update getInitialState reducer with initialShowRowNumbers arg
* baldm0mma/addRowNumbers/ add useEffect for RowNumberColumn toggling
* baldm0mma/addRowNums/ bootleg fix
* baldm0mma/addRowNumbers/ export OPTIONAL_ROW_NUMBER_COLUMN_WIDTH
* baldm0mma/addRowNumbers/ add annos for readability
* baldm0mma/addRowNumbers/ remove superfluous annos
* baldm0mma/addRowNumbers/ add a few logs
* baldm0mma/addRowNumbers/ update annos
* baldm0mma/addRowNumbers/ update which footer row displays reducer type
* baldm0mma/addRowNumbers/ abstract away defaultRowNumberColumnFieldData
* baldm0mma/addRowNumbers/ update annos in utils.tsx
* baldm0mma/addRowNumbers/ update annos for defaultRowNumberColumnFieldData
* baldm0mma/addRowNumbers/ mark unused args with underscore
* baldm0mma/addRowNumbers/ add annos to addRowNumbersFieldToData
* baldm0mma/addRowNumbers/ update utils file type
* baldm0mma/addRowNumbers/ remove console.logs
* baldm0mma/addRowNumbers/ update file type
* baldm0mma/addRowNumbers/ update annos in utils
* baldm0mma/addRowNumbers/ remove superfluous footerGroups object
* baldm0mma/addRowNumbers/ add annos for tests
* baldm0mma/addRowNumbers/ add annos for self
* baldm0mma/addRowNumbers/ add tests to table.test.tsx
* baldm0mma/addRowNumbers/ update tests in utils.test
* baldm0mma/addRowNumbers/ update annos and tests
* baldm0mma/addRowNumbers/ remove console.logs
* baldm0mma/addRowNumbers/ update utils file ext
* baldm0mma/addRowNumbers/ update anno in table.tsx
* baldm0mma/addRowNumbers/ update annos in table.tsx
* baldm0mma/addRowNumbers/ rem error annos
* baldm0mma/addRowNumbers/ revert footerCell
* baldm0mma/addRowNumbers/ revert tests
* baldm0mma/addRowNumbers/ skip tests
* baldm0mma/addRowNumbers/ revert table isCountRowSet
* baldm0mma/addRowNumbers/ remove cloneDeep
* baldm0mma/addRowNumbers/ update filterFields
* baldm0mma/addRowNumbers/ skip tests
* Refactor count rows
* baldm0mma/addRowNumbers/ rem test skips
* baldm0mma/addRowNumbers/ update with annos
* baldm0mma/addRowNumbers/ skip timeing out test
* baldm0mma/addRowNumbers/ static row numbering and test updates
* baldm0mma/addRowNumbers/ remove dupe
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com>
2023-02-03 07:00:29 -07:00
Michael Mandrus
7391793504
Query Caching: Add per-panel query caching TTL ( #61968 )
...
* *Create Caching Config interface and OSS impl
*Create front-end facing DS Cache config
*Populate Caching Config on Datasource DTO
*Update OSS wire deps
* fix unit test
* handle query caching TTL override on the frontend
* Make sure the override works with pubdash
* move caching config to the right place in the ds info
* move caching config logic to enterprise index hook
* move queryCachingTTL to pubdash query payload
* Remove from metadata (not needed)
* rename struct and add comment
* remove invalid wire dependency
* manual revert of 395c74b
* fix frontend test
* fix backend test
* fix tests for real this time
* truly fix frontend test
* fix back end unit test for real
2023-02-02 23:39:54 -05:00
kay delaney
40ec4ef5b8
PanelChrome: Implement hover header ( #61774 )
...
Closes #59078
Co-authored-by: polinaboneva <polina.boneva@grafana.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2023-02-02 17:53:18 +00:00
Leon Sorokin
4d564f8b0a
Chore: uFuzzy 1.0.2 ( #62276 )
...
Co-authored-by: joshhunt <josh@trtr.co>
2023-02-02 09:09:48 -06:00
Ashley Harrison
5e7e026c0c
Navigation: Remove commandPalette
feature toggle ( #62698 )
...
* remove command palette feature toggle
* undo irrelevant AppChrome changes
* update toggle description
2023-02-02 14:44:21 +00:00
Jev Forsberg
1092c2b383
bug: adjust table footer height calculations ( #62734 )
...
* baldm0mma/bug-62410/ remove function incorrectly calculating table height
* baldm0mma/bug-62410/ base extended row on basic footer height, and not header height
2023-02-02 07:32:32 -07:00
Ryan McKinley
d4f4a83574
FeatureToggles: Add dev only feature toggle for apiserver ( #62726 )
2023-02-01 20:28:19 +00:00
Joao Silva
3ea7ca0993
Search: Fix alignment of checkbox in folder view ( #62678 )
2023-02-01 17:36:28 +01:00
Eric Leijonmarck
8ff19bd901
Auth: Add Generic oauth skip org role sync setting ( #62418 )
...
* add: generic oauth skip org role sync
* add: docs
* add: backend login skip sync
* fix: docs typo
* add: tests
* remove public key
* fix markdown for generic oauth
* add: generic oauth to the configuration
* refactor: change debug to warn
2023-02-01 16:27:53 +00:00
Andre Pereira
5e1506dea0
Tempo: Remove tempoApmTable feature flag ( #62499 )
...
Remove tempoApmTable feature flag
2023-02-01 15:56:34 +00:00
Ivana Huckova
b9bbb4e1fb
SplitOpen: Update API to accept multiple queries ( #62245 )
...
* SplitOpen: Update API to accept multiple queries
* Explore: Deprecate query in SplitOpenOptions and add queries
* Use queries in log samples
* Fix test
2023-02-01 11:34:25 +01:00
Torkel Ödegaard
533c8e4b7a
PanelChrome: Adds display mode to support transparent option ( #62647 )
...
* PanelChrome: Add transparent displayMode
* Remove comment
* Fixes to storybook and new example
* no background on TitleItem
---------
Co-authored-by: polinaboneva <polina.boneva@grafana.com>
2023-02-01 10:57:43 +01:00
Ryan McKinley
4186871390
Transforms: Fix schema definition ( #62619 )
2023-01-31 18:03:08 +00:00
ismail simsek
91221bc436
Expressions: Fixes the issue showing expressions editor ( #62510 )
...
* Use suggested value for uid
* update the snapshot
* use __expr__
* replace all -100 with __expr__
* update snapshot
* more changes
* revert redundant change
* Use expr.DatasourceUID where it's possible
* generate files
2023-01-31 18:50:10 +01:00
Ryan McKinley
bba80b6c7a
Transformations: Selectively apply transformation to queries ( #61735 )
2023-01-31 17:06:06 +00:00
Polina Boneva
d48a8fd227
PanelChrome: Styling issues ( #62466 )
...
* all panel icons are 16x16 in size; allow ToolbarButton to have its icon size set from outside;
* use TitleItem for streaming too, so that the style of focus-visible is the same
* allow menu icon to be visible when panel is focused
* remove some styling of title icons in panel header
* panel alert notices are too big
* PanelHeaderNotice: Fix styling issue with background and hover when
feature toggle is not enable
---------
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2023-01-31 11:39:15 +02:00
Ashley Harrison
fd2641a542
Navigation: Sign in button now works correctly when served under a sub path ( #62504 )
...
make sure getUrlForPartial always includes the basePath + unit tests
2023-01-31 09:27:40 +00:00
Andres Martinez Gotor
6d230d95eb
Azure Monitor: Enable multiple resource queries ( #62467 )
2023-01-30 17:19:03 +01:00
Ida Štambuk
f1a2a76897
Datasources: Use getDefaultQuery in annotations editors ( #61870 )
...
+ Add Cloudwatch default annotation
2023-01-30 16:45:03 +01:00
Kristina
b6f477ae03
Consider y coord when determining bottom collision ( #62403 )
2023-01-30 09:40:36 -06:00
Oscar Kilhed
e3bfc67d7b
FileDropzone: Display max file size ( #62334 )
2023-01-30 12:17:30 +01:00
renovate[bot]
355dc66bd9
Update dependency react-highlight-words to v0.20.0 ( #62351 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-01-30 11:03:39 +00:00
Eric Leijonmarck
a232e7ceca
Auth: Add skip_org_role_sync for Okta ( #62106 )
...
* WIP
* Update pkg/services/login/authinfo.go
* fix: merge
* change order to internal last
* adds: docs
* add: configuration for defaults and sample
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jo <joao.guerreiro@grafana.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Jo <joao.guerreiro@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-01-30 10:54:14 +00:00
Kyle Cunningham
38d7168921
Time Series Panel: Fix legend text selection in Firefox ( #60809 )
...
Add user-select property to legend items.
2023-01-30 11:18:07 +01:00
Sven Grossmann
7eb01b1813
MultiSelect: Fix actionMeta
not available in onChange
callback ( #62339 )
...
add `ActionMeta` to `onChange` callback
2023-01-30 11:17:02 +01:00
Ida Štambuk
a9d44aa795
Datasources: Add support for getDetDefaultQuery in variable editor ( #62026 )
...
+Cloudwatch implementation
2023-01-30 10:58:43 +01:00
Josh Hunt
d51e7ec7ef
Preferences: Add theme preference to match system theme ( #61986 )
...
* user essentials mob! 🔱
lastFile:pkg/api/preferences.go
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:packages/grafana-data/src/types/config.ts
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/utils.test.ts
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:public/views/index-template.html
* user essentials mob! 🔱
* Restore currentUser.lightTheme for backwards compat
* fix types
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* cleanup
* cleanup
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-01-30 10:51:51 +01:00
Torkel Ödegaard
dae9808602
AppPlugins: Remove unused rootNav parameter ( #62440 )
2023-01-30 10:30:01 +01:00
Ryan McKinley
0d2a786816
Schema: Add schema for library panels ( #62169 )
2023-01-30 04:14:12 +00:00
Ivana Huckova
d5294eb8fa
Explore: Implement feature toggle for logs sample ( #62291 )
...
* Explore: Implement feature toggle for logs sample
* Run pkg/services/featuremgmt/toggles_gen_test.go
* Remove boolean
* Update copy
2023-01-27 17:30:25 +01:00
renovate[bot]
7f5ed9f59d
Update dependency rc-tooltip to v5.3.1 ( #62341 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 15:48:06 +00:00
Dominik Prokop
d4015602ca
Dashboard schema: Update default value for timezone ( #62340 )
2023-01-27 15:43:13 +00:00
Levente Balogh
9453bec819
FileDropzone: Revert introducing a new prop ( #62324 )
2023-01-27 16:40:54 +01:00
Dominik Prokop
83199c4bf5
Dashboard schema: Review and mature timezone property ( #62090 )
...
* Review and mature timezone property of Dashboard kind
* Update timezone type
2023-01-27 07:13:33 -08:00
Sriram
89ef62f163
Chore: Removed unused grafana-plugin-ci images ( #62219 )
...
removed unused grafana-plugin-ci images
2023-01-27 14:19:42 +00:00
Andre Pereira
afd39c18ba
Explore: Refactor trace view and move to core ( #61938 )
...
* Move TraceView to core grafana
* Remove unused code
* yarn install
* Remove jaeger-ui-components from CODEOWNERS and other tools
* Type fixes
* yarn install
* Remove mock that we no longer need
* Fix merge conflicts
* Re-add Apache license for trace view components
* Use an exclamation-circle instead of triangle to denote errors
* Remove eslint disables and update betterer results instead
2023-01-27 14:13:17 +00:00
Sven Grossmann
7c02d9bb8a
Logs: Add experimental support to display a datasource custom UI in LogContext ( #62189 )
...
* add loki contextfilter component
* add `getLogRowContextUi` support to DataSourceAPI
* add `runContextQuery` to LogRowContextProvider
* pass `getRowContextUi` to `LogRowContext`
* adapt LogRowContext to show datasource ui
* implement LogRowContextUi in Loki
* add `logsContextDatasourceUi` feature flag
* change state to `Alpha`
* disable the feature if `logsContextDatasourceUi` is not set
* don't fetch labels in the constructor
* adjust to right height
* remove unnecessary eslint disable
* add test for LokiContextUi
* move code down in datasource.ts
* rename `refresh` to `runContextQuery`
* update datasource tests
* don't update if `updateFilter` fn changes
* organized imports in datasource.test.ts
* don't trigger on intialization changes
* change tag to `experimental`
* move `getLogRowContextUi` to props
2023-01-27 15:12:01 +01:00
Giuseppe Guerra
af1e2d68da
Plugins: Allow loading panel plugins from a CDN ( #59096 )
...
* POC: Plugins CDN reverse proxy
* CDN proxy POC: changed env var names
* Add authorization: false for /public path in frontend plugin loader
* Moved CDN settings to Cfg, add some comments
* Fix error 500 in asset fetch if plugin is not using CDN
* Fix EnterpriseLicensePath declared twice
* Fix linter complaining about whitespaces
* Plugins CDN: Skip signature verification for CDN plugins
* Plugins CDN: Skip manifest and signature check for cdn plugins
* Plugins: use IsValid() and IsInternal() rather than equality checks
* Plugins CDN: remove comment
* Plugins CDN: Fix seeker can't seek when serving plugins from local fs
* Plugins CDN: add back error codes in getLocalPluginAssets
* Plugins CDN: call asset.Close() rather than asset.readSeekCloser.Close()
* Plugins CDN: Fix panic in JsonApiErr when errorMessageCoder wraps a nil error
* Plugins CDN: Add error handling to proxyCDNPluginAsset
* Plugins CDN: replace errorMessageCoder with errutil
* Plugins CDN POC: expose cdn plugin paths to frontend for system.js
* Plugins CDN: Fix cdn plugins showing as unsigned in frontend
* WIP: Add support for formatted URL
* Fix missing cdnPluginsBaseURLs in GrafanaConfig
* Plugins CDN: Remove reverse proxy mode and reverse proxy references
* Plugins CDN: Simplify asset serving logic
* Plugins CDN: sanitize redirect path
* Plugins CDN: Removed unused pluginAsset type
* Plugins CDN: Removed system.js changes
* Plugins CDN: Return different system.js baseURL and module for cdn plugins
* Plugins CDN: Ensure CDN is disabled for non-external plugins
* lint
* Plugins CDN: serve images and screenshots from CDN, refactoring
* Lint
* Plugins CDN: Fix URLs for system.js (baseUrl and module)
* Plugins CDN: Add more tests for RelativeURLForSystemJS
* Plugins CDN: Iterate only on apps when preloading
* Plugins CDN: Refactoring
* Plugins CDN: Add comments to url_constructor.go
* Plugins CDN: Update defaultHGPluginsCDNBaseURL
* Plugins CDN: undo extract meta from system js config
* refactor(plugins): migrate systemjs css plugin to typescript
* feat(plugins): introduce systemjs cdn loader plugin
* feat(plugins): add systemjs load type
* Plugins CDN: Removed RelativeURLForSystemJS
* Plugins CDN: Log backend redirect hits along with plugin info
* Plugins CDN: Add pluginsCDNBasePath to getFrontendSettingsMap
* feat(plugins): introduce cdn loading for angular plugins
* refactor(plugins): move systemjs cache buster into systemjsplugins directory
* Plugins CDN: Rename pluginsCDNBasePath to pluginsCDNBaseURL
* refactor(plugins): introduce pluginsCDNBaseURL to the frontend
* Plugins CDN: Renamed "cdn base path" to "cdn url template" in backend
* Plugins CDN: lint
* merge with main
* Instrumentation: Add prometheus counter for backend hits, log from Info to Warn
* Config: Changed key from plugins_cdn.url to plugins.plugins_cdn_base_url
* CDN: Add backend tests
* Lint: goimports
* Default CDN URL to empty string,
* Do not use CDN in setImages and module if the url template is empty
* CDN: Backend: Add test for frontend settings
* CDN: Do not log missing module.js warn if plugin is being loaded from CDN
* CDN: Add backend test for CDN plugin loader
* Removed 'cdn' signature level, switch to 'valid'
* Fix pfs.TestParseTreeTestdata for cdn plugin testdata dir
* Fix TestLoader_Load
* Fix gocyclo complexity of loadPlugins
* Plugins CDN: Moved prometheus metric to api package, removed asset_path label
* Fix missing in config
* Changes after review
* Add pluginscdn.Service
* Fix tests
* Refactoring
* Moved all remaining CDN checks inside pluginscdn.Service
* CDN url constructor: Renamed stringURLFor to stringPath
* CDN: Moved asset URL functionality to assetpath service
* CDN: Renamed HasCDN() to IsEnabled()
* CDN: Replace assert with require
* CDN: Changes after review
* Assetpath: Handle url.Parse error
* Fix plugin_resource_test
* CDN: Change fallback redirect from 302 to 307
* goimports
* Fix tests
* Switch to contextmodel.ReqContext in plugins.go
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2023-01-27 15:08:17 +01:00
Joey Tawadrous
591501ef3f
Traces: Upgraded feature tracking ( #62181 )
...
Upgraded feature tracking
2023-01-27 13:33:27 +00:00
renovate[bot]
847a5ab195
Update dependency rc-slider to v10.1.0 ( #62302 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 13:23:31 +00:00
Leon Sorokin
52955d88a7
TimeSeries: Fix log y scale when min/max settings don't land on divisors ( #60768 )
2023-01-27 05:52:01 -07:00
Oscar Kilhed
6bfd21ef0a
FileDropzone: make a nicer looking error message when file size is exceeded ( #62290 )
...
* FileDropzone: make a nicer looking error message when file size is exceeded
2023-01-27 12:42:47 +00:00
renovate[bot]
1a28650aab
Update dependency @testing-library/dom to v8.20.0 ( #61677 )
...
* Update dependency @testing-library/dom to v8.20.0
* do some lockfile surgery
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-01-27 12:28:09 +00:00
Oscar Kilhed
dab3fac01b
Grafana DS: Fix dropzone showing upload file even if there is a file ( #62200 )
...
* Grafana DS: Fix dropzone showing upload file even if there is a file
2023-01-27 11:51:10 +00:00
Torkel Ödegaard
4deb10888e
Revert "Transforms: Add join by fields" ( #62278 )
2023-01-27 11:58:18 +01:00
renovate[bot]
3d4cf06246
Update dependency rc-drawer to v6.1.2 ( #62294 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 10:54:45 +00:00
renovate[bot]
14185ba819
Update d3 to v3 ( #58315 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-27 11:19:35 +01:00
Leon Sorokin
4c45dea71d
Chore: uPlot 1.6.24 ( #62279 )
2023-01-27 02:12:19 -06:00
renovate[bot]
caaf7be2f2
Update dependency immutable to v4.2.2 ( #62202 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-26 16:57:10 +00:00
Ashley Harrison
a344c88a01
Chore: don't create the npm-artifacts dir since yarn packages:pack does this… ( #62246 )
...
* don't create the npm-artifacts dir since yarn packages:pack does this already
* fix an any to trigger a canary build
2023-01-26 16:41:08 +00:00