grafana/public/app/features/dimensions/editors
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
..
ThresholdsEditor Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ValueMappingsEditor Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ColorDimensionEditor.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
FileUploader.tsx FileStorage: Add upload form (#46749) 2022-04-27 15:12:48 -04:00
FolderPickerTab.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
IconSelector.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
index.ts Geomap: Add rotation option for markers layer (#41992) 2021-11-23 08:23:43 -08:00
NumberInput.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ResourceCards.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ResourceDimensionEditor.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ResourcePicker.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ResourcePickerPopover.tsx FileStorage: Add upload form (#46749) 2022-04-27 15:12:48 -04:00
ScalarDimensionEditor.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ScaleDimensionEditor.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
TextDimensionEditor.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
URLPickerTab.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00