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

feat(wmg): 3701 Remove beta tag #545

Merged
merged 2 commits into from
Dec 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/__tests__/e2e/__snapshots__/e2e.test.ts.snap

Large diffs are not rendered by default.

11 changes: 1 addition & 10 deletions client/src/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,7 @@ import { track } from "../../analytics";
import { EVENTS } from "../../analytics/events";
import { ROUTES } from "./routes";
import Icon from "../icon/icon";
import {
BetaChip,
Left,
LinkWrapper,
MainWrapper,
Nav,
Right,
Wrapper,
} from "./style";
import { Left, LinkWrapper, MainWrapper, Nav, Right, Wrapper } from "./style";

function handleMenuClick() {
track(EVENTS.EXPLORER_MENU_BUTTON_CLICKED);
Expand Down Expand Up @@ -79,7 +71,6 @@ const Header = (props: HeaderProps) => {
text="Gene Expression"
onClick={handleWMGClick}
/>
<BetaChip label="Beta" size="small" />
</LinkWrapper>
</Nav>
</Left>
Expand Down
10 changes: 1 addition & 9 deletions client/src/components/NavBar/style.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Classes, Colors } from "@blueprintjs/core";
import { Chip } from "czifui";
import styled from "@emotion/styled";
import { css } from "@emotion/react";
import { GRAY, PT_GRID_SIZE_PX, PT_TEXT_COLOR } from "./theme";
import { GRAY, PT_TEXT_COLOR } from "./theme";
import { HEADER_HEIGHT_PX } from "../../globals";

export const Wrapper = styled.div`
Expand Down Expand Up @@ -81,10 +80,3 @@ export const LinkWrapper = styled.span`
display: flex;
align-items: center;
`;

export const BetaChip = styled(Chip)`
background: #7a41ce;
color: white;
margin-left: ${PT_GRID_SIZE_PX / 2}px;
height: ${PT_GRID_SIZE_PX * 2}px !important;
`;