mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-18 01:55:52 +08:00
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:
parent
06bedc92dc
commit
896836b57d
@ -43,7 +43,7 @@ function TextToolTip({
|
|||||||
const iconOutlinedStyle = useMemo(
|
const iconOutlinedStyle = useMemo(
|
||||||
() => ({
|
() => ({
|
||||||
...style,
|
...style,
|
||||||
color: isDarkMode ? themeColors.navyBlue : blue[0],
|
color: isDarkMode ? themeColors.navyBlue : blue[6],
|
||||||
}),
|
}),
|
||||||
[isDarkMode],
|
[isDarkMode],
|
||||||
);
|
);
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import { grey } from '@ant-design/colors';
|
import { grey } from '@ant-design/colors';
|
||||||
import { Typography as TypographyComponent } from 'antd';
|
import { Typography as TypographyComponent } from 'antd';
|
||||||
import { themeColors } from 'constants/theme';
|
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
||||||
export const HeaderContainer = styled.div<{ hover: boolean }>`
|
export const HeaderContainer = styled.div<{ hover: boolean }>`
|
||||||
@ -46,9 +45,9 @@ export const WidgetHeaderContainer = styled.div`
|
|||||||
|
|
||||||
export const Typography = styled(TypographyComponent)`
|
export const Typography = styled(TypographyComponent)`
|
||||||
&&& {
|
&&& {
|
||||||
color: ${themeColors.white};
|
|
||||||
width: auto;
|
width: auto;
|
||||||
margin-left: 0.2rem;
|
margin-left: 0.2rem;
|
||||||
|
color: ${grey[2]};
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
@ -331,8 +331,8 @@ export const apDexMetricsQueryBuilderQueries = ({
|
|||||||
isColumn: false,
|
isColumn: false,
|
||||||
type: MetricsType.Tag,
|
type: MetricsType.Tag,
|
||||||
},
|
},
|
||||||
op: OPERATORS['='],
|
op: OPERATORS['!='],
|
||||||
value: 'STATUS_CODE_UNSET',
|
value: 'STATUS_CODE_ERROR',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '',
|
id: '',
|
||||||
@ -390,8 +390,8 @@ export const apDexMetricsQueryBuilderQueries = ({
|
|||||||
isColumn: false,
|
isColumn: false,
|
||||||
type: MetricsType.Tag,
|
type: MetricsType.Tag,
|
||||||
},
|
},
|
||||||
op: OPERATORS['='],
|
op: OPERATORS['!='],
|
||||||
value: 'STATUS_CODE_UNSET',
|
value: 'STATUS_CODE_ERROR',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '',
|
id: '',
|
||||||
|
@ -2,7 +2,6 @@ import {
|
|||||||
Button as ButtonComponent,
|
Button as ButtonComponent,
|
||||||
Typography as TypographyComponent,
|
Typography as TypographyComponent,
|
||||||
} from 'antd';
|
} from 'antd';
|
||||||
import { themeColors } from 'constants/theme';
|
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
||||||
export const Button = styled(ButtonComponent)`
|
export const Button = styled(ButtonComponent)`
|
||||||
@ -21,7 +20,6 @@ export const Typography = styled(TypographyComponent)`
|
|||||||
&&& {
|
&&& {
|
||||||
width: 24rem;
|
width: 24rem;
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
color: ${themeColors.white};
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user