Commit Graph

21943 Commits

Author SHA1 Message Date
Ashley Harrison
b3401c802c
EmptyState: make "message" a required prop (#86029)
* make "message" a required prop on EmptyState

* run i18n:extract
2024-04-12 13:13:28 +01:00
Leon Sorokin
2bedbcf344
TimeSeries: Fix series rendering with data links and extra fields (#86007) 2024-04-12 14:11:22 +02:00
renovate[bot]
c2a81f3020 Update react monorepo 2024-04-12 11:58:02 +00:00
Andre Pereira
1a62d94c55
Tempo: Return raw result from traceql query (#86032)
Return raw result from traceql query
2024-04-12 12:26:27 +01:00
github-actions[bot]
5ea7a1eefd
I18n: Download translations from Crowdin (#86030)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-12 10:38:51 +00:00
renovate[bot]
63d63ea9fb Update dependency @testing-library/react to v15.0.1 2024-04-12 10:27:38 +00:00
Krishna Dhakal
068bcfbdb0
Frontend Testing: Replace deprecated toBeCalledWith Jest matcher. (#85929) 2024-04-12 11:26:01 +01:00
Ashley Harrison
40c148ba48
EmptyState: Provide custom messages for existing empty states (#86021)
provide custom messages for existing empty states
2024-04-12 11:08:14 +02:00
Tom Ratcliffe
ce5fc59d54 Use ActiveTab type for custom hook 2024-04-12 09:13:29 +01:00
Tom Ratcliffe
ccaf850c09 Refactor to useTabQueryParam 2024-04-12 09:13:29 +01:00
Tom Ratcliffe
d91e1a4e3a Refactor tab query param logic and add tests 2024-04-12 09:13:29 +01:00
Tom Ratcliffe
800a2e0228 Fix tests being stateful due to locationService 2024-04-12 09:13:29 +01:00
Tom Ratcliffe
94ad66998f Send tab query param through when returning from template save 2024-04-12 09:13:29 +01:00
Tom Ratcliffe
933cc3f075 Tweak ContactPoints to use query param for tab selection 2024-04-12 09:13:29 +01:00
Adela Almasan
eb86fd867f
Canvas: Update new element type with rotation (#85690) 2024-04-11 15:36:33 -05:00
renovate[bot]
51d5a4c8f2
Update dependency @testing-library/dom to v10 (#85958)
* Update dependency @testing-library/dom to v10

* update @testing-library/react as well

* fix unit tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-11 17:29:35 +02:00
Darren Janeczek
34875344ed
datatrails: fix: clear undefined query params on history step change (#85607)
* fix: clear undefined query params on history step change

* Minor tweak

* fix: resolve CodeQL check: Client-side cross-site scripting

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2024-04-11 09:52:33 -04:00
renovate[bot]
1ed3dc22d5 Update react monorepo 2024-04-11 08:47:05 +00:00
Josh Hunt
c024d51a38
Chore: Remove a buncha stuff from Sandbox TestStuffPage (#85876) 2024-04-11 09:40:30 +01:00
Darren Janeczek
2e1e45bbb1
datatrails: ensure breakdown yaxis sync is maintained when layout changes (#85380)
fix: ensure breakdown yaxis sync is maintained when layout changes
2024-04-10 17:12:33 -04:00
Tom Ratcliffe
a852b70953 Fix console.errors from edit group modal tests 2024-04-10 19:13:41 +01:00
Tom Ratcliffe
fff524b54c Make quick eval buttons in group edit set dirty state on form and handle invalid case 2024-04-10 19:13:41 +01:00
Tom Ratcliffe
584d2bcb91 Remove useEffect that was setting incorrect display value for pending period 2024-04-10 19:13:41 +01:00
Sergej-Vlasov
79631bdd15
DashboardScene: prevent panel hovel header crop with scenes (#85869)
* add behaviour that adjusts hoverHeaderOffset

* clean up behaviour logic

* optimise and extract behaviour to separate file

* fix hoverHeaderOffsetBehavior unsubscribe

* update to latest scenes version

* Fix PanelOptionsTest

* fix: test value for adhoc filter url param

* Fix transformation tab tests

* bump scenes version

* Revert "Fix transformation tab tests"

This reverts commit 3ec9f5b226.

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com>
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
2024-04-10 20:39:43 +03:00
Armand Grillet
212acb9bc5
Alerting: clarify alerting silences (#85853)
* Clarify alerting silences

* Update docs/sources/alerting/configure-notifications/create-silence.md

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>

---------

Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
2024-04-10 18:30:21 +02:00
linoman
85e66d8edb
Chore: Fix position for RolePickerMenu being out of bounds (#85604)
* Fix position for RolePickerMenu being out of bounds

* adjust the offset of the role picker menu
2024-04-10 17:51:50 +02:00
Dominik Prokop
483dc02b68
Remove repeating responsibility from LibraryVizPanel (#84879)
* Remove repeating responsibility from LibraryVizPanel

* Improvements
2024-04-10 17:46:42 +02:00
Dominik Prokop
615fa73f23
DashboardScene: Enrich requests correctly in edit mode (#85883) 2024-04-10 17:38:37 +02:00
renovate[bot]
b1ad46e426 Update dependency @types/node to v20.12.7 2024-04-10 15:26:09 +00:00
Kristina
60edd988ac
Explore: Skip flaky test (#85878)
Skip flaky test
2024-04-10 16:05:07 +02:00
Ashley Harrison
3c69de6be5
Chore: removing some type assertions (#85839)
* fix some type assertions in loops

* some more cleanup

* some alerting fixes

* put comments in correct place to ignore rule

* couple more

* undo SilencesFilter changes
2024-04-10 14:54:31 +01:00
Sergej-Vlasov
33b6f45a9e
Revert "DashboardScene: prevent panel hovel header crop with scenes" (#85865)
Revert "DashboardScene: prevent panel hovel header crop with scenes (#85780)"

This reverts commit 23f1732855.
2024-04-10 16:27:53 +03:00
Kristina
98c575d28f
Explore: Query history should gracefully handle undefined exploreId on run button (#85821)
* Gracefully handle undefined exploreId on run button

* Add test
2024-04-10 07:21:29 -06:00
Sergej-Vlasov
23f1732855
DashboardScene: prevent panel hovel header crop with scenes (#85780)
* add behaviour that adjusts hoverHeaderOffset

* clean up behaviour logic

* optimise and extract behaviour to separate file

* fix hoverHeaderOffsetBehavior unsubscribe

* update to latest scenes version

* Fix PanelOptionsTest

* fix: test value for adhoc filter url param

* Fix transformation tab tests

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com>
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
2024-04-10 15:39:51 +03:00
Tobias Skarhed
c602d9d6ad
News: Change from h3 to h2 (#85858)
Change from h3 to h2
2024-04-10 14:00:25 +02:00
github-actions[bot]
3c8519816c
I18n: Download translations from Crowdin (#85797)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-10 11:22:53 +00:00
Josh Hunt
f484519784
E2C: Refactor on-prem ConnectModal (#85799)
* Refactor on-prem ConnectModal to not use ModalProvider

* fix
2024-04-10 10:07:52 +01:00
renovate[bot]
77c97f69a9
Update opentelemetry-js monorepo (#85337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 09:28:20 +01:00
Oscar Kilhed
96abe65fe4
Dashboard scenes: Fix export tab not including variables when exporting externally (#85807)
Fix export tab not including variables when exporting externally
2024-04-09 20:39:30 +02:00
Darren Janeczek
66c0fd4dcc
chore: update datatrails feature flag and enable (#85508)
* chore: update datatrails feature flag and enable

* fix: rename `datatrails` feature flag to `exploreMetrics`
2024-04-09 14:15:18 -04:00
Victor Marin
b6249d6a50
Check source panel for updates in Dashboard DS panel (#85655)
* Check source panel for updates in Dashboard DS panel

* Test

* made it better

* cleanup

* cleanup and tests

* fix failing tests

* find the correct dashboard query

* revert mixed check in dashboard behaviour

* Dashboard data source: Return error when used in mixed data source (#85765)

* MixedDS: Inform about dashboard ds not being supported

* lint fix

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-04-09 20:59:37 +03:00
Tobias Skarhed
c7e4baff75
Explore: Add h1 for screen readers (#85794)
* Add h1 in Explore for screen readers

* Add i18n

* Move to ExplorePage
2024-04-09 18:15:44 +02:00
Ieva
9a2969fb4f
RBAC: hide save button for users who can't save dashboard (#85758)
hide save button for users who can't save dashboard
2024-04-09 17:09:41 +01:00
Ivan Ortega Alba
27bc0c19ab
DashboardScene: Detect changes when editing a panel (#85708) 2024-04-09 18:48:10 +03:00
Laura Fernández
88f116e96b
CSS: use prefers-reduced-motion to let users skip animations (#85450) 2024-04-09 15:27:28 +02:00
Kristina
5305316f5a
Explore: Move Query History to be screen wide (#84321)
* WIP

* Use splitpanewrapper for drawer

* Get rich history pulling from multiple datasources

* highlight pane

* Fix datasource data handling

* create ds/explore map, move around ds lookup

* Handle no filters

* Fix tests and some errors

* Fix context menu issue

* (Poorly) enable scrolling, fix onClose to function

* Remove highlighting, use legacy key, fix casing

* fix filtering to handle non-simple data

* Fix linter, add translations

* Fixing tests~~

* Move to explore drawer and fix some more tests

* Kinda fix drawer stuff?

* Fix remaining card tests

* Fix test

* Fix tests

* Partially fix starred tab tests

* Fix integration tests

* Fix remaining tests 🤞

* Add a test and a clarifying comment behind a couple hooks

* Remove unused code

* Fix button styling and fix animation (but break width)

* Make Drawer using parent width (100%)

* Fix tests and some small catches

* Add tests for selectExploreDSMaps selector

---------

Co-authored-by: Piotr Jamroz <pm.jamroz@gmail.com>
2024-04-09 07:36:46 -05:00
kay delaney
02096c4e22
Dashboards: Add isViewing to mustKeepProps (#85748) 2024-04-09 10:33:59 +00:00
Hugo Kiyodi Oshiro
b200156a01
Plugins: Show update buttons when instance version is different (#85486) 2024-04-09 10:32:34 +02:00
Ivan Ortega Alba
df72cfd38e
Dashboard: Move "add" actions into a dropdown (#85776)
* Move all add actions into a dropdown

* Hide alerts rules when editing

* Hide fav icon when editing
2024-04-09 11:09:37 +03:00
Sonia Aguilar
e234d098e9
Alerting: Get oncall metada only when we have alert manager configuration data (#85622)
* Get oncall metada from url in settings only when we have alert manager configuration

* Add test in useContactPointsWithStatus hook

* Fix tests
2024-04-09 09:02:44 +02:00