grafana/public/app/features/explore
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
..
__mocks__ Chore: Fix some Explore deprecations (#80076) 2024-01-08 14:11:05 +00:00
ContentOutline Explore (bugfix): Expanded section state (#86594) 2024-04-22 12:47:05 +02:00
extensions PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
FlameGraph Chore: refactor some styles in explore to use the object syntax (#80080) 2024-01-16 19:49:12 +00:00
Graph Explore: Disable cursor sync (#81698) 2024-02-01 15:09:48 +01:00
hooks chore: remove repetitive words (#86412) 2024-04-17 13:08:00 +01:00
Logs Common labels/displayed fields: Show label names with values (#86345) 2024-04-18 16:25:58 +02:00
NodeGraph Explore: Unified Node Graph Container (#72558) 2023-08-24 15:30:25 +02:00
PrometheusListView Prometheus: Use the frontend package in Prometheus and remove feature toggle (#86080) 2024-04-15 16:45:23 -05:00
RawPrometheus Chore: Fix some Explore deprecations (#80076) 2024-01-08 14:11:05 +00:00
RichHistory Explore: Query history should gracefully handle undefined exploreId on run button (#85821) 2024-04-10 07:21:29 -06:00
spec PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
state Explore: Query history does not save filtered queries (#85825) 2024-04-15 08:07:02 -05:00
Table Explore: Translate table title in runtime to get a better test id (#83236) 2024-02-28 09:19:20 +01:00
TraceView Prometheus: Use the frontend package in Prometheus and remove feature toggle (#86080) 2024-04-15 16:45:23 -05:00
utils Supplementary queries: allow plugin decoupling by allowing providers to return a request instance (#80281) 2024-01-30 12:36:20 +02:00
correlationEditLogic.test.ts Correlations: Add transformations to Explore Editor (#75930) 2023-11-02 15:09:30 -05:00
correlationEditLogic.ts Correlations: Add transformations to Explore Editor (#75930) 2023-11-02 15:09:30 -05:00
CorrelationEditorModeBar.tsx Explore: Fix URL sync with async queries import (#79584) 2024-01-04 09:50:27 +00:00
CorrelationHelper.tsx React Hook Form: Update to v 7.49.2 (#79493) 2024-01-05 12:41:49 +02:00
CorrelationTransformationAddModal.tsx Chore: Remove InputControl usage from explore (#83742) 2024-03-11 13:36:36 +02:00
CorrelationUnsavedChangesModal.tsx Correlations: Add transformations to Explore Editor (#75930) 2023-11-02 15:09:30 -05:00
CustomContainer.tsx Explore: Decouple SplitOpen and getFieldLinksForExplore from Panel visualizations (#71811) 2023-07-31 14:10:03 +02:00
ElapsedTime.tsx Chore: some type fixes (#69860) 2023-06-20 17:13:49 +01:00
ErrorContainer.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
ErrorContainer.tsx Chore: Avoid explicit React.FunctionComponent<Props> when possible (round 3) (#64839) 2023-03-16 16:56:26 +02:00
Explore.test.tsx PluginExtensions: Make the extensions registry reactive (#83085) 2024-04-24 09:33:16 +02:00
Explore.tsx Explore: Move Query History to be screen wide (#84321) 2024-04-09 07:36:46 -05:00
ExploreActions.tsx Correlations: Add an editor in Explore (#73315) 2023-10-03 09:28:29 -05:00
ExploreDrawer.tsx Explore: Move Query History to be screen wide (#84321) 2024-04-09 07:36:46 -05:00
ExplorePage.tsx Explore: Add h1 for screen readers (#85794) 2024-04-09 18:15:44 +02:00
ExplorePaneContainer.tsx Explore: Move Query History to be screen wide (#84321) 2024-04-09 07:36:46 -05:00
ExploreQueryInspector.test.tsx Explore: Move Query History to be screen wide (#84321) 2024-04-09 07:36:46 -05:00
ExploreQueryInspector.tsx Explore: Move Query History to be screen wide (#84321) 2024-04-09 07:36:46 -05:00
ExploreTimeControls.tsx Chore: Fix some Explore deprecations (#80076) 2024-01-08 14:11:05 +00:00
ExploreToolbar.tsx Explore: Remove plus icon from Add button (#83587) 2024-03-06 13:00:56 +00:00
FeatureTogglePage.tsx Chore: refactor some styles in explore to use the object syntax (#80080) 2024-01-16 19:49:12 +00:00
LiveTailButton.tsx Chore: refactor some styles in explore to use the object syntax (#80080) 2024-01-16 19:49:12 +00:00
MetaInfoText.test.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
MetaInfoText.tsx Chore: refactor some styles in explore to use the object syntax (#80080) 2024-01-16 19:49:12 +00:00
NoData.tsx Chore: refactor some styles in explore to use the object syntax (#80080) 2024-01-16 19:49:12 +00:00
NoDataSourceCallToAction.tsx Chore: refactor some styles in explore to use the object syntax (#80080) 2024-01-16 19:49:12 +00:00
QueryRows.test.tsx Explore: Move Query History to be screen wide (#84321) 2024-04-09 07:36:46 -05:00
QueryRows.tsx Explore: Nested Content Outline (#80688) 2024-03-28 09:06:52 -06:00
ResponseErrorContainer.test.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
ResponseErrorContainer.tsx Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00
SecondaryActions.test.tsx Explore: Relabel secondary actions buttons (#73605) 2023-08-22 14:36:53 +01:00
SecondaryActions.tsx Chore: refactor some styles in explore to use the object syntax (#80080) 2024-01-16 19:49:12 +00:00
ShortLinkButtonMenu.tsx Explore: Create menu for short link button (#77336) 2023-12-12 09:55:03 -06:00
SupplementaryResultError.test.tsx Chore: Adjust unit tests so they work with react 18 (#64698) 2023-03-14 17:24:04 +00:00
SupplementaryResultError.tsx Chore: refactor some styles in explore to use the object syntax (#80080) 2024-01-16 19:49:12 +00:00
Time.tsx Chore: Avoid explicit React.FC<Props> when possible (#64722) 2023-03-14 16:38:21 +02:00
TimeSyncButton.test.tsx Chore: transfer TimeSyncButton.test to testing-library (#48404) 2022-05-02 11:20:12 +02:00
TimeSyncButton.tsx Explore: move items out of topnav & use canvas variant for toolbar buttons (#60630) 2023-01-05 22:26:58 +00:00
useLiveTailControls.ts Explore: URL migrations & improved state management (#69692) 2023-06-21 10:06:28 +01:00