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
Hugo Häggmark
6087980de0
Variables: Confirms selection before opening new picker ( #32586 )
...
* Variables: Confirms selection before opening new picker
* Tests: fixes e2e tests
2021-04-06 09:21:37 +02:00
Hugo Häggmark
2def9a8172
TextboxVariable: Limits the length of the preview value ( #32472 )
2021-03-31 06:59:43 +02:00
Hugo Häggmark
009df4fb7a
Variables: Fixes Unsupported data format error for null values ( #32480 )
2021-03-30 12:31:48 +02:00
Hugo Häggmark
84ea3a73c0
AdHocVariable: Adds default data source ( #32470 )
2021-03-30 11:17:33 +02:00
Hugo Häggmark
266e74bccc
Update latest.json ( #32368 )
2021-03-26 16:27:33 +01:00
Hugo Häggmark
ce679a67b7
Chore: Lazy loads VisJs library ( #32341 )
2021-03-26 10:07:22 +01:00
Hugo Häggmark
cc42a91c99
Release: Updates latest.json ( #32319 )
2021-03-25 17:57:40 +01:00
Hugo Häggmark and Arve Knudsen
7f5487a461
LibraryPanels: Adds Type and Description to DB ( #32258 )
...
* Refactor: adds description to getCreateCommand
* Refactor: Adds type and description fields
* Chore: Updates FrontEnd
* Update pkg/services/librarypanels/database.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/database.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Chore: fixes backend linting error
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-24 13:43:51 +01:00
Hugo Häggmark
376ed8a381
LibraryPanels: Prevents deletion of connected library panels ( #32277 )
...
* LibraryPanels: Prevents deletion of connected library panels
* Refactor: adds the delete library panel modal
* Chore: updates after PR comments
2021-03-24 11:43:27 +01:00
Hugo Häggmark
dea7c70fac
Chore: Cleans up unused Playlist files ( #32240 )
2021-03-24 07:11:45 +01:00
Hugo Häggmark
51e7b87f39
Playlist: Migrates New/Edit pages to React ( #32218 )
...
* WIP: initial commit
* Playlist: Migrates New/Edit to React
* Tests: adds tests for PlaylistForm
* Tests: adds more tests
* Chore: moved some styles
* Chore: updates after PR review
2021-03-23 07:45:04 +01:00
Hugo Häggmark
79f0cf7874
LibraryPanels: Changes to non readonly reducer ( #32193 )
2021-03-22 08:09:27 +01:00
Hugo Häggmark
c8b59b79c3
Chore: Fix strict errors, down to 340 ( #32109 )
...
* Chore: reduces misc reducerTester strict issues
* Chore: fixes various strict errors in reducer tests for ElasticSearch
* Chore: lowers errors in AzureMonitor DataSource tests
2021-03-19 13:10:03 +01:00
Hugo Häggmark
f8d5388758
MixedDataSource: Name is updated when data source variable changes ( #32090 )
2021-03-19 06:37:17 +01:00
Hugo Häggmark
8b2a0e3b2c
Chore: Auto adds templating label in PRs ( #32085 )
...
* Chore: Auto adds templating label in PRs
* Fixes: formatting and json
2021-03-18 12:35:07 +01:00
Hugo Häggmark
f508a16a43
LibraryPanels: Improves the Get All experience ( #32028 )
...
* LibraryPanels: Improves Get All Api
* Refactor: using useReducer instead of useState
* Refactor: adds Pagination to UI
* Tests: adds reducer tests
* Refactor: using Observable instead to avoid flickering
* Refactor: moves exclusion to backend instead
* Chore: changing back the perPage default value
2021-03-18 11:19:41 +01:00
Hugo Häggmark
bc60ce9cce
Variables: Fixes filtering in picker with null items ( #31979 )
...
* Variables: Fixes filtering in picker with null items
* Chore: some cleanup
2021-03-15 15:45:32 +01:00
Hugo Häggmark
31ab1a4afe
Variables: Ensures all variable values are strings ( #31942 )
...
* Variables: Ensures all variable values are strings
* Chore: remove redundant typings
* Chore: fixes tests
2021-03-15 08:52:44 +01:00
Hugo Häggmark
66177e9463
PanelInspect: Interpolates variables in CSV file name ( #31936 )
...
* PanelInspect: Variables in CSV file name are interpolated
* Chore: fixes failing test
2021-03-15 08:44:13 +01:00
Hugo Häggmark
9f92eb6859
AnnotationList: Adds spacing to UI ( #31888 )
...
* AnnotationList: Adds spacing to UI
* Tests: updates snapshots
* Chore: updates after PR comments
2021-03-11 11:59:35 +01:00
Hugo Häggmark
63746d027b
Variables: Improves inspection performance and unknown filtering ( #31811 )
...
* Refactor: moves inspect calculation to Redux
* Refactor: adds valid filters and tests
2021-03-09 12:49:05 +01:00
Hugo Häggmark
bc5ea345e5
ReduceTransform: Include series with numeric string names ( #31763 )
...
* ReduceTransform: Include series with numeric string names
* Chore: updates after PR comments
2021-03-09 06:02:38 +01:00
Hugo Häggmark
e87d48921e
Admin: Keeps expired api keys visible in table after delete ( #31636 )
...
* Admin: Keeps expired keys visible in table after delete
* Chore: covers component in tests before refactor
* Refactor: splitting up into smaller components
* Chore: fixes a small issue with the validation
* Chore: forgot to export type
2021-03-04 13:20:38 +01:00
Hugo Häggmark
d306f417d3
LibraryPanels: No save modal when user is on same dashboard ( #31606 )
2021-03-02 15:37:36 +00:00
Hugo Häggmark
d84cfdbb0f
LibraryPanels: Adds version column ( #31590 )
...
* Refactor: adds version column and fixes tests
* Chore: adds version check when patching the library panel
* Refactor: adds support for version in FrontEnd
2021-03-02 13:33:26 +01:00
Hugo Häggmark and Arve Knudsen
4bc6a7c407
LibraryPanels: Deletes library panels during folder deletion ( #31572 )
...
* Refactor: adds permissions for library panel creation
* Refactor: checks folder permissions for patch requests
* Chore: changes after PR comments
* Refactor: adds permissions to delete
* Refactor: moves get all permission tests out of get all tests
* Chore: move out get all tests to a separate file
* Refactor: adds permissions to get handler
* Refactor: fixes a bug with getting library panels in General folder
* Refactor: adds permissions for connect/disconnect
* Refactor: adds permissions and tests for get connected dashboards
* Tests: adds tests for connected dashboards in General Folder
* LibraryPanels: Deletes library panels during folder deletion
* LibraryPanels: Deletes library panels during folder deletion
* Update pkg/api/folder.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_permissions_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Chore: updates after PR comments
* Chore: forgot to change some function signatures
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-03-02 10:34:01 +01:00
Hugo Häggmark
a2fe6ef92c
TestData: Fixes never ending annotations scenario ( #31573 )
2021-03-02 09:06:09 +01:00
Hugo Häggmark
583b94557b
LibraryPanels: Adds folder checks and permissions ( #31473 )
...
* Refactor: adds permissions for library panel creation
* Refactor: checks folder permissions for patch requests
* Chore: changes after PR comments
* Refactor: adds permissions to delete
* Refactor: moves get all permission tests out of get all tests
* Chore: move out get all tests to a separate file
* Refactor: adds permissions to get handler
* Refactor: fixes a bug with getting library panels in General folder
* Refactor: adds permissions for connect/disconnect
* Refactor: adds permissions and tests for get connected dashboards
* Tests: adds tests for connected dashboards in General Folder
2021-03-01 15:33:17 +01:00
Hugo Häggmark
1725bf773f
Chore: Fixes small typos ( #31461 )
2021-02-25 08:59:26 +01:00
Hugo Häggmark
466462de37
LibraryPanels: Adds permissions to getAllHandler ( #31416 )
...
* LibraryPanels: Adds permissions to getAllHandler
* Chore: adds a test to verify the permissions
* Chore: tests refactor
2021-02-24 14:06:22 +01:00
Hugo Häggmark
9967f193c8
Revert "StoryBook: Introduces Grafana Controls ( #31351 )" ( #31388 )
...
This reverts commit c5797cc274 .
2021-02-22 11:04:27 +01:00
Hugo Häggmark
6f3088ae85
AdHocVariables: Fixes crash when values are stored as numbers ( #31382 )
2021-02-22 10:35:36 +01:00
Hugo Häggmark
c5797cc274
StoryBook: Introduces Grafana Controls ( #31351 )
2021-02-22 09:53:06 +01:00
Hugo Häggmark
0a4c3b8779
LibraryPanels: Syncs panel title with name ( #31311 )
2021-02-19 06:05:21 +01:00
Hugo Häggmark
82933353d6
Docs: Clarifies how to add Key/Value pairs ( #31303 )
2021-02-18 09:46:29 -05:00
Hugo Häggmark and Alex Khomenko
3c1f27b0e6
Chore: reduce strict errors for variables ( #31241 )
...
* Chore: reduces a lot of variable errors
* Chore: reduces variable Editor errors
* Chore: reduces variable Picker errors
* Chore: reduce error count
* Chore: reduces errors for ChangeEvent instead of FormEvent
* Chore: reduces errors with CombinedState
* Chore: reduces ComponentType errors
* Chore: reduce errors in reducers
* Chore: reduces misc errors
* Chore: reduce AdhocPicker errors
* Chore: reduce error limit
* Update public/app/features/variables/adhoc/picker/AdHocFilterValue.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Chore: updates after PR comments
* Chore: small refactor
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2021-02-18 06:21:35 +01:00
Hugo Häggmark
6c2cf42a05
Docs: Clarifies custom date formats for variables ( #31271 )
2021-02-17 09:33:56 -05:00
Hugo Häggmark
06e6bcf091
LibraryPanels: Disconnect before connect during dashboard save ( #31235 )
...
* LibraryPanels: Disconnect before connect during dashboard save
* Tests: fixed test
* Chore: updates after PR comments
* Chore: changes from context.Background() to c.Context.Req.Context()
* Chore: fixes lint issue
2021-02-16 13:00:56 +01:00
Hugo Häggmark
f993f2c7cc
Variables: Adds back default option for data source variable ( #31208 )
...
* Variables: Adds back default option for data source variable
* Chore: updates after PR comments
2021-02-16 06:51:34 +01:00
Hugo Häggmark
39993a6884
Variables: Fixes missing empty elements from regex filters ( #31156 )
...
* Variables: Fixes missing empty elements from regex filters
* Chore: cleanup comment
* Chore: removes unused import
2021-02-15 06:04:08 +01:00
Hugo Häggmark
297ff9a168
DashboardLinks: Fixes crash when link has no title ( #31008 )
...
* DashboardLinks: Fixes crash when link misses title
* Chore: updates after PR comments
2021-02-09 15:46:56 +01:00
Hugo Häggmark
f43d834a59
Alerting: Fixes so notification channels are properly deleted ( #31040 )
2021-02-09 15:29:50 +01:00
Hugo Häggmark and Dominik Prokop
bd28512d29
Graph: Fixes so graph is shown for non numeric time values ( #30972 )
...
* Graph: Fixes so graph is shown for non numeric time values
* Tests: changes times to UTC
* Tests: forgot one value in time array
* GraphNG: make time series panel work with string time stamps (#30981 )
* Make Time series panel work with data that time is represented as string
* Map to for
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2021-02-09 09:46:37 +01:00
Hugo Häggmark
410ab72bc4
Build: Releases e2e and e2e-selectors too ( #31006 )
2021-02-09 07:35:01 +01:00
Hugo Häggmark
f42bb84cbf
TextPanel: Fixes so panel title is updated when variables change ( #30884 )
...
* TextPanel: Fixes so panel title is updated when variables change
* Tests: fixes tests
* Chore: updates after PR comments
2021-02-09 06:05:34 +01:00
Hugo Häggmark
32dde95a7b
e2e: extends selector factory to plugins ( #30932 )
2021-02-05 14:22:22 +01:00
Hugo Häggmark
2a3aa95163
Variables: Adds queryparam formatting option ( #30858 )
...
* Variables: Adds queryparam formatting option
* Chore: fixes strict errors
* Chore: changes after PR comments
2021-02-05 07:16:06 +01:00
Hugo Häggmark
6994f19d1f
Variables: Clears drop down state when leaving dashboard ( #30810 )
2021-02-02 09:13:39 +01:00
Hugo Häggmark
179f35a537
PanelLibrary: Adds library panel meta information to dashboard json ( #30770 )
2021-02-02 06:25:35 +01:00
Hugo Häggmark
08eee87148
Panels: Fixes so panels are refreshed when scrolling past them fast ( #30784 )
2021-02-01 15:06:46 +01:00
Hugo Häggmark
8744ad361b
Variables: Fixes so text format will show All instead of custom all ( #30730 )
2021-01-29 09:24:25 +01:00
Hugo Häggmark
0b1f5c5e32
PanelLibrary: better handling of deleted panels ( #30709 )
2021-01-29 06:11:13 +01:00
Hugo Häggmark
0a8eae2c12
PanelLibrary: changes casing of responses and adds meta property ( #30668 )
...
* PanelLibrary: changes casing of responses and adds meta property
* Chore: updates comments
* Chore: updates after PR comments
* Chore: changes casing of orgId
2021-01-28 12:36:28 +01:00
Hugo Häggmark
b5d7f1e7d8
Variables: Fixes display value when using capture groups in regex ( #30636 )
...
* Variables: Fixes display value for variables with regex
* Chore: adds a test for getAllMatches
2021-01-27 06:47:10 +01:00
Hugo Häggmark
fad81e1696
Variables: Fixes so queries work for numbers values too ( #30602 )
...
* Variables: Fixes so queries work for numbers values too
* Chore: refactor after PR comments
2021-01-26 09:04:49 +01:00
Hugo Häggmark
a8056e2c9d
Admin: Fixes so form values are filled in from backend ( #30544 )
...
* Admin: Fixes so form values are filled in from backend
* Chore: tidy up the imports
2021-01-26 08:07:45 +01:00
Hugo Häggmark
c5279bba7f
RefreshPicker: Fixes so valid intervals in url are visible in RefreshPicker ( #30474 )
...
* RefreshPicker: Fixes so refresh intervals from url are visible in RefreshPicker
* Refactor: changes after PR comments
* Chore: adds comment
2021-01-25 08:37:41 +01:00
Hugo Häggmark
ffd39933d4
Admin: Fixes so whole org drop down is visible when adding users to org ( #30481 )
...
* Modal: Admin: Fixes so whole org drop down is visible
* Tests: fixes failing tests
* Chore: cleans up the return type
* Chore: changes after PR comments
* Chore: changes after PR comments
2021-01-21 13:59:46 +01:00
Hugo Häggmark
de511b0f48
Chore: adds wait to e2e test ( #30488 )
2021-01-21 12:34:18 +01:00
Hugo Häggmark
98406d6c42
Alerting: Hides threshold handle for percentual thresholds ( #30431 )
2021-01-21 06:23:09 +01:00
Hugo Häggmark
e1243e07ca
Graph: Fixes so only users with correct permissions can add annotations ( #30419 )
...
* Graph: Fixes so only users with edit permissions can add annotations
* Tests: corrects test message text
* Chore: changes after PR comments
2021-01-21 06:19:03 +01:00
Hugo Häggmark and Arve Knudsen
b7b6632a4d
PanelLibrary: adding library panels to Dashboard Api ( #30278 )
...
* Wip: First naive impl
* Chore: fix after merge
* Chore: changes after PR comments
* Chore: removes unused types
* Chore: adds feature toggle
* Refactor: adds library panels cleanup and connect when storing dashboards
* Refactor: adds feature toggle
* Update pkg/services/librarypanels/librarypanels.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: adds disconnect library panels when deleting a dashboard
* Chore: changes after PR comments
* Tests: adds tests for LoadLibraryPanelsForDashboard
* Tests: adds tests for CleanLibraryPanelsForDashboard
* Tests: adds tests for ConnectLibraryPanelsForDashboard
* Tests: adds tests for DisconnectLibraryPanelsForDashboard and small refactor
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Refactor: deletes all connections in one call and connects all in the same transaction
* Chore: adds better comments
* Chore: changes after PR comments
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-20 09:28:10 +01:00
Hugo Häggmark and Arve Knudsen
3d41267fc4
Chore: Moves common and response into separate packages ( #30298 )
...
* Chore: moves common and response into separate packages
* Chore: moves common and response into separate packages
* Update pkg/api/utils/common.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Chore: changes after PR comments
* Chore: move wrap to routing package
* Chore: move functions in common to response package
* Chore: move functions in common to response package
* Chore: formats imports
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-15 14:43:20 +01:00
Hugo Häggmark and Arve Knudsen
d6449c16c7
LibraryPanels: adds connections ( #30212 )
...
* LibraryPanels: adds connections
* Chore: testing signing verification
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Chore: changes after PR comments
* Chore: changes after PR comments
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-12 12:57:40 +01:00
Hugo Häggmark and Elfo404
b2d5466933
Elastic: Support request cancellation properly (Uses new backendSrv.fetch Observable request API) ( #30009 )
...
* Elastic: Fixes so templating queries work
* Chore: fixes test
* Fix: fixes getFields from metricFindQuery
* Elastic: Support request cancellation properly
* Refactor: refactors tests
Co-authored-by: Elfo404 <gio.ricci@grafana.com >
2021-01-11 06:47:51 +01:00
Hugo Häggmark
b094621196
OpenTSDB: Support request cancellation properly ( #29992 )
2021-01-11 06:43:43 +01:00
Hugo Häggmark
b6efebd92c
Elastic: Fixes so templating queries work ( #30003 )
...
* Elastic: Fixes so templating queries work
* Chore: fixes test
* Fix: fixes getFields from metricFindQuery
2021-01-07 10:26:56 +00:00
Hugo Häggmark
602d8f601c
Chore: Changes source map devtool to inline-source-map ( #30004 )
2020-12-30 06:03:53 +01:00
Hugo Häggmark
885274bd62
Graph: Fixes so users can not add annotations in readonly dash ( #29990 )
2020-12-28 08:55:14 +01:00
Hugo Häggmark and Arve Knudsen
40d17af2e3
PanelLibrary: Add PATCH to the API ( #29956 )
...
* PanelLibrary: Adds uid and renames title to name
* Chore: removing lines
* PanelLibrary: Adds update to api
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/database.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/librarypanels_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Chore: changes after PR comments
* Replace references to put with patch
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-23 12:42:52 +01:00
Hugo Häggmark
35a755fe50
PanelLibrary: Adds uid and renames title to name ( #29944 )
...
* PanelLibrary: Adds uid and renames title to name
* Chore: removing lines
* Chore: updates comments
* Chore: changes after PR comments
2020-12-22 12:00:41 +01:00
Hugo Häggmark and Arve Knudsen
433b861093
PanelLibrary: Adds get and getAll to the api ( #29772 )
...
* PanelLibrary: Adds get to the API
* Refactor: adds tests for get and getAll and cleans up other tests
* Refactor: changed name on DTO
* Update pkg/services/librarypanels/api.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/services/librarypanels/database.go
2020-12-21 09:40:27 +01:00
Hugo Häggmark
4f0c941183
Folders: Removes the possibility to delete the General folder ( #29902 )
...
* Folders: Removes the possibility to delete the General folder
* Chore: fixes after PR comments
2020-12-21 06:34:50 +01:00
Hugo Häggmark
7c55621749
MSSQL: Config UI touches ( #29834 )
2020-12-16 08:01:41 +01:00
Hugo Häggmark
662eb6506b
Variables: Fixes so numerical sortorder works for options with null values ( #29846 )
2020-12-16 06:50:54 +01:00
Hugo Häggmark
dd326d296e
Varibles: Fixes so clicking on Selected will not include All ( #29844 )
2020-12-15 15:04:34 +01:00
Hugo Häggmark
5f4b528122
Select: Changes default menu placement for Select from auto to bottom ( #29837 )
...
* Select: Changes default menuPlacement from auto to bottom
* Tests: Fixes snapshot
2020-12-15 12:46:31 +01:00
Hugo Häggmark
681cefbb18
DashboardDS: Fixes display of long queries ( #29808 )
2020-12-15 10:08:02 +01:00
Hugo Häggmark
47afe1fa42
PanelLibrary: Adds delete Api ( #29741 )
...
* PanelLibrary: Adds delete
* Chore: fixes some comments
* Chore: changes after PR comments
* Refactor: deletes from correct org
2020-12-11 06:08:32 +01:00
Hugo Häggmark and Arve Knudsen
941ba1d2f7
PanelLibrary: Adds api and db to create Library/Shared/Reusable Panel ( #29642 )
...
* PanelLibrary: Adds panellib table
* Refactor: removes drop table migration
* Refactor: fixes spelling mistake
* Refactor: changes after PR comments
* Refactor: some more renames
* PanelLibrary: Adds api and db to create Library/Shared/Reusable Panel
* Refactor: reverts SqlStore change and uses RegisterOverride instead
* Refactor: fixes lint error
* Refactor: fixes imports
* Refactor: reverts unintentional changes
* Refactor: Adds repository
* Revert "Refactor: Adds repository"
This reverts commit 4c46e8a6c4 .
* Refactor: changes after PR comments
* Refactor: Simplfies further
* Chore: fixes linting
* Chore: Changes after PR comments
* Update pkg/services/librarypanels/api.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Chore: fixes import after commited suggestion
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2020-12-09 13:10:18 +01:00
Hugo Häggmark
3f2b28975c
Variables: Fixes upgrade of legacy Prometheus queries ( #29704 )
...
* Variables: Fixes upgrade of legacy queries
* Chore: changes after PR comments
2020-12-09 11:18:58 +01:00
Hugo Häggmark
562a1c36b1
PanelLibrary: Adds library_panel table ( #29565 )
...
* PanelLibrary: Adds panellib table
* Refactor: removes drop table migration
* Refactor: fixes spelling mistake
* Refactor: changes after PR comments
* Refactor: some more renames
2020-12-03 15:18:10 +01:00
Hugo Häggmark
b8fec209a9
Chore: skip flaky tests ( #29537 )
2020-12-02 15:16:57 +01:00
Hugo Häggmark
3dcfe54d8d
Variables: Fixes Textbox current value persistence ( #29481 )
...
* Variables: Fixes savequery for Constant and TextBox variables
* Refactor: reverts textbox changes
* Refactor: Fixes dashboard export and tests
* Refactor: hides or migrates Constant variables
* Tests: fixes snapshots
* Variables: Fixes Textbox current value persistance
* Refactor: fixes PR comments and adds e2e tests
2020-12-02 14:08:35 +01:00
Hugo Häggmark
1581d04e65
Chore: Adds Panel Library featuretoggle ( #29521 )
2020-12-02 08:47:04 +01:00
Hugo Häggmark
fb622650f3
Variables: Fixes Constant variable persistence confusion ( #29407 )
...
* Variables: Fixes savequery for Constant and TextBox variables
* Refactor: reverts textbox changes
* Refactor: Fixes dashboard export and tests
* Refactor: hides or migrates Constant variables
* Tests: fixes snapshots
2020-12-01 15:02:49 +01:00
Hugo Häggmark
dece028820
Variables: Fixes issue with upgrading legacy queries ( #29375 )
...
* Variables: Fixes issue with upgrading legacy queries
* Tests: adds tests for upgradeLegacyQueries
2020-11-27 10:20:57 +01:00
Hugo Häggmark
b904e0c621
Chore: Removes observableTester ( #29369 )
2020-11-26 10:32:02 +01:00
Hugo Häggmark
465735a7e4
Chore: Adds e2e tests for Variables ( #29341 )
...
* Variables: Adds description field
* Refactor: Adds new Form components
* Refactor: Fixes aria labels
* Refactor: removes skipped tests
* Tests: Adds e2e tests for loading variables from URL
* Tests: Adds set options from ui
* Tests: Adds create query variable tests
* Chore: removes skipped tests
* Refactor: Breaks out smaller select components
* Refactor: removes gf-form div
* Refactor: Breaks up several more selects into smaller components
* Chore: Fixes typings
2020-11-26 10:31:34 +01:00
Hugo Häggmark
04d857dfe6
Variables: Adds description field ( #29332 )
...
* Variables: Adds description field
* Refactor: Adds new Form components
* Refactor: Fixes aria labels
* Refactor: removes skipped tests
* Refactor: Breaks out smaller select components
* Refactor: removes gf-form div
* Refactor: Breaks up several more selects into smaller components
* Chore: Fixes typings
2020-11-25 10:21:48 +01:00
Hugo Häggmark
9ba8114bd4
Variables: New Variables are stored immediately ( #29178 )
...
* Refactor: Adds getNextAvailableId
* Refactor: Hides DependencyGraph button if there are no dependencies
* Refactor: Changes the new button
* Refactor: Removes usages of NEW_VARIABLE_ID
* Refactor: Reverts the new button
2020-11-20 10:51:32 +01:00