Skip to content

Commit

Permalink
removed beta tag on session view component (#141145)
Browse files Browse the repository at this point in the history
  • Loading branch information
animehart authored Sep 20, 2022
1 parent 1598523 commit cb28135
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
EuiPanel,
EuiHorizontalRule,
EuiFlexGroup,
EuiBetaBadge,
EuiButtonIcon,
EuiToolTip,
} from '@elastic/eui';
Expand All @@ -40,7 +39,7 @@ import {
useFetchGetTotalIOBytes,
} from './hooks';
import { LOCAL_STORAGE_DISPLAY_OPTIONS_KEY } from '../../../common/constants';
import { BETA, REFRESH_SESSION, TOGGLE_TTY_PLAYER, DETAIL_PANEL } from './translations';
import { REFRESH_SESSION, TOGGLE_TTY_PLAYER, DETAIL_PANEL } from './translations';

/**
* The main wrapper component for the session view.
Expand Down Expand Up @@ -259,9 +258,6 @@ export const SessionView = ({
<div css={styles.sessionViewerComponent}>
<EuiPanel hasShadow={false} borderRadius="none" className="sessionViewerToolbar">
<EuiFlexGroup alignItems="center" gutterSize="s">
<EuiFlexItem grow={false}>
<EuiBetaBadge label={BETA} size="s" css={styles.betaBadge} />
</EuiFlexItem>
<EuiFlexItem data-test-subj="sessionView:sessionViewProcessEventsSearch">
<SessionViewSearchBar
searchQuery={searchQuery}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const useStyles = ({ height = 500, isFullScreen }: StylesDeps) => {
const { euiTheme, euiVars } = useEuiTheme();

const cached = useMemo(() => {
const { border, colors, size } = euiTheme;
const { border, size } = euiTheme;

// 118px = Session View Toolbar height + Close Session button height + spacing margin at the bottom
const sessionView: CSSObject = {
Expand Down Expand Up @@ -55,17 +55,12 @@ export const useStyles = ({ height = 500, isFullScreen }: StylesDeps) => {
},
};

const betaBadge: CSSObject = {
backgroundColor: `${colors.emptyShade}`,
};

return {
processTree,
detailPanel,
nonGrowGroup,
resizeHandle,
sessionViewerComponent,
betaBadge,
};
}, [euiTheme, isFullScreen, height, euiVars]);

Expand Down

0 comments on commit cb28135

Please sign in to comment.