fix: update request payload and color in light mode for apdex (#3381)

* fix: appdex color is updated

* fix: update payload

* chore: icon is updated

---------

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
This commit is contained in:
Palash Gupta 2023-08-18 20:18:03 +05:30 committed by GitHub
parent 06bedc92dc
commit 896836b57d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 9 deletions

View File

@ -43,7 +43,7 @@ function TextToolTip({
const iconOutlinedStyle = useMemo(
() => ({
...style,
color: isDarkMode ? themeColors.navyBlue : blue[0],
color: isDarkMode ? themeColors.navyBlue : blue[6],
}),
[isDarkMode],
);

View File

@ -1,6 +1,5 @@
import { grey } from '@ant-design/colors';
import { Typography as TypographyComponent } from 'antd';
import { themeColors } from 'constants/theme';
import styled from 'styled-components';
export const HeaderContainer = styled.div<{ hover: boolean }>`
@ -46,9 +45,9 @@ export const WidgetHeaderContainer = styled.div`
export const Typography = styled(TypographyComponent)`
&&& {
color: ${themeColors.white};
width: auto;
margin-left: 0.2rem;
color: ${grey[2]};
}
`;

View File

@ -331,8 +331,8 @@ export const apDexMetricsQueryBuilderQueries = ({
isColumn: false,
type: MetricsType.Tag,
},
op: OPERATORS['='],
value: 'STATUS_CODE_UNSET',
op: OPERATORS['!='],
value: 'STATUS_CODE_ERROR',
},
{
id: '',
@ -390,8 +390,8 @@ export const apDexMetricsQueryBuilderQueries = ({
isColumn: false,
type: MetricsType.Tag,
},
op: OPERATORS['='],
value: 'STATUS_CODE_UNSET',
op: OPERATORS['!='],
value: 'STATUS_CODE_ERROR',
},
{
id: '',

View File

@ -2,7 +2,6 @@ import {
Button as ButtonComponent,
Typography as TypographyComponent,
} from 'antd';
import { themeColors } from 'constants/theme';
import styled from 'styled-components';
export const Button = styled(ButtonComponent)`
@ -21,7 +20,6 @@ export const Typography = styled(TypographyComponent)`
&&& {
width: 24rem;
margin: 0.5rem 0;
color: ${themeColors.white};
}
`;