renovate[bot]
7812cb83e9
Update dependency eslint-plugin-jsdoc to v50.4.3 ( #96238 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 10:46:13 +00:00
Adela Almasan
754351273b
Actions: Fix interpolation ( #96161 )
2024-11-11 11:08:15 -06:00
renovate[bot]
2799e5aa75
Update dependency @types/lodash to v4.17.13 ( #96159 )
...
* Update dependency @types/lodash to v4.17.13
* fix types
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-11-11 18:16:20 +02:00
renovate[bot]
27a0491f30
Update dependency @swc/helpers to v0.5.15 ( #96224 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 15:11:53 +00:00
Josh Hunt
e8241636b8
Combobox: Improve async UX ( #96054 )
...
* Refactor basic usage with stateReducer
This is a combination of 3 commits.
This is the 1st commit message:
more wip
This is the commit message #2 :
even more wip
This is the commit message #3 :
got basic usage working well with stateReducer
remove unrelated change
todo tests
* fix behaviour for async
* clean up dev stuff
* story
* Fix options being cleared for non-async combobox
* Fill out tests!
* put story back
* clean up metriccombobox test
* show selected value as placeholder while menu is open
* properly fallback placeholder to the prop
2024-11-11 16:35:37 +02:00
Josh Hunt
436f8db3e3
AutoSizeInput: Fix controlled value being ignored when it's empty string ( #96212 )
2024-11-11 12:35:30 +00:00
Laura Fernández
a459f648b5
Combobox: Add default border-radius
to the menu/dropdown ( #96208 )
2024-11-11 13:27:54 +01:00
Carl Bergquist
c7b6822a5e
Loki: Apply scopes to expression if feature toggle is enabled. ( #95917 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2024-11-11 12:53:24 +01:00
Erik Sundell
8148f0c3bb
Plugin extensions: Make description optional ( #95555 )
...
make description optional
2024-11-11 12:22:57 +01:00
jackyin
3012d4c043
Flame Graph: Fix crash when it receives empty data ( #95604 )
...
flame graph crash
2024-11-11 11:09:11 +00:00
Tobias Skarhed
4f433ada14
Combobox: Fix stories ( #96206 )
...
Spread args onto component in stories
2024-11-11 12:02:58 +01:00
Ashley Harrison
ee7f521c08
ScrollContainer: Use ScrollContainer
in some dashboard components ( #95668 )
...
* use ScrollContainer in some dashboard components
* remove unnecessary wrapper
* remove unnecessary minHeight
2024-11-11 09:50:35 +00:00
renovate[bot]
c04236b60d
Update dependency @floating-ui/react to v0.26.27 ( #96158 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 09:43:56 +00:00
Jack Westbrook
787f3b8d6c
Webpack: Set eslint plugin config to flat to prevent cli errors ( #96199 )
...
fix(webpack): set eslint plugin config to flat to prevent cli errors
2024-11-11 10:23:24 +02:00
renovate[bot]
b1c5aa0929
Update dependency @prometheus-io/lezer-promql to v0.55.1 ( #95272 )
...
* Update dependency @prometheus-io/lezer-promql to v0.55.1
* chore(grafana-prometheus): update type import
* fix duration resolver
* fix unit test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-11-09 01:16:51 +02:00
Kristina
95692b3d68
BarChart: Fix threshold lines rendering for horizontal orientation ( #95737 )
...
* Use different threshold x/y coordinates depending on orientation
* invert wording / semantics
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-11-08 10:43:23 -06:00
ismail simsek
40637a221e
Chore: Don't require exemplar query for instant query when "Both" query type is selected ( #96122 )
...
Don't require exemplar for instant query
2024-11-08 17:51:14 +02:00
Marc M.
9525891455
Pyroscope: Add limit number of series returned by the data source ( #95780 )
2024-11-08 17:22:29 +02:00
Kristina
ac88461fe6
Canvas: Fix references for ResourcePicker ( #95580 )
...
* useRef instead of create ref for functional components, pass function to close popper if needed
* Cleanup, hide on save as well
* add comment about when hidePopper is available to content
2024-11-07 11:37:49 -06:00
ismail simsek
21ba507bcb
Revert "Prometheus: Fix escaping of quotation marks for variables" ( #96038 )
...
Revert "Prometheus: Fix escaping of quotation marks for variables (#93415 )"
This reverts commit 2bfdee73e3
.
2024-11-07 16:38:05 +01:00
Jack Westbrook
8c41137bcf
Frontend: Update to Eslint 9 ( #94823 )
...
* chore(eslint): bump all eslint related packages to latest
* chore(eslint): update linting scripts work with v9
* chore(eslint): introduce flat config
* chore(eslint): delete legacy configs
* feat(grafana-eslint-rules): update rules to use eslint 9 APIs
* chore(eslint): migrate all nested eslintrc files over to root config
* chore(packages): bump eslint dependencies
* feat(betterer): make it work with eslint 9
* style(grafana-data): remove non-existant ban-types rule from disable declarations
* chore(wip): [wip] link eslint-config-grafana
* chore(packages): add @eslint/compat
* chore(eslint): add compat to testing library and fix alerting rules
* chore(eslint): bump grafana eslint-config to v8
* chore(explore): delete legacy eslint config
* chore: clean codeowners file, remove grafana/eslint-config from e2e plugins
* test(eslint-rules): fix no-border-radius-literal and no-aria-label-e2e-selectors rule tests
* Add .js to prettier checks so new eslint.config.js file isn't missed
* chore(eslint): move emotion/syntax-preference to grafana/defaults
* test(eslint): use core-js structured-clone
* revert(services): undo merge backend-format githook changes
* test(eslint-rules): remove structured-clone polyfill from tests
* chore(eslint): add back public/lib/monaco to ignore list, sort alphabetically
* chore(e2e-plugins): remove eslint config 7 from plugins package.json
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2024-11-07 16:31:06 +01:00
linoman
3d51ca7377
SCIM: Add feature flag ( #96021 )
...
* Add feature flag
2024-11-07 15:38:46 +01:00
Andres Martinez Gotor
a415c0b831
Preinstall: Automatic updates if no version is specified ( #95970 )
2024-11-07 13:14:25 +01:00
Andrej Ocenas
e55100fa90
Sidecar: isAppOpened returns true only if there are 2 apps rendered ( #95978 )
...
* Check if sidecar is used
* Update packages/grafana-runtime/src/services/SidecarService_EXPERIMENTAL.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2024-11-07 11:50:05 +01:00
Ivana Huckova
c151021b16
Zipkin: Add feature toggle for backend migration ( #95973 )
2024-11-07 10:35:53 +01:00
Ashley Harrison
b85b18288a
Chore: Fix some theme nits ( #95887 )
...
fix some theme nits
2024-11-06 16:03:45 +00:00
Tobias Skarhed
0629a34ae4
Combobox: Add no options message and aria live region ( #95938 )
...
* Add no options message and aria live region
* Add i18n
* Extract message layout and use Trans component
* Fix unused imports
2024-11-06 17:10:06 +02:00
Tobias Skarhed
a279220d74
Combobox: Use ScrollContainer
to show scroll indicators ( #95962 )
...
Add CustomScrollbar
2024-11-06 15:35:31 +01:00
Josh Hunt
8d765cfba1
Prometheus: enable custom values in MetricCombobox ( #95950 )
2024-11-06 13:59:55 +00:00
Bogdan Matei
a80517d6fe
Scopes: Add scopes to metrics explore ( #94802 )
2024-11-06 15:11:33 +02:00
Andrej Ocenas
86ef3c916d
TimeRangeProvider: Fix synced status being kept when only one picker is mounted ( #95885 )
2024-11-06 13:40:17 +01:00
Brad Cowie
2bfdee73e3
Prometheus: Fix escaping of quotation marks for variables ( #93415 )
...
* Prometheus: Fix escaping of quotation marks for non-regex variables
* Prometheus: Fix escaping of double quotation marks for regex variables
* Prometheus: Add escaping for adhoc filter label queries
2024-11-06 11:19:09 +01:00
Tobias Skarhed
70e05c6a3a
Combobox: Remove Chance to generate options in story ( #95842 )
...
Generate basic options
2024-11-06 09:48:44 +01:00
ismail simsek
82ac9e2bb6
Explore Metrics: Explore Logs integration ( #94656 )
...
* initial logs integration
* rename back to Integrations
* remove comments
* connect related logs in metrics with logsIntegration service
* rename
* remove comments
* feat: related logs with loki expr
* fix: layout & var updates
* refactor: prefer scene state to context
* fix: limit DS select to relevant loki DSes
* refactor: use existing utils
* refactor: types
* fix: tests and types
* refactor: simplify
* refactor: prefer precise data updates
* refactor: prefer variable for key
* refactor: simplify panel search
* refactor: remove unnecessary short-circuit
* fix: ensure single network request for logs
* fix: add missing limit to fetched log lines
* refactor: add clarity
* refactor: organize imports
* feat: messaging for No Related Logs case
* fix: add missing space
* chore: add `exploreMetricsRelatedLogs` feature toggle
* feat: link to Explore Logs app
* fix: i18n
* fix: use sentence case consistent with design system
* style: avoid competing with metricscene buttons
* fix: capitalization for names
* fix: a11y
* refactor: clean up and document utils
* fix: formatting
* chore: run `make i18n-extract`
* test: improve coverage
* test: fix module resolution side-effects
* extract only the first rule
refactor: organize imports
* remove unnecessary test files
---------
Co-authored-by: Nick Richmond <nick.richmond@grafana.com>
2024-11-05 17:28:43 +01:00
Marcus Andersson
c7a7f7dce5
PluginExtensions: Made it possible to enable extensions admin page in non-development environments ( #95820 )
...
* Added feature flag for toggling extensions admin page.
* fixed typo.
* require restart
---------
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2024-11-05 16:55:10 +01:00
Luis Rodrigues
bfa1f03315
Prometheus: Fix query editor crash in response to invalid query ( #94421 )
...
* Quick fix for RenderParams Function
* Removing unnecessary optional chaining
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
* Removing unittests for RenderParams
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
2024-11-05 10:29:52 -05:00
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
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
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
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