3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-14 09:33:34 -06:00
Commit Graph

22427 Commits

Author SHA1 Message Date
Torkel Ödegaard
e735573852
DashboardScene: Fixes issue with some query editors to not adapt to width changes ()
DashboardScene: Fixes issue with panel editor causing moncao query editors to not adapt to width changes
2024-06-05 08:14:45 +02:00
github-actions[bot]
9bbf96d9e6
I18n: Download translations from Crowdin ()
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 19:16:36 +03:00
Matias Chomicki
1cfb21a74c
Logs: improve deduplication supporting code and fix duplicated frames ()
* Logs: change refId approach to deduplicate infinite scrolling rows

* Chore: update tests

* chore: add comment

* Prettier
2024-06-04 19:09:33 +03:00
Andrej Ocenas
048194597f
Explore: Align time filters properly to day boundaries in query history () 2024-06-04 15:04:36 +02:00
renovate[bot]
b8cd5bb57c
Update dependency @types/node to v20.14.1 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 13:58:08 +01:00
Sarah Zinger
4d002d85f9
Cloudwatch Logs: Fix bug where we did not return errors to user () 2024-06-04 08:43:36 -04:00
Sonia Aguilar
2090270a13
Gops: Fix data field in incidents query ()
Remove data field in incidents query
2024-06-04 14:42:56 +02:00
Joey
a52f99246f
Tempo: Send current filters when retrieving tags for AdHocFilters ()
* Send current filters when retrieving tags

* Tests

* Syntax update

* Update if
2024-06-04 13:20:06 +01:00
Laura Benz
adbb005d38
RestoreDashboards: Populate page ()
* feat: add search input and filters

* feat: add state management v0

* feat: update search view and add to trash page

* refactor: fix some errors

* feat: page population

* feat: fix error

* Run betterer checks locally

* Run i18n abstraction

* refactor: clean up after merging main

* refactor: clean up after merging main

* Run i18n abstraction

* refactor: remove browse view
2024-06-04 12:08:18 +02:00
github-actions[bot]
783aa1c0b4
I18n: Download translations from Crowdin ()
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 09:40:54 +00:00
Sven Grossmann
2fb63cd2e6
Loki: Fix editor history in wrong order () 2024-06-04 11:40:04 +02:00
Ashley Harrison
3f7017a471
Chore: Remove nestedFolderPicker toggle ()
remove nestedFolderPicker toggle
2024-06-04 12:16:12 +03:00
Josh Hunt
407bbe1f4b
Keybinds: Vendor Mousetrap ()
* vendor mousetrap

* fix js lint errors

* name to .ts - start refactoring to typescript

* refactor Mousetrap to valid typescript

rename local functions/variables
update types of CallbackInfo
Specify MouseCallback and cleanup types

* Use vendored mousetrap

* use vendored mousetrap

* add globalBind, and remove dependency on external mousetrap

* Update public/app/core/services/keybindingSrv.ts

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>

---------

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2024-06-04 09:35:19 +01:00
Ashley Harrison
1cb701c304
Chore: Move Switch SCSS to emotion/angular ()
move switch scss to emotion/angular
2024-06-04 09:34:38 +01:00
Sonia Aguilar
88a2485cc2
Alerting: Update translations in GrafanaEvaluationBehaviour component ()
* Update translations

* Fix key in translations

* Interpolate point char in the Trans children text

* Use interpolation correctly in Trans component
2024-06-04 11:19:53 +03:00
github-actions[bot]
dca8ba7acd
I18n: Download translations from Crowdin ()
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 08:18:10 +00:00
Oscar Kilhed
0f89f4b2d2
Grafana UI: stop input element of the react select component from overflowing and causing layout issues. ()
* Grafana UI: stop input element of the react select component from overflowing the input container

* update snapshot since the css changed

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-06-04 10:13:43 +02:00
Laura Benz
b6bd9e5352
Laura/refactor/rename trash section ()
* refactor: move and rename page component

* refactor: change codeowners

* refactor: change naming in backend

* refactor: change wording of subtitle
2024-06-04 10:03:33 +03:00
ismail simsek
f458e57523
InfluxDB: Fix custom variable support ()
* fix variable support

* prettier
2024-06-03 23:47:27 +03:00
Leon Sorokin
87cafbf9af
XYChart2: Implement color-by-field () 2024-06-03 11:53:59 -05:00
EduardZaydler
dbec8465e5
Graphite: Fix splitting expressions in tag_value with template variables ()
fix spilitting expressions in tag_value with template variables
2024-06-03 09:27:14 -05:00
github-actions[bot]
034a43d066
I18n: Download translations from Crowdin () 2024-06-03 14:49:07 +01:00
Pepe Cano
2a8a6d755f
Alerting: update Set evaluation behavior text ()
* Alerting: update `Set evaluation behavior` text

* Update `Evaluation group` description for the `Evaluation group` modal view
2024-06-03 15:41:34 +02:00
Alexa V
e147c58a7b
Dashboard: Fix Variables query hides fields with non-supported datasources ()
* Show queryVariable editor even if the variable does not support variables

* Fix VariableQueryRunner unit test, now takes into account the new function
2024-06-03 13:58:30 +02:00
Tobias Skarhed
44ca89fe77
KeyboardShortcuts: Support panel attention for scenes ()
* Support panel attention for scenes

* Remove console.log

* Bump scenes version for good measure

* Mock appEvents

* Remove unused import
2024-06-03 12:49:13 +02:00
Ashley Harrison
e781716a38
Chore: move PageHeader component to angular folder ()
move page-header component to angular folder, scss to angular.scss
2024-06-03 11:47:47 +01:00
ismail simsek
c73bbf19a1
InfluxDB: Introduce maxDataPoints setting for flux variable query editor ()
* Introduce custom variable support

* Remove comment lines

* introduce maxDataPoints

* fix tests

* update

* fix unit tests

* remove new line
2024-06-03 12:09:33 +03:00
Victor Marin
e86784200a
Create lib panel and replace it in scene ()
* Create lib panel - also replace it in scene

* refactor

* refactor

* refactor
2024-06-03 11:02:41 +03:00
Nathan Marrs
9e82c85849
Canvas: Chore fix *remaining* betterer issues () 2024-05-31 13:33:31 -07:00
Tom Ratcliffe
dfd64ed469
Alerting: Ensure we fetch AM config before saving new configuration () 2024-05-31 17:19:01 +02:00
Bruno
33b9544047
Cloud migrations: create route to delete token ()
* Cloud migrations: create route to delete token

* gcom.DeleteToken returns ErrTokenNotFound instead of a boolean

* remove unnecessary comment

* make openapi3-gen && yarn run rtk-query-codegen-openapi ./scripts/generate-rtk-apis.ts

* gcom stub: implement DeleteToken
2024-05-31 10:03:43 -03:00
Bruno
83543c6b12
Cloud migrations: create route to fetch cloud migration token ()
* Cloud migration: create route to fetch cloud migration token

* implement gcomStub.ListTokens

* fix swagger for POST /cloudmigration/migration

* fix swagger for POST /cloudmigration/migration

* fix swagger for POST /cloudmigration/migration
2024-05-31 09:39:10 -03:00
Piotr Jamróz
ce23a455c3
Explore: Show a modal to edit query template before saving it ()
* Create a mock modal

* Add basic form handling

* Update tests

* Extract translations

* Disable auto-star switch

* Keep disabled input uncontrolled
2024-05-31 11:55:01 +02:00
Ashley Harrison
8c88f605e4
Chore: Migrate some more scss styles ()
* migrate some more styles

* migrate typeahead styles

* migrate tagsinput styles
2024-05-31 10:04:25 +01:00
Jon Cole
ba4c1fcf76
AzureMonitor: Retrieve Azure clouds from SDK ()
* AzureMonitor: get the list of azure clouds from the SDK instead of from a hard coded list

* add azure-sdk to yarn.lock

* merge legacy with custom options

* Normalize legacy cloud names

* Workaround: send new credential format to backend while we wait to migrate to the new format

* Lint fix

* resolveLegacyCloudName should not return undefined

* re-add undefined handling in resolveLegacyCloudName so that we fallback to getDefaultAzureCloud when not defined

---------

Co-authored-by: Jeremy Angel <jeremyangel@microsoft.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-05-30 23:40:05 +01:00
Drew Slobodnjak
1c339db7ad
Geomap: Improve Pan and Zoom Performance ()
* Geomap: Improve pan and zoom performance

* Remove unused code
2024-05-30 14:41:59 -07:00
Nick Richmond
7ec93edec1
ExploreMetrics: Adjust wording to improve clarity ()
refactor: change wording add clarity
2024-05-30 16:00:57 -04:00
Nick Richmond
fddf77ee35
CodeEditor: Fix broken styles ()
* fix: remove erroneous container

* fix: update selector

* fix: pass data attrs via `wrapperProps`

* fix: ensure `toBeInTheDocument` checks have unique markup
2024-05-30 20:34:00 +03:00
Ivan Ortega Alba
c5ae0bbba2
Scenes: Update to latest 4.23.1 -> 4.24.4 ()
# v4.24.4 (Thu May 30 2024)

#### 🐛 Bug Fix

- `@grafana/scenes`
  - VizPanelRenderer: Emit SetPanelAttention event [](https://github.com/grafana/scenes/pull/716) ([@tskarhed](https://github.com/tskarhed))

#### Authors: 1

- Tobias Skarhed ([@tskarhed](https://github.com/tskarhed))

---

# v4.24.3 (Thu May 30 2024)

#### 🐛 Bug Fix

- `@grafana/scenes`
  - Macros: Resolve browser timezone for `$__timezone` [](https://github.com/grafana/scenes/pull/759) ([@ivanortegaalba](https://github.com/ivanortegaalba))
  - Variables: Prioritize showing adhoc variable key and operator [](https://github.com/grafana/scenes/pull/750) ([@oscarkilhed](https://github.com/oscarkilhed))

#### Authors: 2

- Ivan Ortega Alba ([@ivanortegaalba](https://github.com/ivanortegaalba))
- Oscar Kilhed ([@oscarkilhed](https://github.com/oscarkilhed))

---

# v4.24.2 (Wed May 29 2024)

#### 🐛 Bug Fix

- `@grafana/scenes`
  - MultiValueVariable: Fixes issue when value is all value but all value is not enabled [](https://github.com/grafana/scenes/pull/757) ([@torkelo](https://github.com/torkelo) [@ivanortegaalba](https://github.com/ivanortegaalba))

#### Authors: 2

- Ivan Ortega Alba ([@ivanortegaalba](https://github.com/ivanortegaalba))
- Torkel Ödegaard ([@torkelo](https://github.com/torkelo))

---

# v4.24.1 (Tue May 28 2024)

#### 🐛 Bug Fix

- Plugin.json: update schema reference URL in scenes-app [](https://github.com/grafana/scenes/pull/754) ([@leventebalogh](https://github.com/leventebalogh))
- `@grafana/scenes`
  - Allow drag and dropping rows in valid states [](https://github.com/grafana/scenes/pull/756) ([@mdvictor](https://github.com/mdvictor))
  - fix: undefined check on RefreshPicker.autoOption [](https://github.com/grafana/scenes/pull/751) ([@darrenjaneczek](https://github.com/darrenjaneczek))

#### Authors: 3

- Darren Janeczek ([@darrenjaneczek](https://github.com/darrenjaneczek))
- Levente Balogh ([@leventebalogh](https://github.com/leventebalogh))
- Victor Marin ([@mdvictor](https://github.com/mdvictor))

---

# v4.24.0 (Mon May 27 2024)

#### 🚀 Enhancement

- `@grafana/scenes`
  - SceneFlexLayout: Min width/height option was ignored [](https://github.com/grafana/scenes/pull/749) ([@edvard-falkskar](https://github.com/edvard-falkskar))

#### Authors: 1

- Edvard Falkskär ([@edvard-falkskar](https://github.com/edvard-falkskar))

---
2024-05-30 15:02:31 +02:00
renovate[bot]
fabed77d1f Update dependency css-loader to v7.1.2 2024-05-30 12:44:55 +00:00
Gilles De Mey
f6a1ed3581
Alerting: Replace Strong component () 2024-05-30 13:05:37 +02:00
Konrad Lalik
93870c1cd8
Alerting: Use new endpoints to fetch single GMA rule on view and edit pages () 2024-05-30 12:55:06 +02:00
renovate[bot]
0c572e8db7 Update dependency @types/node to v20.12.13 2024-05-30 10:45:34 +00:00
Gilles De Mey
b7db268798
Alerting: Correctly handle duplicating notification templates ()
Co-authored-by: Alex Petrov <alex.petrov.vt@gmail.com>
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
Co-authored-by: Alex Petrov <apetrov@fastly.com>
2024-05-30 12:43:03 +02:00
renovate[bot]
c5c38b57c4 Update dependency @types/lodash to v4.17.4 2024-05-30 09:52:46 +00:00
Sonia Aguilar
650f291054
Gops: Fix incidents url adding plugin twice in it ()
Fix incidents url adding plugin twice in it
2024-05-30 11:05:20 +02:00
Yasir Ekinci
56a544668f
DashboardAI: Reformat prompts to have a single system prompt () 2024-05-30 02:46:05 -06:00
Tom Ratcliffe
5bb7d4da4c
Alerting: Remove regex reference in silences filter tooltip () 2024-05-30 09:05:34 +01:00
Bogdan Matei
011becb39e
Scopes: Use Grafana namespace instead of default () 2024-05-29 23:48:17 +03:00
Nick Richmond
7334f71e09
CodeEditor: Improved styles when the code editor is loading ()
* fix: monaco loading state

* chore: betterer

* test: leverage e2e selectors

* refactor: prefer HOC to wrap with testid

* refactor: add clarity

* docs: add clarity

* refactor: loading messaging

* test: rename vars to improve clarity

* test: rename vars to improve clarity
2024-05-29 15:55:18 -04:00