grafana/public/app/features
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
..
admin LDAP: Fix listing all non-matching groups (#86682) 2024-04-22 15:34:16 +02:00
alerting PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
annotations Datasource: Change query filtering (#84656) 2024-03-21 13:39:39 +01:00
api-keys EmptyState: Provide custom messages for existing empty states (#86021) 2024-04-12 11:08:14 +02:00
apiserver Implement API server client in Scopes (#85266) 2024-04-15 13:43:42 +03:00
auth-config SSO: filter out SAML from the SSO providers in UI (#86768) 2024-04-23 16:55:01 +03:00
browse-dashboards EmptyState: Apply call-to-action variant in core (#86448) 2024-04-22 17:01:24 +01:00
canvas Canvas: Match connection anchor points to elements (#85421) 2024-04-23 14:26:53 -07:00
commandPalette PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
connections EmptyState: use not-found empty state variant everywhere in core (#85007) 2024-03-27 12:15:12 +00:00
correlations EmptyState: Apply call-to-action variant in core (#86448) 2024-04-22 17:01:24 +01:00
dashboard PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
dashboard-scene PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
dataframe-import Drag&Drop: Dynamically load sheets module (#69536) 2023-06-08 10:24:49 +02:00
datasources PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
dimensions Chore: removing some type assertions (#85839) 2024-04-10 14:54:31 +01:00
explore PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
expressions Alerting: Rename "classic condition" to "classic condition (legacy)" (#84743) 2024-03-19 16:29:08 +02:00
folders/state Alerting: Remove legacy alerting (#83671) 2024-03-14 15:36:35 +01:00
geo Chore: Some test type fixes (#81812) 2024-02-05 09:47:30 +00:00
inspector Dashboards: Fix issue with changing panel JSON from edit view (#85717) 2024-04-08 12:49:38 +01:00
invites Chore: Replace deprecated Form imports (#84537) 2024-03-16 09:48:05 +02:00
library-panels EmptyState: Apply call-to-action variant in core (#86448) 2024-04-22 17:01:24 +01:00
live Live: Improve the debug panel and add a devenv dashbaord (#83350) 2024-02-26 07:56:35 -08:00
logs Common labels/displayed fields: Show label names with values (#86345) 2024-04-18 16:25:58 +02:00
manage-dashboards EmptyState: Apply call-to-action variant in core (#86448) 2024-04-22 17:01:24 +01:00
migrate-to-cloud E2C: Remove ModalController from MigrationTokenPage (#86709) 2024-04-23 11:23:06 +01:00
notifications EmptyState: Apply completed empty state in Notifications page (#86504) 2024-04-19 13:46:03 +01:00
org Chore: Replace VerticalGroup in OrgDetailsPage and BenchmarksPage (#86621) 2024-04-19 16:28:51 +01:00
panel Fix sending maxDataPoints as string (#85561) 2024-04-04 11:11:18 +02:00
playlist EmptyState: Apply call-to-action variant in core (#86448) 2024-04-22 17:01:24 +01:00
plugins PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
profile PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
query Explore: Nested Content Outline (#80688) 2024-03-28 09:06:52 -06:00
runtime Dashboard: Fixes save drawer always comparing changes against first loaded version (#76506) 2023-10-13 16:23:23 +02:00
sandbox Chore: Replace VerticalGroup in OrgDetailsPage and BenchmarksPage (#86621) 2024-04-19 16:28:51 +01:00
search Chore: ActionRow - Replace HorizontalGroup with Stack (#86143) 2024-04-15 15:57:15 +02:00
serviceaccounts EmptyState: Apply call-to-action variant in core (#86448) 2024-04-22 17:01:24 +01:00
storage Chore: Replace deprecated Form imports (#84537) 2024-03-16 09:48:05 +02:00
support-bundles Chore: Replace deprecated Form imports (#84537) 2024-03-16 09:48:05 +02:00
teams EmptyState: Apply call-to-action variant in core (#86448) 2024-04-22 17:01:24 +01:00
templating Variables: Multi-select DataSource variables are inconsistently displayed in the Data source picker (#76039) 2024-03-18 10:30:27 +01:00
trails fix: datatrail link to "open in explore" prefix with config.appSubUrl (#86375) 2024-04-17 16:40:40 +02:00
transformers Docs: Update example docs for rename by regex (#86627) 2024-04-19 21:04:54 +02:00
users RBAC: Render team, service account and user list when a user can see entities but not roles attached to them (#79642) 2023-12-18 15:55:02 +01:00
variables EmptyState: Apply call-to-action variant in core (#86448) 2024-04-22 17:01:24 +01:00
visualization/data-hover VizTooltips: Remove remaining old bits (#85500) 2024-04-02 19:32:01 -05:00
all.ts Chore: Remove empty and leftover files (#55757) 2022-09-26 11:33:07 -04:00