dd824fd5cb
i18n: exports all language codes ( #103580 )
2025-04-08 04:40:18 -04:00
a494c5dd3d
Prometheus: fix labels infinite loading state in aggregations ( #103005 )
...
* fix labels in aggregation
* use timerange from props
* fix tests and lint
* fix lint
2025-04-07 18:40:48 +02:00
71c66acb2d
Alerting: Add keep_firing_for and Recovering state ( #103248 )
...
* add keep_firing_for and Recovering state
* prettier
* translations
* remove unused component/file
* fix tests
* fix test
* prettier
* fix tests
* revert changes in go.work.sum
* remove recovering from cloud rules filters
* prettier
* fix padding
* fix wrong move in import
* update text
* fix filtering states in alert list panel
* update translations
* betterer
* address feedback
* translations
* fix tests
* prettier and betterer
* update betterer.results
* update translations
* update snapshot
* add divider in the alert rule form
* address feedback
* Improve translations
* Update .betterer.results
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2025-04-07 17:13:04 +02:00
b9bc069fb9
AppChrome/MegaMenu: Fixes issue with default state being initialised to undocked ( #103507 )
...
* AppChrome/MegaMenu: Fixes default mega menu docked state
* AppChrome/MegaMenu: Fixes default mega menu docked state
* Update thresholds
* Update
* pa11y fix
* remove unnessary css
* fixed pa11y config
* try fix pa11y config + unit tests
* just increase thresholds again...
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2025-04-07 16:00:05 +01:00
63af403897
Live: Remove queryOverLive and live-service-web-worker experimental feature flags ( #103518 )
2025-04-07 17:47:35 +03:00
e2a6f9a849
Logs: Add new Controls component to Explore ( #103401 )
...
* ControlledLogRows: create component
* Fix imports
* ControlledLogRows: handle scroll events
* Rename storage key prop
* LogListControls: externally control syntax highlighting
* ControlledLogRows: add support for level filtering
* Logs: implement deduplication from controls
* Fix imports
* Create feature flag
* Use feature flag
* LogListControls: add download button
* LogsMetaRow: extract download function to logs utils
* Filter and download logs
* Update tests with new props
* LogList: pass logs and logs meta to context
* Remove prefix from downloaded file
* Update unit tests
* LogListControl: update unit tests
* Fix type assertion
* Fix imports
* Formatting
* i18n
* Fix test
* LogListControls: adjust scroll to top styles
* LogListContext: control legacy options
* LogListControls: add showUniqueLabels and prettifyJSON options
* LogListControls: test new controls
* Extract translations
* Hide old controls by feature flag
* LogListControls: update prettify json copy
* ControlledLogRows: disable preview
* Prettier
* LogListControls: Fix test
2025-04-07 16:38:55 +02:00
46bf9e6551
Dashboard: Group layout and Grid layout categories and simplified radio toggle design ( #103433 )
...
* Group layout and more
* Change word
* Update
* changed names and added new translation keys
* Update
* Update
* revert color change
* update
2025-04-07 14:30:09 +02:00
e1ec9bddbd
Grafana-UI: Support theme color in TagsInput ( #102293 )
...
* Grafana-UI: Support theme color in TagsInput
* improve variable names
* rename prop + rejigger styles
* reword comment
---------
Co-authored-by: joshhunt <josh.hunt@grafana.com>
2025-04-07 12:43:59 +01:00
641031cfaf
Chore: Type fixes ( #103340 )
...
* tidy tidy
* more fixes
* some TableNG fixes
* another TableNG test fix
* some more fixes
* betterer...
2025-04-07 11:29:30 +01:00
494ca597aa
Update babel monorepo ( #103455 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 10:58:47 +01:00
3de09fe457
i18n: exposes languages in grafana/data ( #102958 )
...
* i18n: exposes languages in grafana/data
* Chore: updates after PR feedback
2025-04-07 11:53:04 +02:00
4db8d8530d
Explore: Fix displaying Query Inspector ( #103512 )
2025-04-07 11:12:23 +02:00
0fc4f53fab
Internationalisation: More markup for translations ( #103392 )
...
* some more translations
* more markup
* more translations
* fix tests
2025-04-07 09:48:03 +01:00
bdbe94abc8
Alerting: Remove alertingConversionAPI feature flag ( #103380 )
2025-04-05 09:27:02 +01:00
8fadade4b8
Chore: Split PrometheusMetricsBrowser into small functional components ( #101703 )
...
* convert it to functional component
* useReducer
* usePromQueryFieldEffects
* clean up the code
* remove localStorage provider
* introduce usePromQueryFieldEffects.test.ts
* simpler state management
* remove mocks
* linting + betterer
* Split PrometheusMetricsBrowser into small functional components
* prettier
2025-04-04 18:58:46 +02:00
23e0f63790
Chore: Convert prometheus query field to a functional component ( #101515 )
...
* convert it to functional component
* useReducer
* usePromQueryFieldEffects
* clean up the code
* remove localStorage provider
* introduce usePromQueryFieldEffects.test.ts
* simpler state management
* remove mocks
* linting + betterer
* remove unnecessary check
* use range
* remove unused languageProvider
* prettier
2025-04-04 17:56:31 +02:00
d16dbc5ac9
ColorPicker: Fixed height when switching tabs ( #103304 )
...
* ColorPicker: fixed height when switching tabs
Fixed the component's height by setting a consistent height and adding margin.
Also added a test to ensure the component heights remain nearly identical when switching tabs.
Fix #99675
* ColorPickerPopover: Fixed height for popover content and allowed overflow. #99675
* ColorPickerPopover : Fix formatting suggested by linter.
* ColorPickerPopover: Remove redundant height test when switching tabs
* ColorPickerPopover: Remove overflowY style from popover container
* ColorPicker: Remove unnecessary marginTop from SpectrumPalette styles
2025-04-04 17:19:08 +03:00
06c83f7d4d
New Logs Panel: Add LogListControl component ( #102359 )
...
* LogListNavigation: create component
* LogListNavigation: make it optional
* Refactor Navigation into Controls
* Explore Logs: hide old panel options
* LogListControls: add more controls and apply new styles
* LogListControls: update width
* Remove console log
* LogList: wrap component in context
* LogListContext: make it stateful
* LogListControls: connect with context
* LogListContext: sync displayed fields
* LogListContext: add syntax highlighting control
* LogLine: improve color with highlighting off
* LogListControls: improve button styles
* LogListControls: add sort order option
* LogListControls: add dedup strategy
* LogListContext: sync prop changes with state
* LogList: add option change callback
* LogListContext: sync external changes only when showControls is disabled
* LogListContext: unify sync effect
* LogListControls: improve buttons active css
* LogListContext: add optional storage support
* LogList: make syntaxHighlighting and read from store or default to true
* LogsPanel: add support for new options
* Generated file
* Update tests
* New Logs Panel: add showControls option
* LogList: make eventBus optional
* LogsPanel: expose syntaxHighlighting
* LogsPanel: expose grammar to plugins
* Remove incorrect legacy file
* LogListControls: allow options change with controls enabled in panel editor
* LogLine: apply no-highlighting class to ansi wrapper
* LogListControls: add frontend level filtering
* LogList: filter by filterLevels
* LogListControls: allow filterLevels in dashboards
* LogLine: update unit tests
* LogLineMenu: update unit test
* LogListControls: add unit test
* Revert
* LogList: add unit test
* LogList: add onLogRowHover support
* LogList: test hover events
* LogsPanel: add unit test
* LogLine: use theme color for errors
* LogLine: minor tweak to hover state
* Chore: fix test case name
* LogListControls: add border
* LogListControls: prevent default on wrap toggle click
* LogLine: switch info and debug colors
* ContentOutline + LogControls: sync displayed levels and minor outline improvements
* LogListContext: sync with external filterLevel changes
* Logs: work with arrays of LogLevel and not plain strings
* Fix type
* LogListControl: increase controls size
2025-04-04 14:53:12 +02:00
1db267a6cd
Update React Aria ( #103440 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-04 13:11:26 +01:00
1a988df143
Prometheus: Support new info function in code editor ( #97850 )
...
* first attempt to have info function
* unit test for query modeller
* enable info function in devenv
* fix unit test
* add unit test for info function
* throw error when trying to visualize the info function
* remove visual query support
* Update packages/grafana-prometheus/src/promql.ts
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Update packages/grafana-prometheus/src/querybuilder/parsing.test.ts
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* update info function detail
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2025-04-04 13:50:54 +02:00
49ecd83b87
Dashboard: Ungroup action to remove row or tab ( #103370 )
...
* Dashboard: Ungroup action to remove row or tab
* Update
2025-04-04 12:07:58 +02:00
f96e4e9ad2
Frontend: Remove Angular ( #99760 )
...
* chore(angularsupport): delete feature toggle to disable angular
* feat(angular-support): remove config.angularSupportEnabled
* chore(jest): remove angular from setup file
* chore(angular): delete angular deprecation ui components
* refactor(angular): move migration featureflags into migration notice
* chore(dashboard): remove angular deprecation notices
* chore(annotations): remove angular editor loader
* feat(appwrapper): no more angular app loading
* feat(pluginscatalog): clean up angular plugin warnings and logic
* chore(angular): delete angular app and associated files
* feat(plugins): delete old angular graph plugin
* feat(plugins): delete old angular table panel
* feat(frontend): remove unused appEvent type
* feat(dashboards): clean up angular from panel options and menu
* feat(plugins): remove graph and table-old from built in plugins and delete sdk
* feat(frontend): remove angular related imports in routes and explore graph
* feat(theme): remove angular panel styles from global styles
* chore(i18n): run make i18n-extract
* test(api_plugins_test): refresh snapshot due to deleting old graph and table plugins
* chore(angulardeprecation): delete angular migration notice components and usage
* test(frontend): clean up tests that assert rendering angular deprecation notices
* chore(backend): remove autoMigrateOldPanels feature flag
* chore(config): remove angularSupportEnabled from config preventing loading angular plugins
* chore(graphpanel): remove autoMigrateGraphPanel from feature toggles
* chore(tablepanel): delete autoMigrateTablePanel feature flag
* chore(piechart): delete autoMigratePiechartPanel feature flag
* chore(worldmappanel): remove autoMigrateWorldmapPanel feature toggle
* chore(statpanel): remove autoMigrateStatPanel feature flag
* feat(dashboards): remove automigrate feature flags and always auto migrate angular panels
* test(pluginsintegration): fix failing loader test
* test(frontend): wip: fix failures and skip erroring migration tests
* chore(codeowners): remove deleted angular related files and directories
* test(graphite): remove angular mock from test file
* test(dashboards): skip failing exporter test, remove angularSupportEnabled flags
* test(dashbaord): skip another failing panel menu test
* Tests: fixes pkg/services/pluginsintegration/loader/loader_test.go (#100505 )
* Tests: fixes pkg/services/pluginsintegration/plugins_integration_test.go
* Trigger Build
* chore(dashboards): remove angularComponent from getPanelMenu, update test
* feat(dashboards): remove all usage of AngularComponent and getAngularLoader
* chore(betterer): refresh results file
* feat(plugins): remove PluginAngularBadge component and usage
* feat(datasource_srv): remove usage of getLegacyAngularInjector
* feat(queryeditor): delete AngularQueryComponentScope type
* Chore: removes Angular from plugin_loader
* Chore: remove angular from getPlugin
* Chore: fix i18n
* Trigger Build
* Chore: remove more Angular from importPanelPlugin
* Chore: remove search options warning
* Chore: remove and deprecate Angular related
* chore(angular): remove angular dependencies from core and runtime
* chore(runtime): delete angular injector
* chore(data): delete angular scope from event bus
* chore(plugin-catalog): remove code pushing app plugins angular config page
* chore(yarn): refresh lock file
* chore(frontend): remove ng-loader from webpack configs, remove systemjs cjs plugin
* chore(navigation): remove tether-drop cleanup from GrafanaRouter, delete dependency
* chore(runtime): delete AngularLoader
* chore(betterer): refresh results file
* chore(betterer): fix out of sync results file
* feat(query): fix type and import errors in QueryEditorRow
* test(dashboards): delete skipped angular related tests
* Tests: add back tests and fix betterer
* Tests: fix broken test
* Trigger build
* chore(i18n): remove angular deprecation related strings
* test: clean up connections and plugins catalog tests
* chore(betterer): update results file
---------
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2025-04-04 11:31:35 +02:00
357a296112
Themes: Gloom update ( #103434 )
...
* Themes: Gloom update
* Update
* Fix borders
2025-04-04 10:40:13 +02:00
248db9a644
NoData: Fix panel error when Color scheme is set to "Classic palette (by series name)" ( #103402 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2025-04-04 02:41:59 +03:00
683660fa42
TableNG: Fix column hiding override ( #103327 )
...
* TableNG: Fix column hiding override
* Mark field custom config as optional
---------
Co-authored-by: drew08t <drew08@gmail.com>
2025-04-03 14:54:09 -07:00
d6ec8ab8b1
TableNG [Bug Bash]: Cell inspect and filter on the field level ( #103004 )
...
* fix: cell inspect + filter at the field level, not defaults
* chore: defensive against missing custom config
* chore: reconfigure tests
* hide inspect block if nothing to show
---------
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
2025-04-03 16:28:19 +02:00
72a76721e1
ButtonGroup: Fixes button group for solid buttons ( #103255 )
...
* ButtonGroup: Fixes button group for solid buttons
* Update
* Fix
2025-04-03 14:47:15 +02:00
17d075d81d
Dynamic dashboards: Warn if row or tab title not unique ( #103346 )
...
* warn if row or tab title not unique
* Make i18n-extract
* minor copy
* minor copy update again
2025-04-03 13:31:07 +02:00
3450d243b9
Alerting: Delete permanently deleted alert rules. ( #102960 )
...
* add alertingDeletePermanently ff
* add delete permanently button in Recently deleted page
* use ff to protect delete permanent button column
* update transations and prettier
* invalidate tag and update transalations keys
* add test
* prettier
* refactor test
* restore wrong change in deleteRulerRuleGroupHandler
* update test
* linter
* Alerting: Permanent delete rules code review (#103288 )
* Update feature toggle name and description
* Rename mutation endpoint
* Fix typo and update text to be "permanently delete"
* Update feature toggle and test
* Move delete button into actions column
* generate ff
* address feedback
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2025-04-03 14:18:25 +03:00
50825a8299
TableNG [Bug Bash]: Add onCellFilterAdded buttons back ( #103160 )
...
chore: bring back onCellFilterAdded controls
2025-04-03 12:41:17 +02:00
f277902682
Sidebar: Create a sidebar that can render an extension ( #102626 )
...
* Extension Sidebar: Add missing `web-section` icon
* Extension Sidebar: Add core extension sidebar components
* Extension Sidebar: Integrate extension sidebar into Grafana
* Extension Sidebar: Change extension point to alpha
* Extension Sidebar: Fix saved state of docked extensions
* Extension Sidebar: Delete from local storage if undocked
* Extension Sidebar: Move main scrollbar from body to pane
* Extension Sidebar: Expose `ExtensionInfo`
* Extension Sidebar: Move `useComponents` into ExtensionSidebar
* Extension Sidebar: Store selection in `localStorage`
* Extension Sidebar: Simplify return of extension point meta
* Extension Sidebar: Ensure `body` is scrollable when sidebar is closed
* Extension Sidebar: Add missing `GlobalStyles` change
* Extension Sidebar: Don't render `ExtensionSidebar` unless it should be open
* Extension Sidebar: Better toggle handling
* Extension Sidebar: Fix wrong header height
* Extension Sidebar: Change `getExtensionPointPluginMeta` to use `addedComponents` and add documentation
* Extension Sidebar: Add tests for `getExtensionPointPluginMeta`
* Extension Sidebar: Add tests for `ExtensionSidebarProvider`
* Extension Sidebar: Fix tests `ExtensionSidebarProvider`
* Extension Sidebar: Add tests `ExtensionToolbarItem`
* Extension Sidebar: Add `extensionSidebar` feature toggle
* Extension Sidebar: Put implementation behind `extensionSidebar` feature toggle
* update feature toggles
* fix lint
* Extension Sidebar: Only toggle if clicking the same button
* Extension Sidebar: Hide sidebar if chromeless
* Update feature toggles doc
* Sidebar: Add `isEnabled` to ExtensionSidebarProvider
* Extension Sidebar: Use conditional CSS classes
* Extension Sidebar: Move header height to GrafanaContext
* Sidebar: Adapt to feature toggle change
* Sidebar: Remove unused import
* Sidebar: Keep featuretoggles in ExtensionSidebar tests
* ProviderConfig: Keep `config` import in tests
* FeatureToggles: adapt to docs review
* fix typo
2025-04-03 12:16:35 +02:00
5bc053730b
Dashboard: Scroll to panel for custom grid ( #103270 )
2025-04-03 10:35:34 +02:00
7165bc553a
CloudMigrations: Add Cypress happy path test case scenarios ( #103250 )
2025-04-03 10:34:32 +02:00
4918d8720c
Dashboard Restore: Remove experimental functionality under feature flag dashboardRestore
for now - this will be reworked ( #103204 )
2025-04-03 02:52:54 -05:00
6a699b69ba
AWS: Add flag for multitenant temp credentials ( #103307 )
2025-04-02 16:25:50 -04:00
dc0083d879
Alerting: Sequential evaluation of rules in group ( #98829 )
...
* introduce RulesGroupComparer
* extract runJob method
* implement sequential evaluation
* Make sequence building testable & add comments
* Also run callback in recording rules + add tests
* Improve tests
* Address PR comments
---------
Co-authored-by: William Wernert <william.wernert@grafana.com>
2025-04-02 23:10:32 +03:00
0e1cb44ad9
Dynamic Dashboard: Redesign conditional rendering [2] ( #103112 )
2025-04-02 20:50:36 +03:00
15330c3e66
NodeGraph: Add node graph algorithm layout option ( #102760 )
...
* Add layout buttons
* Add config for node graph panel
* Tests
* Update test
* Updates
* Move grid button and cache nodes
* Remove limit and add warning
* Update default
2025-04-02 15:56:22 +01:00
17d089d38a
Schema V2: Use App SDK generated types ( #103100 )
...
* Use App SDK generated types
* Move examples
* Merge fix
* PAth updates
2025-04-02 16:22:24 +02:00
3b73ebb210
Azure Monitor: Add logs query builder ( #99055 )
2025-04-02 08:15:25 -06:00
b1c6121e78
Dynamic Dashboards: Add drag and drop for tabs and rows ( #103216 )
2025-04-02 16:52:53 +03:00
332f041c91
Chore: Promote pluginsDetailsRightPanel to general availability ( #103269 )
...
Chore: Promote pluginsDetailsRightPanel to general availability and deafult
2025-04-02 14:34:18 +02:00
9ea1c203e6
Plugin Extensions: Move observable extension apis from the unstable entrypoint ( #103271 )
...
feat(grafana-runtime): move observable extension apis from /unstable to /
2025-04-02 14:42:28 +03:00
135fbf6258
data sources: feature toggle: route explore queries to the new query service ( #103192 )
...
* data sources: route explore queries to the new query service
* prettier fix
* easier to read logical statement
2025-04-02 12:00:33 +02:00
4582a45b93
TableNG: Fix sorting ( #103215 )
...
* wip sorted rows
* Move rowIdx calculation to TableNG top level
* Remove old unused props
---------
Co-authored-by: drew08t <drew08@gmail.com>
2025-04-01 11:28:34 -07:00
d04e14cf9e
Grafana UI: Hide CollapsableSection children instead of unmounting based on unmountContentWhenClosed
prop ( #102937 )
2025-04-01 12:10:30 -03:00
bfc6e07140
PanelChrome: Click inside also selects panel ( #103168 )
2025-04-01 16:46:21 +02:00
1aea65f6d5
X-Ray: Add toggle for application signals ( #103054 )
...
X-Ray: add toggle for application signals
2025-04-01 10:42:02 -04:00
5098015467
Chore: Enable external core plugins feature toggle by default ( #102209 )
...
* Turning externalCorePlugins on by default
* enable externalCorePlugins feature toggle by default
* fixing generated toggles ts
2025-04-01 17:00:44 +03:00
03c894489c
Chore: Enabling failWrongDSUID by default in Grafana 12 ( #102192 )
...
* enabling failWrongDSUID by default in Grafana 12
* making reviewdog happy
* generating feature toggle files
2025-04-01 14:59:32 +02:00