Skip to content

Commit 9cf3196

Browse files
authored
Merge pull request #1269 from topcoder-platform/sync-v6-with-dev
Sync v6 with dev
2 parents bab9630 + 9346445 commit 9cf3196

File tree

95 files changed

+985
-3547
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+985
-3547
lines changed

src/apps/learn/src/lib/components/svgs/Doug-Hanson.svg

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/apps/learn/src/lib/components/svgs/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ export { ReactComponent as CrowdIcon } from './crowd-icon.svg'
55
export { ReactComponent as TcLogoSvg } from './tc-logo.svg'
66
export { ReactComponent as FccLogoBlackSvg } from './vendor-fcc-logo-black.svg'
77
export { ReactComponent as IconCertifSvg } from './icon-certif.svg'
8-
export { ReactComponent as DougSigSvg } from './Doug-Hanson.svg'

src/apps/learn/src/lib/components/tca-certificate-preview/TCACertificatePreview.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const TCACertificatePreview: FC<TCACertificatePreviewProps> = (props: TCACertifi
3939
certification={props.certification}
4040
completedDate={props.completedDate ?? ''}
4141
completionUuid={props.completionUuid}
42-
displaySignature
4342
tcHandle={props.tcHandle ?? ''}
4443
userName={props.userName}
4544
validateLink={props.validateLink}

src/apps/learn/src/lib/components/tca-certificate-preview/tca-certificate/TCACertificate.tsx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { TCAcademyLogoWhiteSvg, TCLogoSvg } from '~/libs/ui'
88
import { LearnConfig } from '../../../../config'
99
import { TCACertificateType, TCACertification } from '../../../data-providers'
1010
import { CertificateBadgeIcon } from '../../dynamic-icons'
11-
import { DougSigSvg } from '../../svgs'
1211

1312
import { CertificateBackground } from './certificate-background'
1413
import styles from './TCACertificate.module.scss'
@@ -17,7 +16,6 @@ interface TCACertificateProps {
1716
certification: TCACertification
1817
completionUuid?: null | string
1918
completedDate?: string
20-
displaySignature?: boolean
2119
elRef?: MutableRefObject<HTMLElement | any>
2220
tcHandle?: string
2321
userName?: string
@@ -28,8 +26,6 @@ const TCACertificate: FC<TCACertificateProps> = (props: TCACertificateProps) =>
2826
// TODO: add cross track theme/type support
2927
const certificateType: TCACertificateType = props.certification.certificationCategory?.track ?? 'DEV'
3028

31-
const displaySignature: boolean = props.displaySignature ?? true
32-
3329
const completedDate: string = moment(props.completedDate || new Date())
3430
.format('MMM D, YYYY')
3531

@@ -93,16 +89,6 @@ const TCACertificate: FC<TCACertificateProps> = (props: TCACertificateProps) =>
9389
<span className='ultra-small-medium'>{props.validateLink}</span>
9490
</div>
9591
</div>
96-
{
97-
displaySignature && (
98-
<div className={styles.sigWrap}>
99-
<DougSigSvg />
100-
<div className={styles.divider} />
101-
<span>Doug Hanson</span>
102-
<span>CEO, Topcoder</span>
103-
</div>
104-
)
105-
}
10692
</div>
10793
)}
10894
</div>

src/apps/wallet-admin/src/home/tabs/WalletAdminTabs.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import { PageTitle, TabsNavbar, TabsNavItem } from '~/libs/ui'
77
import { getHashFromTabId, getTabIdFromHash, WalletAdminTabsConfig, WalletAdminTabViews } from './config'
88
import { PaymentsTab } from './payments'
99
import { HomeTab } from './home'
10-
import { TaxFormsTab } from './tax-forms'
11-
import { PaymentMethodsTab } from './payment-methods'
1210
import styles from './WalletAdminTabs.module.scss'
1311

1412
interface WalletHomeProps {
@@ -46,10 +44,6 @@ const WalletAdminTabs: FC<WalletHomeProps> = (props: WalletHomeProps) => {
4644
{activeTab === WalletAdminTabViews.home && <HomeTab profile={props.profile} />}
4745

4846
{activeTab === WalletAdminTabViews.payments && <PaymentsTab profile={props.profile} />}
49-
50-
{activeTab === WalletAdminTabViews.taxforms && <TaxFormsTab profile={props.profile} />}
51-
52-
{activeTab === WalletAdminTabViews.withdrawalmethods && <PaymentMethodsTab profile={props.profile} />}
5347
</div>
5448
)
5549
}

src/apps/wallet-admin/src/home/tabs/config/wallet-tabs-config.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import { TabsNavItem } from '~/libs/ui'
33
export enum WalletAdminTabViews {
44
home = '0',
55
payments = '1',
6-
taxforms = '2',
7-
withdrawalmethods = '3',
86
}
97

108
export const WalletAdminTabsConfig: TabsNavItem[] = [
@@ -16,14 +14,6 @@ export const WalletAdminTabsConfig: TabsNavItem[] = [
1614
id: WalletAdminTabViews.payments,
1715
title: 'Payments',
1816
},
19-
{
20-
id: WalletAdminTabViews.withdrawalmethods,
21-
title: 'Payment Providers',
22-
},
23-
{
24-
id: WalletAdminTabViews.taxforms,
25-
title: 'Tax Forms',
26-
},
2717
]
2818

2919
export function getHashFromTabId(tabId: string): string {
@@ -32,10 +22,6 @@ export function getHashFromTabId(tabId: string): string {
3222
return '#home'
3323
case WalletAdminTabViews.payments:
3424
return '#payments'
35-
case WalletAdminTabViews.taxforms:
36-
return '#tax-forms'
37-
case WalletAdminTabViews.withdrawalmethods:
38-
return '#payment-providers'
3925
default:
4026
return '#home'
4127
}
@@ -45,10 +31,6 @@ export function getTabIdFromHash(hash: string): string {
4531
switch (hash) {
4632
case '#payments':
4733
return WalletAdminTabViews.payments
48-
case '#tax-forms':
49-
return WalletAdminTabViews.taxforms
50-
case '#payment-providers':
51-
return WalletAdminTabViews.withdrawalmethods
5234
default:
5335
return WalletAdminTabViews.home
5436
}

src/apps/wallet-admin/src/home/tabs/payment-methods/PaymentMethodsTab.module.scss

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/apps/wallet-admin/src/home/tabs/payment-methods/PaymentMethodsTab.tsx

Lines changed: 0 additions & 209 deletions
This file was deleted.

src/apps/wallet-admin/src/home/tabs/payment-methods/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)