Hugo Häggmark
fbd68c4e96
Dashboard: Fix repeats in snapshots ( #41018 )
2021-10-28 10:52:01 +02:00
Hugo Häggmark
fadf72dd34
DashboardLinks: Fix time in links not being updated ( #40934 )
2021-10-27 07:11:24 +02:00
Hugo Häggmark
c70cfe9125
LibraryElements: fixes flaky tests ( #40791 )
2021-10-22 09:19:25 +02:00
09bb890092
WIP Chore: reduce strict errors ( #40462 )
...
* Chore: reduce strict error in ngReact
* Chore: reduce strict errors for ShareModal
* Chore: reduce strict errors in VersioHistory
* Chore: reduce strict error in ExpressionDatasource
* Chore: reduce strict error in DashboardWatcher
* Chore: reduce strict error in PluginPage
* Chore: reduce strict errors for guard
* Chore: update threshold
* Chore: reduce strict errors in Graph
* Chore: reduce threshold
* Apply suggestions from code review
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
* Chore: reduce strict errors in TimeSeries
* Chore: reduce threshold
* Chore: reduce strict errors in polyfill
* Chore: reduce threshold
* Chore: update after PR comments
* Update public/app/features/plugins/PluginPage.tsx
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* Update public/app/features/plugins/PluginPage.tsx
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* Chore: changes after PR comments
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2021-10-15 08:57:55 +02:00
Hugo Häggmark
31d50f931d
Chore: Reduces strict errors in DashboardPickerByID ( #40431 )
...
* Chore: Reduces strict errors in DashboardPickerByID
* Chore: updates after PR comments
* Chore: fix for undefined strict error
2021-10-14 10:20:04 +02:00
Hugo Häggmark
a981ea22fb
A11y: Fix fastpass issues for share modal ( #40386 )
2021-10-14 07:13:15 +02:00
Hugo Häggmark
a512dcf1bb
A11y: Fix fastpass issues for annotation/variables settings ( #40364 )
...
* A11y: Fix fastpass issues for annotation/variables settings
* Chore: fixes fastpass for annotations
* Chore: updates after PR comments
* Chore: readd div
2021-10-13 15:21:34 +02:00
Hugo Häggmark
30c1e7fa5c
A11y: Fix fastpass issues for /explore with gdev-testdata ( #40309 )
...
* A11y: Fix fastpass issues for /explore with gdev-testdata
* Chore: changes after PR feedback
* Chore: revert file to main
* Tests: fix for e2e tests
2021-10-13 06:09:35 +02:00
Hugo Häggmark
5a56f86a47
Chore: Updates latest.json ( #40293 )
2021-10-11 16:35:26 +02:00
Hugo Häggmark
d8e97fc024
Dashboard: Fixes rendering of repeating panels ( #39991 )
...
* Dashboard: Fixes rendering of repeating panels
* Chore: update after PR comments
2021-10-11 06:33:04 +02:00
Hugo Häggmark
7706483654
A11y: Fix for Fastpass issues on the Profile page ( #40212 )
...
* A11y: Fix for Fastpass issues on Profile page
* Chore: small fix
* Chore: fixes the tests
2021-10-11 06:32:54 +02:00
Hugo Häggmark
70e759e0c0
Folders: Prevents deletion of General folder ( #40192 )
2021-10-08 11:15:15 +02:00
Hugo Häggmark and achatterjee-grafana
d09cdfb844
Docs: Add documentation for library elements API ( #39829 )
...
* LibraryElements: Adds api documentation
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs/sources/http_api/library_element.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Refactor: changes after PR comments
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Chore: updates after review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-10-07 07:29:27 +02:00
Hugo Häggmark
7c7b21b39e
DashboardList/AlertList: Fix for missing All folder value ( #39772 )
...
* DashboardList/AlertList: Fix for missing All folder value
* Refactor: Fixes case where folder does not exist in results
2021-10-01 06:20:25 +02:00
Hugo Häggmark
9de633d3a3
Chore: lower pa11y-ci thresholds ( #39853 )
2021-10-01 06:07:55 +02:00
Hugo Häggmark
53db344acf
Chore: update CODEOWNERS file ( #39834 )
2021-09-30 12:39:29 +02:00
Hugo Häggmark
9a178e7ba9
Variables: Prevents enter key from refreshing page or changing focus ( #39666 )
2021-09-28 06:07:03 +02:00
Hugo Häggmark
80c55ffc83
Annotations: Deprecate AnnotationsSrv ( #39631 )
2021-09-27 15:23:54 +02:00
Hugo Häggmark
a6c5af19a6
Chore: Upgrades Cypress to 8.4.1 ( #39573 )
...
* Chore: Upgrades Cypress to 8.4.1
* Update typescriptPreprocessor.js
Found this https://github.com/cypress-io/cypress/issues/2316
2021-09-23 14:28:22 +02:00
Hugo Häggmark
af5296bee7
Variables: Prevents panel from crashing when using adhoc variable in data links ( #39546 )
...
* Variables: Prevents panel from crashing when using adhoc variable in data links
* Refactor: uses isAdhoc instead
* Chore: updates after PR feedback
2021-09-23 11:56:33 +02:00
Hugo Häggmark
65d79d9a30
Dashboard: Short url generation works for variables values with spaces ( #39552 )
2021-09-23 11:50:09 +02:00
Hugo Häggmark and achatterjee-grafana
2696be49b9
LibraryPanels: Improves export and import of library panels between orgs ( #39214 )
...
* Chore: adds tests to reducer
* Refactor: rewrite state
* Refactor: adds library panels to export
* wip
* Refactor: adds import library panels
* Refactor: changes UI
* Chore: pushing drone
* Update public/app/features/manage-dashboards/components/ImportDashboardForm.tsx
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update public/app/features/manage-dashboards/components/ImportDashboardForm.tsx
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Chore: reverted unknown merge changes
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-09-20 10:58:24 +02:00
Hugo Häggmark
e696a9ab42
Variables: Prevents unnecessary duplicate requests ( #39394 )
2021-09-20 09:21:25 +02:00
Hugo Häggmark
fc73bc1161
LibraryElements: Enables creating library elements with specific UID ( #39019 )
...
* LibraryPanels: Enables create/update library panels with specific UID
* Chore: added check for uid length after PR comments
* Refactor: creates IsShortUIDTooLong function
* Refactor: adds UID to PATCH endpoint
* Refactor: clarifies the patch code
* Refactor: changes after PR comments
2021-09-10 11:22:13 +02:00
Hugo Häggmark
419ead99aa
Annotations: Fixes blank panels for queries with unknown data sources ( #39017 )
...
* Annotations: Fixes blank panels for queries with unknown data sources
* Chore: fixes strict typescript error
2021-09-09 13:43:05 +02:00
Hugo Häggmark
bfb34b9c1a
LibraryPanels: Prevents changing the folder when saving an existing library panel ( #38978 )
2021-09-09 06:21:31 +02:00
Hugo Häggmark
17f9bc138e
LibraryPanels: Fixes update issues related to library panels in rows ( #38963 )
2021-09-08 10:53:55 +02:00
Hugo Häggmark
8826540c09
Dashboard: Forces panel re-render when exiting panel edit ( #38913 )
2021-09-07 12:46:21 +02:00
Hugo Häggmark and Domas
058ac6becf
Chore: Bumps Immer, Redux Toolkit, Redux and React Redux ( #38872 )
...
* Chore: Bumps immer and redux/toolkit
* WIP: transpile errors
* Chore: bumps redux and react redux
* Chore: removes unused dispatch
* make alerting compile with updated redux toolkit
* Test: Fixes broken test
* Chore: fixes strict errors
Co-authored-by: Domas <domasx2@gmail.com >
2021-09-07 10:44:47 +02:00
Hugo Häggmark
3b0910e470
LibraryPanels: Prevents duplicate repeated panels from being created ( #38804 )
...
* LibraryPanels: Prevents duplicate repeated panels from being created
* Tests: adds tests
* Chore: updates after PR feedback
2021-09-06 05:57:01 +02:00
Hugo Häggmark
55e20bbf04
LibraryPanels: Separates name from panel title ( #38707 )
...
* LibraryPanels: Separates name from panel title
* WIP
* Chore: fixes update for duplicate lib panels
* Chore: reverts implementation
* Chore: show library options only for library panels
* Chore: ui fixes after PR comments
* Chore: fixes issue when creating library panels
2021-09-01 13:27:43 +02:00
Hugo Häggmark
38ca27428d
LibraryPanels: Removes library panel icon from the panel header ( #38749 )
2021-09-01 06:14:21 +02:00
Hugo Häggmark
a0773b290b
Dashboard: Prevents folder change when navigating to general settings ( #38103 )
...
* Dashboard: Prevents folder change when navigating to general settings
* Tests: fixes broken tests
* Chore: changes from PR feedback
2021-08-20 11:53:48 +02:00
Hugo Häggmark
4ba2636aba
Dashboard: Fix so panels are rendered correctly on SoloPanelPage ( #38050 )
...
* Dashboard: Fix so panels are rendered correctly on SoloPanelPage
* Refactor: narrows down the path
2021-08-19 08:47:37 +02:00
Hugo Häggmark
dba15190af
Chore: Upgrades rxjs to 7.3.0 ( #37913 )
...
* Chore: upgrades rxjs to 7.3.0
* Chore: replaces toPromise with lastValueFrom
* Chore: removes unused mock that caused test error
* Chore: fixes build error in PieChartPanel
* Chore: fixed build error in requestAllIndices
* Chore: fixes comment
* Chore: trying to reduce docs errors
* Chore: searches for explicit api extractor warnings
* Chore: updates rxjs-spy to 8.0.0
* Chore: reverts to main
* Chore: upgrade rxjs and rxjs-spy
2021-08-19 06:38:31 +02:00
Hugo Häggmark
a160930e24
Chore: skip e2e test for examplars ( #37991 )
2021-08-18 08:29:03 +02:00
Hugo Häggmark
0d2aaed3e8
Annotations: Fixes so alert annotations are visible in the correct Panel ( #37959 )
2021-08-17 15:14:11 +02:00
Hugo Häggmark
5449f1c1e6
Variables: Fix issue with empty dropdowns on navigation ( #37776 )
2021-08-13 09:10:37 +02:00
Hugo Häggmark
b741245960
DashboardQueryRunner: Fixes unrestrained subscriptions being created ( #36371 )
2021-07-02 10:52:13 +02:00
Hugo Häggmark
44c48ecebb
Chore: Replace util.DynMap with structs ( #36332 )
...
* Chore: Replace util.DynMap
* Chore: added comments
2021-07-01 10:23:33 +02:00
Hugo Häggmark
63f9231de1
Annotations: Adds tags endpoint ( #36199 )
...
* Annotations: Adds tags endpoint
* Chore: fixes sql statement
* Refactor: adds count to the api
* Chore: changes after PR comments
* Refactor: changes after PR comments
2021-06-30 13:42:54 +02:00
Hugo Häggmark
3999d670cf
Chore: adds buffersize to ReplaySubject ( #36286 )
2021-06-30 09:05:04 +02:00
Hugo Häggmark
ffc18ebbcf
Variables: Fix for changing readonly query property ( #35992 )
...
* Variables: Fix for changing readonly query property
* Docs: adds release
* Docs: adds release
2021-06-22 08:53:41 +02:00
Hugo Häggmark
45a5510978
Chore: Update strict error threshold ( #35979 )
2021-06-21 09:35:04 +02:00
866b2424ac
Chore: Upgrades Cypress to 7.5.0 ( #35517 )
...
* Chore: Upgrades Cypress to 7.5.0
* updating e2e test not to use momen.
* Fix trace viewer tests
* Chore: changing to exact version and removing console.logs
* Tests: refactor to handle day diffs
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2021-06-16 14:34:56 +02:00
Hugo Häggmark
7a9d8e4230
State Timeline: Fix crash when hovering over panel ( #35692 )
...
* State Timeline: Fix crash when hovering over panel
* Refactor: fixes after PR comments
* Chore: fixes infinite loop
2021-06-16 06:35:44 +02:00
Hugo Häggmark
3395142ece
Chore: Refactors flaky Frontend test ( #35645 )
...
* Chore: Refactors flaky Frontend test
* Refactor: update after PR comments
2021-06-15 13:33:24 +02:00
Hugo Häggmark
d94817146e
Variables: Hides default data source if missing from regex ( #35561 )
2021-06-14 06:06:34 +02:00
Hugo Häggmark
1838e6b774
Configuration: Fix changing org preferences on FireFox ( #35549 )
2021-06-11 11:49:40 +02:00
Hugo Häggmark
35168764c3
Chore: Fix observable function in DashboardQueryRunnerImpl ( #35398 )
2021-06-09 07:39:09 +02:00
Hugo Häggmark
6d78f92816
Heatmap: Adds width property to YAxis ( #35230 )
2021-06-09 06:14:03 +02:00
Hugo Häggmark
a7606d130e
Annotations: Fix so annotations work in panel edit ( #35195 )
2021-06-04 10:55:14 +02:00
Hugo Häggmark
abd4e70792
Annotations: Fix so adds, updates and deletes are shown correctly ( #35184 )
...
* Annotations: Fix for update/save/delete annotation not appearing/disappearing
* Annotations: Fix so adds, updates and deletes are shown correctly
* Chore: updates after PR comments
2021-06-03 16:55:04 +02:00
Hugo Häggmark
d2649821d1
Chore: Updates latest.json ( #35050 )
2021-06-01 16:18:22 +02:00
Hugo Häggmark
37ab5ec7f4
Table: Fixes sorting for number fields ( #34722 )
...
* Table: Fixes sorting for number fields
* Refactor: changes after PR comments
* Refactor: found a bug
2021-05-31 06:12:56 +02:00
Hugo Häggmark
3a68409e5d
Plugins: Adds back getMappedValue to @grafana/data ( #34746 )
...
* Plugins: Adds back getMappedValue to @grafana/data
* Chore: fixes doc errors
* Tests: fixes snapshot
* Tests: dummy change to restart Drone
* Tests: tries to fix snapshot
2021-05-27 09:29:22 +02:00
Hugo Häggmark
881abb3af8
Admin: Fixes infinite loading edit profile page ( #34627 )
...
* UserProfile: Fixes infinite loading spinner
* Refactor: some clean up
* Refactor: some more cleanup
* Tests: Adds tests for UserProfileEditPage
* Chore: updates after PR comments
* Refactor: removes unnecessary unmount/mount
2021-05-25 14:48:16 +02:00
Hugo Häggmark
7b17801047
LibraryPanels: Fixes error when importing plugin dashboard ( #34557 )
2021-05-24 09:31:34 +02:00
Hugo Häggmark
7204a64717
LibraryElements: Creates usage stats for panels and variables ( #34476 )
...
* LibraryPanels: Adds usage collection
* Refactor: renames Panel and Variable consts
* Chore: initialize stats
* Refactor: moves library element migrations to migration namespace
2021-05-24 06:11:01 +02:00
Hugo Häggmark
740f1ab3e2
LibraryPanels: Fixes connections after dashboard import ( #34461 )
2021-05-20 09:40:23 +02:00
Hugo Häggmark
21d6f02dd3
LibraryElements: replaces is_folder=1 usages with correct dialect string ( #34453 )
2021-05-20 07:22:34 +02:00
Hugo Häggmark
592a3af40e
LibraryPanels: Fixes "error while loading library panels" ( #34278 )
...
* LibraryPanels: Fixes error while loading library panels
* Chore: fixes imports
2021-05-18 14:52:19 +02:00
Hugo Häggmark
93db2a099b
Revert "ForgottenPassword: Adds better error handling ( #34174 )" ( #34254 )
...
This reverts commit e246ec0d5b .
2021-05-18 09:01:55 +02:00
Hugo Häggmark
3339d13a45
Variables: Fixes inconsistend selected states on dashboard load ( #34197 )
2021-05-18 06:10:22 +02:00
Hugo Häggmark
d721298e03
Table: Makes tooltip scrollable for long JSON values ( #34120 )
2021-05-17 10:19:41 +02:00
Hugo Häggmark
e246ec0d5b
ForgottenPassword: Adds better error handling ( #34174 )
...
* ForgottenPassword: Adds better error handling
* Chore: updates after PR comments
2021-05-17 09:15:41 +02:00
Hugo Häggmark
57d898cd5a
Variables: Refreshes all panels even if panel is full screen ( #34097 )
...
* Variables: Refreshes all panels even if panel is full screen
* Chore: updates after PR comments
2021-05-14 10:42:33 +02:00
Hugo Häggmark and Alex Khomenko
c1be52bed0
OrgPicker: Fixes so organisations load ( #33990 )
...
* OrgPicker: Fixes so organisations load
* Update public/app/core/components/Select/OrgPicker.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Chore: updates after PR comments
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2021-05-12 14:21:54 +02:00
Hugo Häggmark
7a55a6385c
Urls: Parsing key values will not convert to numbers ( #33982 )
...
* Urls: Parsing key values will not convert to numbers
* Tests: fixes broken tests
* Tests: fixes broken test
* Tests: fixes broken test
* Chore: forcing drone to rebuild
2021-05-12 13:40:30 +02:00
Hugo Häggmark and Arve Knudsen
69d9f427e1
LibraryPanels: removes feature toggle ( #33839 )
...
* WIP: intial structure
* Refactor: adds create library element endpoint
* Feature: adds delete library element
* wip
* Refactor: adds get api
* Refactor: adds get all api
* Refactor: adds patch api
* Refactor: changes to library_element_connection
* Refactor: add get connections api
* wip: in the middle of refactor
* wip
* Refactor: consolidating both api:s
* Refactor: points front end to library elements api
* Tests: Fixes broken test
* LibraryPanels: removes feature toggle
* Fix: fixes delete library elements in folder and adds tests
* Tests: fixes snapshot
* Refactor: adds service interfaces so they can be easily mocked
* Refactor: changes order of tabs in manage folder
* Refactor: fixes so link does not cover whole card
* Refactor: fixes index string name
* Update pkg/services/libraryelements/libraryelements.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/libraryelements/libraryelements_permissions_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/libraryelements/database.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Chore: changes after PR comments
* Update libraryelements.go
* Update libraryelements.go
* Chore: updates after PR comments
* Chore: trying to fix build error
* Refactor: fixed stupid mistake
* Update libraryelements.go
* Chore: tries to fix build errors
* Refactor: trying to fix MySQL key length
* Update libraryelements.go
* Update pkg/services/libraryelements/libraryelements.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Refactor: changes after PR comments
* Refactor: changes after PR comments
* Tests: fixes tests
* Refactor: renames connections to connectedDashboards
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-12 08:48:17 +02:00
Hugo Häggmark
f61328af2d
Variables: Filters out builtin variables from unknown list ( #33933 )
2021-05-12 09:28:24 +03:00
Hugo Häggmark
b55b3307c1
Variables: Clear query when data source type changes ( #33924 )
2021-05-11 14:09:19 +02:00
Hugo Häggmark
184242dba0
DashboardPage: Makes slug parameter optional ( #33902 )
2021-05-11 12:37:26 +02:00
Hugo Häggmark and Arve Knudsen
f1b2c750e5
LibraryElements: Adds library elements api and tables ( #33741 )
...
* WIP: intial structure
* Refactor: adds create library element endpoint
* Feature: adds delete library element
* wip
* Refactor: adds get api
* Refactor: adds get all api
* Refactor: adds patch api
* Refactor: changes to library_element_connection
* Refactor: add get connections api
* wip: in the middle of refactor
* wip
* Refactor: consolidating both api:s
* Refactor: points front end to library elements api
* Tests: Fixes broken test
* Fix: fixes delete library elements in folder and adds tests
* Refactor: changes order of tabs in manage folder
* Refactor: fixes so link does not cover whole card
* Update pkg/services/libraryelements/libraryelements.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/libraryelements/libraryelements_permissions_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/libraryelements/database.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Chore: changes after PR comments
* Update libraryelements.go
* Chore: updates after PR comments
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-05-11 07:10:19 +02:00
Hugo Häggmark and Torkel Ödegaard
605bae8e2c
LibraryPanels: Adds folder name to Library Panel card ( #33697 )
...
* LibraryPanels: Adds folder filter
* Refactor: Adds folder filter to library search
* Refactor: splits huge function into smaller functions
* LibraryPanels: Adds Panels Page to Manage Folder tabs (#33618 )
* Chore: adds tests to LibraryPanelsSearch
* Refactor: Adds reducer and tests
* Chore: changes GrafanaThemeV2
* Refactor: adds folderName to get all result
* Refactor: adds folderName to get result
* Refactor: adds folder name to LibraryPanelDTOMeta
* Refactor: adds folder name to lbirary panels result
* Chore: reverts public/app/routes/routes.tsx to master
* Minor style tweak
* Refactor: adds folder uid to meta
* Chore: updates after PR comments
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2021-05-05 11:09:12 +02:00
Hugo Häggmark
86f2ed8ef2
e2e: refactors the most flaky tests ( #33727 )
2021-05-05 09:09:57 +02:00
Hugo Häggmark
810ece57bd
Chore: Adds better logging and longer timeout threshold ( #33690 )
2021-05-04 14:23:26 +02:00
Hugo Häggmark
c6d4d14a89
LibraryPanels: Adds folder filter to manage library panel page ( #33560 )
...
* LibraryPanels: Adds folder filter
* Refactor: Adds folder filter to library search
* Refactor: splits huge function into smaller functions
* LibraryPanels: Adds Panels Page to Manage Folder tabs (#33618 )
* Chore: adds tests to LibraryPanelsSearch
* Refactor: Adds reducer and tests
* Chore: changes GrafanaThemeV2
* Refactor: pulls everything behind the feature toggle
* Chore: removes clear icon from FolderFilter
* Chore: adds filter to SortPicker
* Refactor: using useAsync instead
2021-05-04 13:59:40 +02:00
Hugo Häggmark
696a6ecd1e
Variables: Removes the never refresh option ( #33533 )
...
* Variables: Removes the never refresh option
* Tests: fixes DashboardModel repeat tests
* Tests: fixs snapshots
* Tests: fixes processVariable test
* Tests: fixes DashboardModel tests
2021-04-30 11:17:35 +02:00
Hugo Häggmark
492227fa0a
Chore: Upgrades @braintree/sanitize-url ( #33551 )
2021-04-30 10:13:41 +02:00
Hugo Häggmark
e8707944a3
LibraryPanels: adds View panel in dashboard modal ( #33517 )
2021-04-29 14:51:15 +02:00
Hugo Häggmark
a9d6d131b3
LibraryPanels: Small UI improvements ( #33482 )
2021-04-28 17:34:18 +02:00
Hugo Häggmark and Torkel Ödegaard
22ac0fc3cd
Chore: Migrates remaining Angular modals to React ( #33476 )
...
* HelpModal: Migrates to new style
* Alerting: Migrates how to do alerting modal to React
* ApiKeysModal: migrates to new theme
* Dashboard: View dasboard json modal migrated to React and new theme
* PluginPage: migrates update plugin modal to react and new theme
* Chore: deprecates events and functions
* Simplify help modal
* Updated json modal to use Modal.ButtonRow
* Tweak to api key design
* Tests: updates snapshot
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2021-04-28 15:22:28 +02:00
Hugo Häggmark
df8d301d1e
LibraryPanels: Adds descriptions to cards ( #33452 )
...
* LibraryPanels: Adds descriptions to cards
* Chore: updates after PR comments
2021-04-28 13:47:12 +02:00
Hugo Häggmark
20ee0e9601
LibraryPanels: Adds panel type filter and sorting ( #33425 )
...
* Wip: inital commit
* Chore: updating api
* Refactor: adds description search and sorting
* Refactor: adds panel filtering
* Refactor: limits the height of select
* Tests: updates snapshot
* Refactor: small UI improvements
2021-04-28 09:18:13 +02:00
Hugo Häggmark
ca85012865
Annotations: Adds loading indicators and cancellation ( #33404 )
2021-04-27 10:03:52 +02:00
Hugo Häggmark
b3642eb18d
e2e: slows down failing test ( #33401 )
...
* e2e: slows down failing test
* Update set-options-from-ui.ts
2021-04-27 08:53:43 +02:00
Hugo Häggmark
a3584f21de
Annotations: Turns on annotations in Graph and TimeSeries ( #33402 )
...
* Annotations: Turns on annotations in Graph and TimeSeries
* Refactor: moves to notPersistedProperties
2021-04-27 07:39:02 +02:00
Hugo Häggmark
f73be970d3
Variables: Removes experimental Tags feature ( #33361 )
...
* Variables: Removes experimental Tags feature
* Refactor: adds dashboard migration
* Tests: fixes snapshots
* Docs: removes docs for experimental feature
* Refactor: dummy change
* Docs: removes reference
2021-04-27 05:57:25 +02:00
Hugo Häggmark
ba2fa3434e
Annotations: fixes reversed switch ( #33362 )
2021-04-26 09:05:22 +02:00
Hugo Häggmark
19739f4af2
Annotations: Adds DashboardQueryRunner ( #32834 )
...
* WIP: initial commit
* Fix: Fixed $timeout call when testing snapshots
* Chore: reverts changes to metrics_panel_ctrl.ts
* Chore: reverts changes to annotations_srv
* Refactor: adds DashboardQueryRunner.run to initdashboard
* Refactor: adds run to dashboard model start refresh
* Refactor: move to own folder and split up into smaller files
* Tests: adds tests for LegacyAnnotationQueryRunner
* Tests: adds tests for AnnotationsQueryRunner
* Tests: adds tests for SnapshotWorker
* Refactor: renames from canRun|run to canWork|work
* Tests: adds tests for AlertStatesWorker
* Tests: adds tests for AnnotationsWorker
* Refactor: renames operators
* Refactor: renames operators
* Tests: adds tests for DashboardQueryRunner
* Refactor: adds mergePanelAndDashboardData function
* Tests: fixes broken tests
* Chore: Fixes errors after merge with master
* Chore: Removes usage of AnnotationSrv from event_editor and initDashboard
* WIP: getting annotations and alerts working in graph (snapshot not working)
* Refactor: fixes snapshot data for React panels
* Refactor: Fixes so snapshots work for Graph
* Refactor: moves alert types to grafana-data
* Refactor: changes to some for readability
* Tests: skipping tests for now, needs rewrite
* Refactor: refactors out common static functions to utils
* Refactor: fixes resolving annotations from dataframes
* Refactor: removes getRunners/Workers functions
* Docs: fixes docs errors
* Docs: trying to fix doc error
* Refactor: changes after PR comments
* Refactor: hides everything behind a factory instead
* Refactor: adds cancellation between runs and explicitly
2021-04-26 06:13:03 +02:00
Hugo Häggmark
527b7bd756
Theme: Theme toggle is only persisted for signed in users ( #33163 )
2021-04-20 15:15:56 +02:00
Hugo Häggmark
888667abbc
Table: Fixes so border is visible for cells with links ( #33160 )
2021-04-20 15:06:29 +02:00
Hugo Häggmark
025b671146
Dashboard: Unsaved changes warning shown for anyone that can save ( #33145 )
...
* Dashboard: Unsaved changes warning shown for anyone that can save
* Refactor: changes the order in function
2021-04-20 09:55:46 +02:00
Hugo Häggmark
9bb1484dc5
ConfirmModal: Migrates to React with new theme ( #33107 )
...
* ConfirmModal: Migrates to React
* Refactor: migrates to v2 styles
* Chore: updates after PR comments
2021-04-19 14:30:18 +02:00
Hugo Häggmark
34b4f7c717
Chore: Reduces strict errors ( #33012 )
...
* Chore: reduces strict error in OptionPicker tests
* Chore: reduces strict errors in FormDropdownCtrl
* Chore: reduces has no initializer and is not definitely assigned in the constructor errors
* Chore: reduces has no initializer and is not definitely assigned in the constructor errors
* Chore: lowers strict count limit
* Tests: updates snapshots
* Tests: updates snapshots
* Chore: updates after PR comments
* Refactor: removes throw and changes signature for DashboardSrv.getCurrent
2021-04-15 14:21:06 +02:00
Hugo Häggmark
4f3b3b12be
LibraryPanels: Adds warning when changing to/between library panels ( #32892 )
...
* LibraryPanels: Adds warning when changing to/between library panels
* Refactor: using ConfirmModal instead
* Chore: updates after PR review
2021-04-13 15:07:25 +02:00
Hugo Häggmark
4fab30a120
LibraryPanels: Adds back library panel information to panel edit ( #32923 )
...
* LibraryPanels: Adds back library panel information to panel edit
* Chore: fixes merge issue
2021-04-13 14:05:35 +02:00
Hugo Häggmark
7d07599dc1
LibraryPanels: Adds initial section and Page to Dashboard submenu ( #32876 )
...
* LibraryPanels: Adds initial section and Page to Dashboard submenu
* Refactor: adds perPage as prop
* Chore: renames OrgActionBar
* Chore: updates after PR comments
* Chore: updates snapshot
2021-04-12 09:30:29 +02:00
Hugo Häggmark
10697d6130
Timeline: Renames component to avoid casing conflicts ( #32736 )
2021-04-07 08:16:14 +02:00