mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix: remove hotbar name from status bar (#4679)
* Show tooltip with hotbar name manually Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Remove this.refreshPosition() call Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Remove hotbar name from status bar Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Convert HotbarSelector to use css modules Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Remove unused export Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fixing linter Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Clean up Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Invert invisible prop Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Linter fix Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
e862d5bf1d
commit
74d92d09d9
9 files changed
+85
-167
No files matched your search
@@ -12,4 +12,3 @@ export * from "./kube-object-menu-registry";
|
||||
export * from "./registries";
|
||||
export * from "./workloads-overview-detail-registry";
|
||||
export * from "./catalog-category-registry";
|
||||
export * from "./status-bar-registry";
|
||||
@@ -1,19 +0,0 @@
|
||||
/**
|
||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
|
||||
import React from "react";
|
||||
import { StatusBarRegistry } from "../../extensions/registries";
|
||||
import { ActiveHotbarName } from "../components/cluster-manager/active-hotbar-name";
|
||||
|
||||
export function initStatusBarRegistry() {
|
||||
StatusBarRegistry.getInstance().add([
|
||||
{
|
||||
components: {
|
||||
Item: () => <ActiveHotbarName/>,
|
||||
position: "left",
|
||||
},
|
||||
},
|
||||
]);
|
||||
}
|
||||
Reference in new issue
Block a user