Kristina
1afd278bd0
Fix tests for Explore - ErrorContainer, MetaInfoText & cleanup ( #46744 )
...
* Move ErrorContainer.test.tsx to RTL
* Remove snapshots and unnecessary tests, change enzyme tests to RTL
* Add fixes to tests
2022-03-18 14:44:51 -05:00
Ryan McKinley
15ca294be0
Dashboards: show changes in save dialog ( #46557 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-03-16 09:28:09 -07:00
Karl Persson
7966e3583e
Access control: Dashboard and folder permissions frontend ( #45094 )
2022-03-03 15:18:27 +01:00
Giordano Ricci
09f48173fe
Explore: allow users to save Explore state to a new panel in a new dashboard ( #45148 )
...
* Add Button & Form
* Save to new dashboard
* minor adjustements
* move modal to a separate component
* handle dashboard name related errors
* pick visualization based on query results
* lift state
* fix types
* Add Open & Close tests
* Add submit test
* add navigation tests
* add tests for API errors
* remove console log
* create wrapper component for AddToDashboardButton
* remove unused mapped prop
* add wrapper test
* rename isActive to isVisible
* invert control over save & redirect logic
* remove leftover commented code
* cleanup setup parameters
* reorganize code & improve tests
* Remove option to add to existing dashboard
* UI tweaks
* disable button if no queries
* Fix tests
* better accessible tests
* handle submission errors
* improve addToDashboard types
* use dashboardSrv' saveDashboard
* remove leftover test helper
* fix typo
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Apply suggestions from code review
Co-authored-by: Kristina <kristina.durivage@grafana.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Kristina <kristina.durivage@grafana.com>
2022-03-03 08:54:06 +00:00
Connor Lindsey
9067715d1d
UI: Add focus styles to QueryField component ( #45933 )
...
* Add focus styles to QueryField component
2022-03-02 16:33:14 +01:00
Andres Martinez Gotor
d4b05f9421
AzureMonitor: Remove deprecated configuration parameters ( #45860 )
2022-03-02 15:42:30 +01:00
Shachi Solanki
190757b3c6
Tempo / Trace Viewer: Support Span Links in Trace Viewer ( #45632 )
...
* Support Span Links in Trace Viewer
* Update ReferencesButton styles
* Remove datasource prop
Co-authored-by: Connor Lindsey <cblindsey3@gmail.com>
2022-02-25 11:14:13 -07:00
Giordano Ricci
9307cc86f2
UI: Improve modal a11y by setting role & using title as label ( #45472 )
...
* UI: Improve modal a11y by setting role & using title as label
* remove wrapping div for cutom title components
* Fix typo
2022-02-22 14:12:34 +00:00
kay delaney
d134740bba
Redux: Factor Invites out to separate slice ( #45552 )
2022-02-21 11:37:49 +00:00
Hugo Häggmark
c6470be34c
Chore: Replace enzyme with RTL in ConfirmModal.test.tsx ( #45651 )
2022-02-21 08:25:52 +01:00
Hugo Häggmark
2f63d7b1c4
Chore: Replace enzyme with RTL in BigValue.test.tsx ( #45650 )
2022-02-21 08:21:06 +01:00
Hugo Häggmark
dbec2b02fd
Variables: move state tree into a keyed state ( #44642 )
...
* Variables: move state tree into a keyed state
* Update public/app/features/variables/state/transactionReducer.ts
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Chore: fix prettier error
* Chore: renamed slices and lastUid
* Chore: rename toUidAction
* Chore: rename dashboardVariableReducer
* Chore: rename state prop back to templating
* Chore renames variable.dashboardUid
* Chore: rename toDashboardVariableIdentifier
* Chore: rename getDashboardVariable
* Chore: rename getDashboardVariablesState
* Chore: rename getDashboardVariables
* Chore: some more renames
* Chore: small clean up
* Chore: small rename
* Chore: removes unused function
* Chore: rename VariableModel.stateKey
* Chore: rename KeyedVariableIdentifier.stateKey
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-02-18 06:06:04 +01:00
Connor Lindsey
6e07b30048
Chore: Clean up logs and deprecated library in tracing tests ( #45486 )
...
* Fix logs and errors from tracing tests
* Refactor SpanBar to remove recompose
* Fix NodeGraph tests
2022-02-17 16:34:16 +01:00
Hugo Häggmark
ae8c8a2910
Chore: Replace enzyme with RTL ( #45434 )
2022-02-16 00:49:06 -08:00
Hugo Häggmark
5760a18da5
Chore: Replace enzyme with RTL in OrgSwitcher.test.tsx ( #45439 )
2022-02-16 00:48:13 -08:00
Hugo Häggmark
6584735bef
Chore: Replaces enzyme with RTL in ConfirmButton.test.tsx ( #45435 )
2022-02-16 09:46:46 +01:00
Marcus Andersson
9a12b3ea00
TemplateSrv: exposing a function to detect if a target contains a template ( #45214 )
...
* exposing a function to check if a target contains variables.
* fixed tests.
* renamed function
* updated betterer result.
2022-02-15 08:53:42 +01:00
Piotr Jamróz
e7605ad974
Query History: Split data and view models ( #44922 )
...
* Remove unused properties
* Fix unit tests
* Fix unit tests
* Split data models
* Simplify updating items in rich history
* Update tests
* Fix starring an item and add a unit test
* Move the converter to a separate file and add unit tests
* Convert a private function to an inline function
* Add more docs and clean up the code
* Update public/app/core/history/localStorageConverter.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Update public/app/core/utils/richHistory.test.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Use template literals over explicit casting
* Split updateRichHistory to three separate functions
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2022-02-10 13:59:43 +01:00
Hugo Häggmark
192572174e
Chore: Removes console output LogDetails.test.tsx and refactors to RTL ( #45193 )
2022-02-10 11:06:29 +01:00
Ashley Harrison
d3d7411e36
Chore: Add betterer test to track conversion of enzyme tests ( #45055 )
...
* Add betterer test for number of enzyme tests
* emit metric for number of enzyme tests
* update frontend metrics script
* Merge...
* Switch order of betterer/lint
* Update version of betterer
* kick levitate
* Update lockfile
2022-02-09 12:41:39 +00:00