Skip to content

Commit 0754665

Browse files
committed
fix pr comments
1 parent 20d7306 commit 0754665

File tree

20 files changed

+23
-10
lines changed

20 files changed

+23
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.4.0",
44
"private": true,
55
"dependencies": {
6-
"@appquality/unguess-design-system": "3.0.0-colors.22",
6+
"@appquality/unguess-design-system": "3.1.0",
77
"@headwayapp/react-widget": "^0.0.4",
88
"@reduxjs/toolkit": "^1.8.0",
99
"@rtk-query/codegen-openapi": "^1.0.0-alpha.1",

src/pages/Bug/Content.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { ContainerCard } from '@appquality/unguess-design-system';
21
import { GetCampaignsByCidBugsAndBidApiResponse } from 'src/features/api';
32
import BugMeta from 'src/common/components/BugDetail/Meta';
43
import BugPriority from 'src/common/components/BugDetail/Priority';
@@ -16,15 +15,15 @@ interface Props {
1615
bug: Exclude<GetCampaignsByCidBugsAndBidApiResponse, undefined>;
1716
campaignId: string;
1817
}
19-
18+
const Container = styled.div``;
2019
const GridWrapper = styled.div`
2120
display: grid;
2221
grid-template-columns: 1fr 1fr;
2322
column-gap: ${({ theme }) => theme.space.sm};
2423
`;
2524

2625
export const Content = ({ bug, campaignId }: Props) => (
27-
<ContainerCard>
26+
<div>
2827
<BugPreviewContextProvider>
2928
<BugHeader bug={bug} />
3029
<BugMeta bug={bug} />
@@ -38,5 +37,5 @@ export const Content = ({ bug, campaignId }: Props) => (
3837
<BugDetails bug={bug} />
3938
<BugDuplicates cid={parseInt(campaignId, 10)} bugId={bug.id} />
4039
</BugPreviewContextProvider>
41-
</ContainerCard>
40+
</div>
4241
);

src/pages/Campaign/widgets/UniqueBugs4UseCase/Chart/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ import { PieChart, SM, Span } from '@appquality/unguess-design-system';
22
import { useTranslation } from 'react-i18next';
33
import { appTheme } from 'src/app/theme';
44
import styled from 'styled-components';
5-
import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
65
import { WidgetLoader } from '../../widgetLoader';
76
import { BugsByUseCaseVisualizationProps } from '../types';
87
import { useBugsByUsecase } from '../useBugsByUsecase';
98
import { useMaxItems } from '../useMaxItems';
109

1110
const TooltipSM = styled(SM)`
12-
${(props) => retrieveComponentStyles('text.primary', props)};
11+
color: ${({ theme }) => theme.components.text.primaryColor};
1312
`;
1413

1514
const Tooltip = styled.div`
@@ -55,7 +54,7 @@ export const ChartUniqueBugs4UseCase = ({
5554
theme={{ labels: { text: { fontSize: 10 } } }}
5655
tooltip={({ label, value }) => (
5756
<Tooltip>
58-
<TooltipSM color={appTheme.components.text.primaryColor}>
57+
<TooltipSM>
5958
{t(
6059
'__CAMPAIGN_PAGE_WIDGET_BUGS_BY_USECASE_TOOLTIP_USECASE_LABEL'
6160
)}

src/pages/ExpressWizard/steps/express-1/forms/ConfirmationForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const ConfirmationFormButtons = (props: WizardButtonsProps) => {
2020
<Button
2121
id="express-wizard-confirm-back-button"
2222
isBasic
23+
isAccent
2324
onClick={onBackClick}
2425
style={{ marginRight: appTheme.space.sm }}
2526
>

src/pages/ExpressWizard/steps/express-1/forms/WhereForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const WhereFormButtons = (props: WizardButtonsProps) => {
2626
id="express-wizard-where-back-button"
2727
isBasic
2828
onClick={onBackClick}
29+
isAccent
2930
style={{ marginRight: appTheme.space.sm }}
3031
>
3132
{t('__EXPRESS_WIZARD_BACK_BUTTON_LABEL')}

src/pages/ExpressWizard/steps/express-1/forms/WhoForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const WhoFormButtons = (props: WizardButtonsProps) => {
2020
id="express-wizard-who-back-button"
2121
isBasic
2222
onClick={onBackClick}
23+
isAccent
2324
style={{ marginRight: appTheme.space.sm }}
2425
>
2526
{t('__EXPRESS_WIZARD_BACK_BUTTON_LABEL')}

src/pages/ExpressWizard/steps/express-2/forms/ConfirmationForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export const ConfirmationFormButtons = (props: WizardButtonsProps) => {
2121
id="express-wizard-confirm-back-button"
2222
isBasic
2323
onClick={onBackClick}
24+
isAccent
2425
style={{ marginRight: appTheme.space.sm }}
2526
>
2627
{t('__EXPRESS_WIZARD_BACK_BUTTON_LABEL')}

src/pages/ExpressWizard/steps/express-2/forms/HowForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const HowFormButtons = (props: WizardButtonsProps) => {
2020
id="express-wizard-who-back-button"
2121
isBasic
2222
onClick={onBackClick}
23+
isAccent
2324
style={{ marginRight: appTheme.space.sm }}
2425
>
2526
{t('__EXPRESS_WIZARD_BACK_BUTTON_LABEL')}

src/pages/ExpressWizard/steps/express-2/forms/WhereForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const WhereFormButtons = (props: WizardButtonsProps) => {
2626
id="express-wizard-where-back-button"
2727
isBasic
2828
onClick={onBackClick}
29+
isAccent
2930
style={{ marginRight: appTheme.space.sm }}
3031
>
3132
{t('__EXPRESS_WIZARD_BACK_BUTTON_LABEL')}

src/pages/ExpressWizard/steps/express-2/forms/WhoForm.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const WhoFormButtons = (props: WizardButtonsProps) => {
2020
id="express-wizard-who-back-button"
2121
isBasic
2222
onClick={onBackClick}
23+
isAccent
2324
style={{ marginRight: appTheme.space.sm }}
2425
>
2526
{t('__EXPRESS_WIZARD_BACK_BUTTON_LABEL')}

0 commit comments

Comments
 (0)