grafana/public/app/features/plugins
Marcus Efraimsson 0e8377a9f4 Update logic for create/update dashboard, validation and plugin dashboard links (#10809)
* enables overwrite if dashboard allready exist in folder

* dashboard: Don't allow creating a folder named General

* dashboards: update logic for save/update dashboard

No id and uid creates a new dashboard/folder.
No id and uid, with an existing title in folder allows overwrite
  of dashboard.
Id without uid, allows update of existing dashboard/folder without
  overwrite.
Uid without id allows update of existing dashboard/folder without
  overwrite.
Id without uid, with an existing title in folder allows overwrite
  of dashboard/folder and updated will have the uid of overwritten.
Uid without id, with an existing title in folder allows overwrite
  of dashboard/folder and new will have the same uid as provided.
Trying to change an existing folder to a dashboard yields error.
Trying to change an existing dashboard to a folder yields error.

* dashboards: include folder id when confirmed to save with overwrite

* dashboards: fixes due to new url structure

Return importedUrl property in response to importing dashboards and
getting plugin dashboards and use this for redirects/links in the
frontend.
2018-02-08 12:48:38 +01:00
..
import_list Update logic for create/update dashboard, validation and plugin dashboard links (#10809) 2018-02-08 12:48:38 +01:00
partials fix: error handling now displays page correctly, fixes #10777 2018-02-06 12:28:17 +01:00
specs prettier: ran on all files again, sorry. now settings are defined in package.json 2017-12-21 08:39:31 +01:00
all.ts feat: ds edit nav 2018-01-18 17:42:40 +01:00
built_in_plugins.ts prettier: change to single quoting 2017-12-20 12:33:33 +01:00
datasource_srv.ts fix: fixed issue with optimized build, fixes #10333 2017-12-23 08:34:48 +01:00
ds_dashboards_ctrl.ts ds: updated ds nav 2018-01-18 18:17:58 +01:00
ds_edit_ctrl.ts ds: updated ds nav 2018-01-18 18:17:58 +01:00
ds_list_ctrl.ts prettier: ran on all files again, sorry. now settings are defined in package.json 2017-12-21 08:39:31 +01:00
plugin_component.ts prettier: ran on all files again, sorry. now settings are defined in package.json 2017-12-21 08:39:31 +01:00
plugin_edit_ctrl.ts dashfolder: refactor breadcrumbs in PageHeader 2018-01-11 17:53:06 +01:00
plugin_list_ctrl.ts prettier: ran on all files again, sorry. now settings are defined in package.json 2017-12-21 08:39:31 +01:00
plugin_loader.ts prettier: change to single quoting 2017-12-20 12:33:33 +01:00
plugin_page_ctrl.ts dashfolder: refactor breadcrumbs in PageHeader 2018-01-11 17:53:06 +01:00
row_ctrl.ts cleanup: removed unused typescript typings import 2018-01-04 10:12:02 +01:00