grafana/public/app/features/datasources
mikkancso c72322874d
Connections: Update "Your connections/Data sources" page (#58589)
* navtree.go: update Data sources title and subtitle

* DataSourceList: move add button to header

* DataSourcesList: add buttons to items

The action buttons are added inside `<Card.Tags>` so that they end up at
the right end of the card, as it was designed.

The "Build a Dashboard" button's functionality is not defined yet.

* DataSourcesListHeader: add sort picker

* fix css

* tests: look for the updated "Add new data source" text

* tests: use an async test method to verify component updates are wrapped in an act()

* update e2e selector for add data source button

* fix DataSourceList{,Page} tests

* add comment for en dash character

* simplify sorting

* add link to Build a Dashboard button

* fix test

* test build a dashboard and explore buttons

* test sorting data source elements

* DataSourceAddButton: hide button when user has no permission

* PageActionBar: remove unneeded '?'

* DataSourcesList: hide explore button if user has no permission

* DataSourcesListPage.test: make setup prop explicit

* DataSourcesList: use theme.spacing

* datasources: assure explore url includes appSubUrl

* fix tests and add test case for missing permissions

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-11-30 09:41:01 +01:00
..
__mocks__ refactor: rename Data Connections to Connections (#56353) 2022-10-05 09:56:58 +02:00
components Connections: Update "Your connections/Data sources" page (#58589) 2022-11-30 09:41:01 +01:00
pages Connections: Update "Your connections/Data sources" page (#58589) 2022-11-30 09:41:01 +01:00
state Connections: Update "Your connections/Data sources" page (#58589) 2022-11-30 09:41:01 +01:00
api.test.ts DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
api.ts DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
constants.ts Data Connections: Add data sources (#52436) 2022-07-25 14:29:21 +02:00
tracking.ts Datasource Config Editor: Add event-based funnel for measuring CVR (#55105) 2022-10-24 11:09:26 +02:00
types.ts Data Connections: Add data sources (#52436) 2022-07-25 14:29:21 +02:00
utils.test.ts DataSources: refactor datasource pages to be reusable (#51874) 2022-07-20 09:25:09 +02:00
utils.ts Connections: Update "Your connections/Data sources" page (#58589) 2022-11-30 09:41:01 +01:00