change(ui): dashboard inputs

This commit is contained in:
Shekar Siri 2024-07-04 10:45:16 +02:00
parent 55bb721a64
commit 3be7a63850
3 changed files with 6 additions and 8 deletions

View file

@ -402,7 +402,7 @@ export const CARD_LIST: CardType[] = [
// Errors Tracking
{
title: 'JS Errors',
title: 'Sessions Impacted by JS Errors',
key: FilterKey.IMPACTED_SESSIONS_BY_JS_ERRORS,
cardType: ERRORS,
metricOf: FilterKey.IMPACTED_SESSIONS_BY_JS_ERRORS,

View file

@ -111,18 +111,17 @@ const FilterSection = observer(({ metric, excludeFilterKeys }: any) => {
}
{!isSingleSeries && canAddSeries && (
<Card styles={{ body: { padding: '4px' } }}>
<Card styles={{body: {padding: '4px'}}} className='rounded-full shadow-sm'>
<Button
type="link"
onClick={() => {
metric.addSeries();
type='link'
onClick={() => {metric.addSeries();
}}
disabled={!canAddSeries}
size="small"
className='block w-full'
>
<Space>
<AudioWaveform size={16} />
<AudioWaveform size={16}/>
New Chart Series
</Space>
</Button>

View file

@ -144,7 +144,6 @@ function WidgetView(props: Props) {
{/*<div className="bg-white rounded border mt-3">*/}
{/* <WidgetForm expanded={expanded} onDelete={onBackHandler} {...props} />*/}
{/*</div>*/}
<div className="my-1" />
<WidgetPreview name={widget.name} isEditing={expanded} />