mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Removing Catalog link from bottom bar
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
8a9606ec74
commit
60008bf5a6
@ -45,7 +45,7 @@ describe("Lens cluster pages", () => {
|
||||
utils.describeIf(ready)("test common pages", () => {
|
||||
let clusterAdded = false;
|
||||
const addCluster = async () => {
|
||||
await app.client.waitForExist("#hotbarIcon-catalog-entity");
|
||||
await app.client.waitUntilTextExists("div", "Catalog");
|
||||
await waitForMinikubeDashboard(app);
|
||||
await app.client.click('a[href="/nodes"]');
|
||||
await app.client.waitUntilTextExists("div.TableCell", "Ready");
|
||||
|
||||
@ -99,8 +99,8 @@ export async function appStart() {
|
||||
}
|
||||
|
||||
export async function showCatalog(app: Application) {
|
||||
await app.client.waitUntilTextExists("[data-test-id=catalog-link]", "Catalog");
|
||||
await app.client.click("[data-test-id=catalog-link]");
|
||||
await app.client.waitForExist("#hotbarIcon-catalog-entity");
|
||||
await app.client.click("#hotbarIcon-catalog-entity");
|
||||
}
|
||||
|
||||
type AsyncPidGetter = () => Promise<number>;
|
||||
|
||||
@ -27,18 +27,6 @@
|
||||
padding: 0 2px;
|
||||
height: var(--bottom-bar-height);
|
||||
|
||||
#catalog-link {
|
||||
font-size: var(--font-size-small);
|
||||
color: white;
|
||||
padding: $padding / 4 $padding / 2;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background-color: #ffffff33;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.extensions {
|
||||
font-size: var(--font-size-small);
|
||||
color: white;
|
||||
|
||||
@ -24,9 +24,6 @@ import "./bottom-bar.scss";
|
||||
import React from "react";
|
||||
import { observer } from "mobx-react";
|
||||
import { StatusBarRegistration, StatusBarRegistry } from "../../../extensions/registries";
|
||||
import { navigate } from "../../navigation";
|
||||
import { Icon } from "../icon";
|
||||
import { catalogURL } from "../../../common/routes";
|
||||
|
||||
@observer
|
||||
export class BottomBar extends React.Component {
|
||||
@ -67,10 +64,6 @@ export class BottomBar extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="BottomBar flex gaps">
|
||||
<div id="catalog-link" data-test-id="catalog-link" className="flex gaps align-center" onClick={() => navigate(catalogURL())}>
|
||||
<Icon smallest material="view_list"/>
|
||||
<span className="catalog-link" data-test-id="catalog-link">Catalog</span>
|
||||
</div>
|
||||
{this.renderRegisteredItems()}
|
||||
</div>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user