Plugins: Add grafana/user/profile/tab plugin extension point (#77863)

* add grafana/user/profile/settings
plugin extension point

* changes to support plugins having their
own settings tabs

* WIP

* add comment

* add unit tests

* allow setting open tab based on tab query param

* update name of extension point

* add some more unit tests

* address PR comments

* PR comments
This commit is contained in:
Joey Orlando
2023-12-01 10:18:27 -05:00
committed by GitHub
parent 517746dc83
commit ea7a179f2a
10 changed files with 271 additions and 13 deletions

View File

@@ -421,6 +421,8 @@ export const Components = {
preferencesSaveButton: 'data-testid-shared-prefs-save',
orgsTable: 'data-testid-user-orgs-table',
sessionsTable: 'data-testid-user-sessions-table',
extensionPointTabs: 'data-testid-extension-point-tabs',
extensionPointTab: (tabId: string) => `data-testid-extension-point-tab-${tabId}`,
},
FileUpload: {
inputField: 'data-testid-file-upload-input-field',