grafana/public/app/features/manage-dashboards
Peter Holmberg ec743cf9a7
Migration: Migrate Dashboard Import to React (#22338)
* first things

* introduce headers and moving buttons

* adding reducer and action for gcom dashboard

* action working

* continue building on import form

* change dashboard title

* add prop to not render a label

* first things

* introduce headers and moving buttons

* adding reducer and action for gcom dashboard

* action working

* continue building on import form

* change dashboard title

* add prop to not render a label

* import form layout

* break out form to component

* add actions and reader for file upload

* fix upload issue

* modified data types to handle both gcom and file upload

* import dashboard json

* save dashboard

* start change uid

* change dashboard uid

* fix spacing and date format

* fix import from json

* handle uid and title change

* revert change in panelinspect

* redo fileupload component

* after review

* redo forms to use Forms functionality

* first attempt on async validation

* use ternary on uid input

* removed unused actions, fixed async validation on form

* post form if invalid, break out form to component

* sync file with master

* fix after merge

* nits

* export formapi type

* redo page to use forms validation

* fix inputs and validation

* readd post

* add guards on data source and constants

* type checks and strict nulls

* strict nulls

* validate onchange and fix import button when valid

* shorten validate call

* reexport OnSubmit type

* add comment for overwrite useEffect

* move validation functions to util

* fix button imports

* remove angular import

* move title and uid validation
2020-03-31 16:29:44 +02:00
..
components Migration: Migrate Dashboard Import to React (#22338) 2020-03-31 16:29:44 +02:00
partials Migration: Migrate Dashboard Import to React (#22338) 2020-03-31 16:29:44 +02:00
services React Migration: Migrates FolderPicker from angular to react (#21088) 2020-02-13 11:13:03 +01:00
state Migration: Migrate Dashboard Import to React (#22338) 2020-03-31 16:29:44 +02:00
utils Migration: Migrate Dashboard Import to React (#22338) 2020-03-31 16:29:44 +02:00
DashboardImportPage.tsx Migration: Migrate Dashboard Import to React (#22338) 2020-03-31 16:29:44 +02:00
DashboardListCtrl.ts noImplicitAny: Down approx 200 errors (#18143) 2019-07-18 08:03:04 +02:00
index.ts Fixed dashboard import issue after move 2019-01-24 09:47:06 +01:00
SnapshotListCtrl.ts Chore: Remove angular dependency from backendSrv (#20999) 2020-01-21 10:08:07 +01:00