grafana/public/app/features/profile
Marcus Andersson 804c726413
PluginExtensions: Make the extensions registry reactive (#83085)
* feat: add a reactive extension registry

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* feat: add hooks to work with the reactive registry

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* feat: start using the reactive registry

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* feat: update the "command palette" extension point to use the hook

* feat: update the "alerting" extension point to use the hooks

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* feat: update the "explore" extension point to use the hooks

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* feat: update the "datasources config" extension point to use the hooks

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* feat: update the "panel menu" extension point to use the hooks

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* feat: update the "pyroscope datasource" extension point to use the hooks

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* feat: update the "user profile page" extension point to use the hooks

* chore: update betterer

* fix: update the hooks to not re-render unnecessarily

* chore: remove the old `createPluginExtensionRegistry` impementation

* chore: add "TODO" for `PanelMenuBehaviour` extension point

* feat: update the return value of the hooks to contain a `{ isLoading }` param

* tests: add more tests for the usePluginExtensions() hook

* fix: exclude the cloud-home-app from being non-awaited

* refactor: use uuidv4() for random ID generation (for the registry object)

* fix: linting issue

* feat: use the hooks for the new alerting extension point

* feat: use `useMemo()` for `AlertInstanceAction` extension point context

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2024-04-24 09:33:16 +02:00
..
state Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
api.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ChangePasswordForm.tsx Chore: Replace HorizontalGroup with Stack in SelectOrgPage and ChangePasswordForm (#86061) 2024-04-12 16:32:57 +01:00
ChangePasswordPage.test.tsx Chore: Clean up old navigation (#66287) 2023-04-14 09:43:11 +01:00
ChangePasswordPage.tsx Chore: Clean up old navigation (#66287) 2023-04-14 09:43:11 +01:00
FeatureTogglePage.tsx TopNav: New page layouts (#51510) 2022-07-06 17:00:56 +02:00
routes.tsx Page: Update profile page components to use new navId (#51664) 2022-07-11 14:35:30 +02:00
types.ts Admin: Fixes infinite loading edit profile page (#34627) 2021-05-25 14:48:16 +02:00
UserOrganizations.tsx Chore: Removes gf-form from profile/user (#79552) 2023-12-16 09:46:54 +02:00
UserProfileEditForm.tsx Chore: Replace deprecated Form imports (#84537) 2024-03-16 09:48:05 +02:00
UserProfileEditPage.test.tsx PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
UserProfileEditPage.tsx PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
UserSessions.tsx Chore: Removes gf-form from profile/user (#79552) 2023-12-16 09:46:54 +02:00
UserTeams.tsx Chore: Removes gf-form from profile/user (#79552) 2023-12-16 09:46:54 +02:00