Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose a way to add cluster frame components in Extension API #6385

Merged
merged 26 commits into from Nov 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
a12f5d7
Add cluster modals registrator
aleksfront Oct 10, 2022
3bdbf2b
Merge branch 'master' into app-modal-registry
aleksfront Oct 10, 2022
a604789
Add ClusterModal components and injection token
aleksfront Oct 10, 2022
1a75247
Add clusterModals tests
aleksfront Oct 10, 2022
81c276f
Update snapshots and use css modules
aleksfront Oct 10, 2022
cc8db57
Linter fixes
aleksfront Oct 10, 2022
1b41754
Setting 0 height as an inline style
aleksfront Oct 10, 2022
844a801
Update snapshots
aleksfront Oct 11, 2022
d418e44
Merge branch 'master' into app-modal-registry
aleksfront Oct 11, 2022
136823c
Merge branch 'master' into app-modal-registry
aleksfront Oct 22, 2022
aed4778
Do not export clusterModalsInjectionToken to extensions
aleksfront Oct 22, 2022
60912a9
Testing changing visibility flag
aleksfront Oct 23, 2022
adcdc58
Linter fix
aleksfront Oct 23, 2022
8d3a61d
Refactor cluster modals registrator and injectable
aleksfront Oct 24, 2022
1bc4ee7
Linter fixes
aleksfront Oct 24, 2022
92fcff1
Harder linter fix
aleksfront Oct 24, 2022
239e3ea
Fix linter again
aleksfront Oct 24, 2022
e2b911c
Merge branch 'master' into app-modal-registry
aleksfront Oct 24, 2022
a46c9d4
Merge branch 'master' into app-modal-registry
aleksfront Nov 2, 2022
6cf0000
Using clusterFrameChildComponentsInjectionToken
aleksfront Nov 3, 2022
f4febce
Removing unused files
aleksfront Nov 3, 2022
fa5ba3e
Removing unused modal registration
aleksfront Nov 3, 2022
f77d5c0
Improving tests
aleksfront Nov 3, 2022
6fa72fe
Fix linting
jansav Nov 4, 2022
723b769
Update snapshots
jansav Nov 4, 2022
0a96c77
Rename test suite for consistency
jansav Nov 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/extensions/lens-renderer-extension.ts
Expand Up @@ -28,11 +28,13 @@ import type { LensRendererExtensionDependencies } from "./lens-extension-set-dep
import type { KubeObjectHandlerRegistration } from "../renderer/kube-object/handler";
import type { AppPreferenceTabRegistration } from "../features/preferences/renderer/compliance-for-legacy-extension-api/app-preference-tab-registration";
import type { KubeObjectDetailRegistration } from "../renderer/components/kube-object-details/kube-object-detail-registration";
import type { ClusterFrameChildComponent } from "../renderer/frames/cluster-frame/cluster-frame-child-component-injection-token";

export class LensRendererExtension extends LensExtension<LensRendererExtensionDependencies> {
globalPages: registries.PageRegistration[] = [];
clusterPages: registries.PageRegistration[] = [];
clusterPageMenus: registries.ClusterPageMenuRegistration[] = [];
clusterFrameComponents: ClusterFrameChildComponent[] = [];
kubeObjectStatusTexts: KubeObjectStatusRegistration[] = [];
appPreferences: AppPreferenceRegistration[] = [];
appPreferenceTabs: AppPreferenceTabRegistration[] = [];
Expand Down