change(ui) - hide longs tasks, replayer sourcemaps

This commit is contained in:
Shekar Siri 2021-09-16 19:27:31 +05:30
parent a7440094d8
commit 08e4d58933
3 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@ import { connectPlayer } from 'Player';
import NewBadge from 'Shared/NewBadge';
const EVENTS = 'Events';
const HEATMAPS = 'Heatmaps';
const HEATMAPS = 'Click Map';
const TABS = [ EVENTS, HEATMAPS ].map(tab => ({ text: tab, key: tab }));

View file

@ -14,7 +14,7 @@ import BottomBlock from '../BottomBlock';
@connect(state => ({
session: state.getIn([ 'sessions', 'current' ]),
errorStack: state.getIn([ 'sessions', 'errorStack' ]),
sourceMapUploaded: state.getIn([ 'sessions', 'sourceMapUploaded' ]),
sourcemapUploaded: state.getIn([ 'sessions', 'sourcemapUploaded' ]),
loading: state.getIn([ 'sessions', 'fetchErrorStackList', 'loading' ])
}), { fetchErrorStackList })
export default class Exceptions extends React.PureComponent {
@ -33,7 +33,7 @@ export default class Exceptions extends React.PureComponent {
closeModal = () => this.setState({ currentError: null})
render() {
const { exceptions, loading, errorStack, sourceMapUploaded } = this.props;
const { exceptions, loading, errorStack, sourcemapUploaded } = this.props;
const { filter, currentError } = this.state;
const filterRE = getRE(filter, 'i');
@ -63,7 +63,7 @@ export default class Exceptions extends React.PureComponent {
show={ !loading && errorStack.size === 0 }
title="Nothing found!"
>
<ErrorDetails error={ currentError.name } errorStack={errorStack} sourceMapUploaded={sourceMapUploaded} />
<ErrorDetails error={ currentError.name } errorStack={errorStack} sourcemapUploaded={sourcemapUploaded} />
</NoContent>
</Loader>
</div>

View file

@ -399,7 +399,7 @@ export default class Controls extends React.Component {
icon="tachometer-slow"
/>
}
{ !live && showLongtasks &&
{/* { !live && showLongtasks &&
<ControlButton
disabled={ disabled }
onClick={ () => toggleBottomBlock(LONGTASKS) }
@ -407,7 +407,7 @@ export default class Controls extends React.Component {
label="Long Tasks"
icon="business-time"
/>
}
} */}
<div className={ styles.divider } />
{ !live &&
<React.Fragment>