Ashley Harrison
c05bfdf71f
Theme: Add debug theme behind extraThemes toggle ( #95838 )
...
add debug theme
2024-11-05 14:37:09 +00:00
Ashley Harrison
0fae3579e8
Chore: improve some types ( #95728 )
...
* fix some typings
* fix some more
* more type fixes
* fix some graphite types
* few influx fixes
2024-11-05 09:57:30 +00:00
Kristina and Leon Sorokin
68aefc73b6
Timeseries: Utilize min/max on stacking percentage ( #95581 )
...
* Bring in defined min/max into stacking range
* simplify logic
* different approach
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-11-04 11:02:09 -06:00
Zoltán Bedi and Jack Baldry
85c696c4ad
SQL: Add macro support in select case ( #88514 )
...
* Feat: timeGroup macro handling in VQB
* Add tests
* Add functions to SQL ds
* Fix lint errors
* Add feature toggle
* Add rendering based on object
* Fix lint
* Fix CI failures
* Fix tests
* Address review comments
* Add docs
* Fix JSX runtime warnings
* Remove docs part that mentions suggest more macros
* Update docs/sources/shared/datasources/sql-query-builder-macros.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Add smoke test for this feature
* lint
* Add supported macros to influx
* Add setupTests.ts to include in tsconfig.json
* Import jest-dom instead of setupTests.ts
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-11-04 17:13:35 +01:00
Joao Silva
afcd620d21
Combobox: Handle error if async fails ( #95740 )
2024-11-04 12:08:51 +00:00
Ashley Harrison
7fd4f220b8
RefreshPicker: Fix styling ( #95739 )
...
need to set clear borderRadius explicitly on ButtonSelect
2024-11-04 10:00:12 +00:00
Todd Treece
403b60723d
Playlist: Add watch feature toggle ( #95730 )
2024-11-01 13:47:24 -04:00
Erik Sundell
3deffe58f6
Selectors: Remove outdated comment ( #95735 )
...
remove comment
2024-11-01 17:08:25 +01:00
Josh Hunt
eb781dd46d
Prometheus: Add Metrics Explorer button next to MetricCombobox ( #95647 )
2024-11-01 15:32:17 +00:00
Erik Sundell
c548a2357b
Chore: Remove commented out selectors ( #95719 )
...
remove commented out selectors
2024-11-01 13:20:58 +00:00
Liza Detrick and Galen Kistler
85ee91aa77
chore: (@grafana/ui) - table documentation explain applyFieldOverrides ( #95523 )
...
* chore: (@grafana/ui) - table documentation explain applyFieldOverrides
Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com >
2024-10-31 11:14:59 -07:00
Ashley Harrison
ada6249280
Chore: use ScrollContainer across frontend platform components ( #95601 )
...
* use ScrollContainer in grafana-ui
* remove extraneous labels
* fix unit tests
2024-10-31 15:27:35 +00:00
Ashley Harrison
b42c34070a
SingleTopNav: Fix org switcher in overlayed MegaMenu ( #95654 )
...
fix org switcher in singleTopNav
2024-10-31 14:48:01 +00:00
Alex Khomenko
f7e9aeac6e
FormattedValueDisplay: Improve styles check ( #95639 )
2024-10-31 12:59:46 +02:00
Josh Hunt
bf6056f2fa
Prometheus: Use Combobox for metric select ( #93262 )
...
* Uses Combobox in Prometheus for the metrics select, behind feature toggle
* switch to new async combobox api
* clean up MetricCombobox, add in dev slowness
* wip
* reset combobox changes to other pr https://github.com/grafana/grafana/pull/95191
* restore placeholder
* wip
* tests :)
* remove history comment
* use main import
2024-10-31 10:36:27 +00:00
Joao Silva
e40b19c7a6
Combobox: Debounce async calls ( #95485 )
2024-10-31 10:27:14 +00:00
Josh Hunt
55bcbcef83
GrafanaUI: Export Combobox from @grafana/ui ( #95622 )
2024-10-30 16:59:28 +00:00
kay delaney
db5f893ea6
Chore: Remove code related to viz/widget split feature ( #95614 )
2024-10-30 16:12:03 +00:00
Josh Hunt
fe4f44723d
Combobox: Call loadOptions with current input value when reopening menu ( #95573 )
2024-10-30 14:27:13 +00:00
Bogdan Matei
048ba14c34
Fix relative time range parsing ( #95603 )
2024-10-30 15:52:19 +02:00
Ashley Harrison
87c2bc44b2
GrafanaUI: Add new unstable ScrollContainer component ( #95547 )
...
add new unstable ScrollContainer component
2024-10-30 10:19:42 +00:00
Josh Hunt
189802d3c3
EchoSrv: Add BrowserConsoleBackend to log analytics events ( #95554 )
...
* EchoSrv: Add BrowserConsoleBackend to log analytics events
* rename config name
* warn on non-scalar property values
2024-10-29 18:20:54 +00:00
Josh Hunt
952957248f
Combobox: Squish the menu height in small viewports ( #95568 )
...
* Combobox: Squish the menu height in small viewports
* rename constants
2024-10-29 17:47:31 +00:00
Alexa V
f062c66f89
Dashboard: Add new dashboardSchemaV2 feature toggle ( #95536 )
...
Dashboard Scene: Add new dashboardSchemaV2 feature toggle
2024-10-29 11:35:18 +01:00
Jack Westbrook
eae83609b8
Grafana UI: Remove re-export of Ansicolor package ( #95531 )
...
chore(grafana-ui): remove re-export of ansicolor package
2024-10-29 10:04:33 +01:00
Russ
9f2da249fd
Chore: update Asserts menu icon again ( #95522 )
2024-10-28 23:55:19 +02:00
Josh Hunt
c9abe04d46
Prometheus: Add instrumentation for query patterns ( #95288 )
...
Prometheus: Add instrumentation for query patterns/kickstart your query
2024-10-28 20:46:08 +02:00
Matias Chomicki
d6efd6d606
Logs Panel: Added support to pass custom options to the log rows menu ( #95330 )
...
* LogsPanel: add props to prepend or append icons to the log row menu
* LogsPanel: add test and type guard
* LogsPanel: add test
* Fix addonBefore position
* Refactor to be an array of ReactNode
* Remove comment
* chore: add docs
* Linting issues
2024-10-28 17:39:12 +01:00
renovate[bot]
d68b5d222a
Update dependency react-select to v5.8.2
2024-10-28 16:38:06 +00:00
Erik Sundell
8f0c8778b4
E2E Selectors: Remove orphan comment ( #95505 )
...
remove comments
2024-10-28 18:14:47 +02:00
renovate[bot]
865be67dd1
Update dependency eslint-plugin-jsx-a11y to v6.10.2
2024-10-28 15:20:29 +00:00
Ashley Harrison
55673e2f41
Chore: Add emotion object syntax rule to eslint ( #95429 )
...
add object syntax rule to eslint
2024-10-28 13:47:46 +00:00
Bogdan Matei
97c0ff2ae4
Dashboards: Reload the dashboard based on time range and filters changes ( #94190 )
2024-10-25 15:56:54 +03:00
Tobias Skarhed and Joao Silva
5ee5c7af7b
Combobox: Invalidate async calls using counter instead of value ( #95049 )
...
* Combobox async: Invalidate using timestamp instead of value
* Simulate keyboard delay in test
* Use a counter instead of timestamps
* Fix feedback
* Expand tests to include case discussed on PR
---------
Co-authored-by: Joao Silva <joao.silva@grafana.com >
2024-10-25 10:10:02 +02:00
Erik Sundell
967b9ed22c
E2E: Fix broken selector ( #95357 )
...
fix broken selector
2024-10-24 17:36:53 +03:00
Josh Hunt
0b842eb48e
Chore: Change filterTable nth-child to nth-of-type ( #95331 )
...
Chore: Change filterTable nth-child styles to fix console warning
2024-10-24 17:27:25 +03:00
Ashley Harrison
5fb1c7f512
Card: Set an explicit displayName for Card ( #95353 )
...
set an explicit displayName for Card
2024-10-24 17:18:05 +03:00
Andreas Christou
2a65de8aaa
Azure Monitor: Limit the log rows to 30000 ( #93901 )
...
* Limit the amount of rows to 30000
* Lint
* Remove unneeded goldenframe check
* Add feature toggle
* Update toggles
* Use rowLimit variable
2024-10-24 16:32:09 +03:00
Erik Sundell
37f82dab49
Docs: Improve readme about e2e selectors ( #95326 )
...
add one more bulletpoint
2024-10-24 12:30:28 +02:00
Ashley Harrison
4a9ba41f81
Switch: Improve screen reader behaviour ( #95178 )
...
* add role="switch" and only set a label if one is passed in
* fix unit tests
* fix more unit tests
2024-10-24 11:26:04 +01:00
Erik Sundell
58f180d58b
E2E Selectors: Add minimum Grafana version to selectors ( #93468 )
...
* make selectors versioned
* update readme
2024-10-24 10:28:21 +02:00
Joey
5a9de531d2
Tempo: Support new TraceQL scopes ( #94858 )
...
* Support new TraceQL scopes
* Update TraceQL lezer version
2024-10-24 09:17:40 +01:00
Leon Sorokin and drew08t
f7fcc14f69
Transformations: Add field from calc - avoid frame joining in some cases ( #93602 )
...
* Transformations: Add field from calc - avoid frame joining in some cases
* Add test for multiple query, 1 field, replace all
* omit frames that had no binary ops performed on them
---------
Co-authored-by: drew08t <drew08@gmail.com >
2024-10-23 15:14:06 -07:00
renovate[bot]
3f47621065
Update dependency eslint-plugin-react to v7.37.2
2024-10-23 14:21:14 +00:00
ismail simsek
78a00d09cd
Prometheus: Fix passing query timeout to upstream queries ( #95104 )
...
* remove queryTimeout from constructor
* use queryTimeout for range and instant queries
* remove comment
* remove default query timeout
* fix linting
2024-10-23 16:16:00 +02:00
renovate[bot]
f6354339ef
Update dependency @types/prismjs to v1.26.5
2024-10-23 13:45:32 +00:00
renovate[bot]
b512e7be0a
Update dependency @types/node to v20.16.15
2024-10-23 12:59:48 +00:00
Matias Chomicki
2573cbec08
Loki: Added support to split queries by stream shard ( #94245 )
...
* Add shard query splitting implementation
* Shard query splitting: reuse function from query splitting
* Shard query splitting: remove max line limit
* Shard query splitting: update test
* Shard query splitting: fix types and non-sharded queries
* Merge responses: fix log merging
* Merge responses: remove legacy code
* Query splitting: add support to retry failed requests
* Query splitting: unit test request retrying
* Query splitting: add unsubscriptions
* Shard query splitting: fix retrying
* Shard query splitting: switch to dynamic grouping
* Shard query splitting: update group size thresholds and fix -1 query
* Shard query splitting: update initial group size + don't retry parse errors
* Shard query splitting: update unit test
* chore: update mock value
* Shard query splitting: add support for multiple targets
* chore: update description
* Shard query splitting: use group targets
* chore: filter hidden queries
* Shard query splitting: issue initial log query without sharding
* Splitting: fix retrying in both methods
* Merge responses: keep execution time
* Shard query splitting: remove no-shard attempt
* Shard query splitting: adjust groups based on rate of change
* chore: clean up experiments
* Shard query splittng: remove log query restrictions
* Shard query splitting: remove fallback to time splitting
* Loki: add new query direction
* Missing generated file
* LokiOptionField: integrate new query direction
* Shard query splitting: delegate non-scan queries to time splitting
* Query splitting: do not retry queries with parse errors
* Loki datasource: add placeholder for feature flag
* Shard query splitting: add function with support criteria
* Shard query splitting: refactor query modification and shard logs volume
* Shard query splitting: update unit tests
* chore: Update scan direction tooltip
* chore: formatting
* LogsVolumePanel: fix missing state in logs volume panel data
* Merge responses: better handle missing nanoseconds
* LokiQueryOptionFields: display query direction for log queries
* loki: process scan direction as backward
* Loki datasource: restrict sharding to Explore
* Retrying: invert criteria and move to response utils
* Formatting
* Use log volume refId constant
* Fix import order
* Create feature flag
* Use feature toggle
* LogsVolumePanel: prevent flashing no data while streaming
2024-10-23 14:21:03 +03:00
Josh Hunt
2cf6a6388b
Combobox: Add prometheusUsesCombobox feature toggle ( #95238 )
...
Add prometheusUsesCombobox feature toggle
2024-10-23 12:18:33 +01:00
renovate[bot]
3103776892
Update dependency @types/jquery to v3.5.32
2024-10-23 10:08:04 +00:00