grafana/public
Levente Balogh a1c565dec9
Data Connections: Add data sources (#52436)
* feat: show data-sources under the data-connections page

* refactor: add a constant for data-sources routes

* refactor: add a context that holds the currently active data-sources routes

* refactor: use the data-sources routes constant wherever possible

* refactor: use the data-sources routes context wherever possible

* feat(data-connections): add edit and new pages

* feat(data-connections): set the the custom routes via the context provider

* fix(data-connections): set the active tab properly

We needed to update the routes to match with the ones on the backend ("data-sources" vs "datasources"),
and we also needed to check if it is the default tab, in which case we would like to highlight the Datasources tab.

* tests: fix tests for Data Connections page

* fix: address rebase issues

* tests: find button based on role and text

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* fix: add missing closing ) paren in tests

* refactor: use implicit return types for components

* tests: change role from "button" to "link"

* refactor: stop using unnecessary wrapper components

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-07-25 14:29:21 +02:00
..
app Data Connections: Add data sources (#52436) 2022-07-25 14:29:21 +02:00
dashboards Dashboard: Remove super old prop that has not been used in years (#50826) 2022-06-17 14:55:35 +02:00
emails Alerting: Preserve new-lines from custom email templates in rendered email (#52253) 2022-07-19 11:05:50 -05:00
fonts chore: remove executable permissions of source files and docs (#46303) 2022-05-03 12:08:14 +02:00
gazetteer Geomap: Add GeoJSON gazetteer (#40589) 2021-10-19 21:05:55 -07:00
img Service accounts: Use new icon (#50140) 2022-06-03 11:23:19 +03:00
lib AzureMonitor: Kusto language support (#33528) 2021-05-11 16:48:59 +02:00
locales I18n: Change locale format to IETF language tag (#52596) 2022-07-22 10:50:00 -04:00
maps Geomap: include sample geojson files (#39057) 2021-09-10 09:05:03 -07:00
sass fix: set RGL wrapper height to auto to remove empty space below the panel (#52122) 2022-07-14 13:28:50 +02:00
test GrafanaContext: Exploring a way to get rid of global scope singletons (#52128) 2022-07-23 17:09:03 +02:00
testdata MarketTrend: add new alpha panel (#40909) 2021-11-05 18:01:26 -07:00
vendor Security: Fixes javascript security warnings in old vendored libs (#50382) 2022-06-08 13:55:08 +02:00
views Build: Enable long term caching for frontend assets (#47625) 2022-05-26 11:49:18 +02:00
api-merged.json Chore: Update to the latest grafana-plugin-sdk-go and more swagger fixes (#52445) 2022-07-20 16:09:42 +03:00
api-spec.json Chore: Update to the latest grafana-plugin-sdk-go and more swagger fixes (#52445) 2022-07-20 16:09:42 +03:00
robots.txt