grafana/public/app/features/dimensions
An 900d9bf9a1
FileStorage: Add upload form (#46749)
* move upload to http

* use storage from grafanads

* rever gomod changes

* fix test

* wip

* add upload func

* update upload func

* writing to uploads

* edit response from service

* use dropzone for UI

* modify response struct in service

* better read file

* set content type for svg

* restrict file types upload

* add test and clean up errors

* pass test

* fix backend lint errors

* limit type of files on FE

* add TODO for after merge

* rebase with storage changes

* comment out unused function

* update UI to not have 2 uploads

* only call upload on select

* use utils function to find * in path

* show preview on drag over

* not allowing upload of svg

* add preview to upload tab

* no console.log

* resolve conflicts

* refactor log line

* fix failing BE test

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
2022-04-27 15:12:48 -04:00
..
editors FileStorage: Add upload form (#46749) 2022-04-27 15:12:48 -04:00
color.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
context.ts Canvas add drone elements (#43122) 2021-12-16 11:05:58 -08:00
index.ts Geomap: Add rotation option for markers layer (#41992) 2021-11-23 08:23:43 -08:00
resource.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
scalar.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
scalar.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
scale.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
scale.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
text.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
types.ts FileStorage: Add upload form (#46749) 2022-04-27 15:12:48 -04:00
utils.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00