grafana/pkg/services
Taewoo K 7f84e83ffe
Datasource: datasource config page header redesign (#66999)
* Wip

* remove name input from page body

* render title & subTitle in datasource page in connections and remove unused prop - uid

* styling on actions button group

* remove unused props in edit datasource page

* set gap as 8px between buttons

* move editable datasourcename to the header

* add subTitle component

* remove useRef and use autoFocus prop

* pass false to isDefault  when dataSource is undefined

* change button text

* remove suffix icon

* remove unused import - Icon

* consolidate duplicate useDataSourceSettingsNav into datasrouces hook

* move dataSource context to useDataSourceSettingsNav

* remove Explore button in the footer

* remove unused props

* fix failing test on button group

* fix typo on file naming

* remove disabled prop

* fix param

* add test

* add test files

* disable editing title in readOnly provision datasource

* update name should save dataSource

* prevent swith toggle change from label clicking and change margin

* update tooltip message

* use datasource update on header instead of state update

* remvoe subTitle component and move subTitle component next to page Info component

* Added title

* remove subTitle in buildNavModel

* replace Button with Badge

* make datasourceheader as a component

* horizontal gap of 24px between pageInfo and actions components

* align page Info value items

* accept react node as page info label and add tooltip to Default item

* update navId for edit datasource page in connections

* update unit testing for Title

* fix gen_que

* betterer

* prettier fix

* fix e2e test

* add data-testid to nameEditIcon selector

* fix tooltip text

* fix navId for connections datasources edit page

* fix e2e selector: change autoSizeInput to Input

* adding ellipsis to EditDataSourceTitle

* override grafana-ui titleContainer h1 styles

* UI cleanup and apply readOnly to default datasource switch

* add period

* datasource name validation

* title and page info alignment

* add feature toggle - dataSourcePageHeader

* restore basicSettings component and apply feature toggle

* go lint

* Revert "title and page info alignment"

This reverts commit 681ac51f11.

* remove editable fields from page Header - name, default datasource switch

* fix go test: toggle generator

* remove test id

* remove alerting badge in BasicSettings component

* Revert "remove alerting badge in BasicSettings component"

This reverts commit fb33ff9028.

* feature toggle on alerting badge

* rename component & filename

* move DataSourceInfo type

* change button to link in test

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Miguel Palau Zarza <mpalauzarza@gmail.com>
2023-05-23 09:18:00 -04:00
..
accesscontrol RBAC: Refine validation of external services permissions (#68633) 2023-05-17 16:28:14 +02:00
alerting RBAC: refactoring alertingQuery to remove OrgRole check (#67808) 2023-05-11 09:04:22 +01:00
annotations Annotations: Improve get tags query performance (#66182) 2023-04-18 13:27:40 +03:00
anonymous AnonymousService: Test tagging service (#64708) 2023-03-14 10:47:34 +01:00
apikey Chore: Remove result field from API keys commands and queries (#65055) 2023-03-21 13:26:33 +01:00
auth Auth: Respect cache control for JWKS in auth.jwt (#68872) 2023-05-23 12:29:10 +02:00
authn AnonymousAuth: Fix concurrent read-write crash (#68637) 2023-05-22 13:27:28 +02:00
caching Caching: Consolidate resource cache checking and updating in plugin middleware (#67002) 2023-04-21 13:03:49 -04:00
cleanup Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
contexthandler AnonymousAuth: Fix concurrent read-write crash (#68637) 2023-05-22 13:27:28 +02:00
correlations Correlations: Add usage stats about correlations (#66021) 2023-04-11 08:53:34 +02:00
dashboardimport Dashboards: Avoid adding unused revision property (#64362) 2023-03-08 08:26:38 -08:00
dashboards RBAC: Do not search for parents of the root folder (#67746) 2023-05-04 09:36:36 +01:00
dashboardsnapshots Snapshots: Add snapshot enable config (#61587) 2023-01-26 10:28:11 -03:00
dashboardversion API: Fix "Updated by" Column in dashboard versions table (#65351) 2023-03-30 17:31:53 +03:00
datasourceproxy Caching: Refactor enterprise query caching middleware to a wire service (#65616) 2023-04-12 12:30:33 -04:00
datasources Datasources: provide generic function to extract custom headers (#66738) 2023-04-19 17:04:30 +02:00
encryption Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
featuremgmt Datasource: datasource config page header redesign (#66999) 2023-05-23 09:18:00 -04:00
folder API: Add deprecation notice for updating folder UID (#68543) 2023-05-16 18:28:18 +03:00
grpcserver ApiKeyGenPrefix: rename package (#65623) 2023-03-30 17:04:10 +02:00
guardian Cfg: Move ViewersCanEdit into cfg (#64876) 2023-03-16 10:54:01 +01:00
hooks chore: move user_auth models to (mostly) login service (#62269) 2023-01-27 13:36:54 -05:00
kmsproviders Encryption: Refactor secrets.Service initialization (#51091) 2022-07-07 09:48:25 +02:00
ldap HTTP: Add TLS version configurability for Grafana server (#67482) 2023-05-08 17:11:36 +02:00
libraryelements RBAC: Update library element tests to use RBAC (#66782) 2023-04-20 12:24:41 +03:00
librarypanels RBAC: Update library element tests to use RBAC (#66782) 2023-04-20 12:24:41 +03:00
licensing Chore: Clean up old navigation (#66287) 2023-04-14 09:43:11 +01:00
live Live: Update Centrifuge to the latest version (#66637) 2023-04-18 21:47:15 -07:00
login Chore: Remove result fields from login (#65136) 2023-03-28 20:32:21 +02:00
loginattempt Chore: Remove result field from loginattempt (#65117) 2023-03-22 21:25:29 +01:00
navtree Connections: Rename "Your data source" to "Data source" page (#67662) 2023-05-03 09:39:13 +02:00
ngalert Alerting: Fix status code of successful response POST /api/alertmanager/grafana/api/v2/silences in swagger specs (#67951) 2023-05-15 11:23:30 -04:00
notifications Chore: Remove result field from notifications (#65170) 2023-03-28 13:44:15 +02:00
oauthtoken Chore: Remove result fields from login (#65136) 2023-03-28 20:32:21 +02:00
org Auth: Fix orgrole picker disabled if isSynced user (#64033) 2023-03-22 17:41:59 +00:00
playlist Kindsys: Target k8s style resource definitions (#67008) 2023-04-27 23:32:38 +03:00
plugindashboards Plugins: Add file store abstraction for handling plugin files (#65432) 2023-03-29 12:55:55 +02:00
pluginsintegration Chore: Allow to force the download of the public key (#67486) 2023-04-28 16:00:48 +02:00
preference Themes: Adds support for extraThemes (behind feature toggle) (#67981) 2023-05-10 15:37:04 +02:00
provisioning Alerting: Update alerting module to 20230418161049-5f374e58cb32 + refactoring (#66622) 2023-04-25 13:39:46 -04:00
publicdashboards PublicDashboards: Return custom meta field (#67538) 2023-04-28 15:03:30 -03:00
query SSE: (Instrumentation) Add Tracing (#66700) 2023-04-18 08:04:51 -04:00
queryhistory Query History: Remove migration (#67470) 2023-04-28 16:03:51 +01:00
quota Chore: Remove xorcare/pointer dependency (#63900) 2023-03-06 05:23:15 -05:00
rendering Rendering: Experimental support to use JWTs as auth method (#60841) 2023-04-03 18:53:38 +02:00
screenshot Alerting: Fix a bug taking screenshots with Dashboard UID (#63220) 2023-02-09 15:23:01 -05:00
search Chore: Remove result field from search (#65583) 2023-03-30 11:28:12 +02:00
searchusers Chore: Move ReqContext to contexthandler service (#62102) 2023-01-27 08:50:36 +01:00
searchV2 Instrumentation: Add support for instrumenting database queries (#66022) 2023-04-28 15:19:06 +02:00
secrets Chore: Remove result field from remaining datasources queries (#65054) 2023-03-20 19:18:21 +01:00
serviceaccounts fix shadow log in service accounts (#67643) 2023-05-02 13:57:46 +02:00
shorturls Chore: Replace short UID generation with more standard UUIDs (#62731) 2023-02-06 20:44:37 -05:00
signingkeys Auth: Add alpha version of the Extended JWT client (#67999) 2023-05-11 15:12:53 +02:00
sqlstore Migrations: Support independent migration log for entity api (#68511) 2023-05-22 11:31:07 -07:00
star API: Fix status code when starring already starred dashboard (#63478) 2023-05-11 11:37:36 +03:00
stats UsageStats: Add database age and driver (#66535) 2023-04-17 18:27:04 -07:00
store Migrations: Support independent migration log for entity api (#68511) 2023-05-22 11:31:07 -07:00
supportbundles Support bundles: fix user collector permissions and format collector output (#64531) 2023-03-09 11:43:18 -05:00
tag Annotations: Ignore unique constraint violations for tags (#65935) 2023-04-18 14:21:38 +02:00
team Chore: Remove legacy AC checks from team (#68715) 2023-05-22 18:41:53 +02:00
temp_user Users: Enable case insensitive login by default (#66134) 2023-04-28 16:38:58 +01:00
updatechecker Plugins: Improve instrumentation by adding metrics and tracing (#61035) 2023-03-28 11:01:06 +02:00
user Separate authn flow from analytics (#68327) 2023-05-15 18:38:54 +02:00
validations chore: move validations model into the validations service (#61953) 2023-01-23 15:10:14 -05:00