Skip to content

Commit 7876dca

Browse files
authored
Merge pull request #1230 from topcoder-platform/v6-updates
Dev changes to v6
2 parents fe075eb + d2308d3 commit 7876dca

File tree

177 files changed

+4857
-1129
lines changed

Some content is hidden

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

177 files changed

+4857
-1129
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"dev": "craco start --mode ${LOGICAL_ENV:-dev}",
88
"start": "bash start.sh",
9-
"build": "export CI=false && craco build --mode ${LOGICAL_ENV:-prod}",
9+
"build": "rimraf ./build && export CI=false && craco build --mode ${LOGICAL_ENV:-prod}",
1010
"build:dev": "craco build --mode ${LOGICAL_ENV:-dev}",
1111
"demo": "npx http-server --port 443 -a 0.0.0.0 -S -C ./ssl/rootCA.crt -K ./ssl/rootCA.key -P https://local.topcoder-dev.com? --proxy-options.secure false ./build",
1212
"lint": "eslint -c ./src/.eslintrc.js 'src/**/*.{ts,tsx,js,jsx}'",
@@ -28,6 +28,9 @@
2828
"@storybook/react": "7.6.10",
2929
"@stripe/react-stripe-js": "1.13.0",
3030
"@stripe/stripe-js": "1.41.0",
31+
"@tinymce/tinymce-react": "^6.2.1",
32+
"@types/codemirror": "5.60.15",
33+
"amazon-s3-uri": "^0.1.1",
3134
"apexcharts": "^3.36.0",
3235
"axios": "^1.7.9",
3336
"browser-cookies": "^1.2.0",
@@ -43,6 +46,7 @@
4346
"draft-js-export-html": "^1.2.0",
4447
"draft-js-markdown-shortcuts-plugin": "^0.3.0",
4548
"draft-js-plugins-editor": "^2.0.3",
49+
"easymde": "2.20.0",
4650
"express": "^4.21.2",
4751
"express-fileupload": "^1.4.0",
4852
"express-interceptor": "^1.2.0",
@@ -101,6 +105,7 @@
101105
"styled-components": "^5.3.6",
102106
"swr": "^1.3.0",
103107
"tc-auth-lib": "topcoder-platform/tc-auth-lib#1.0.27",
108+
"tinymce": "^7.9.1",
104109
"typescript": "^4.8.4",
105110
"universal-navigation": "https://github.com/topcoder-platform/universal-navigation#9fc50d938be7182",
106111
"uuid": "^11.1.0",
@@ -189,6 +194,7 @@
189194
"react-docgen-typescript": "^2.2.2",
190195
"react-hot-loader": "^4.3.3",
191196
"resolve-url-loader": "^5.0.0",
197+
"rimraf": "^6.0.1",
192198
"sass-loader": "^13.3.3",
193199
"serve": "^14.0.1",
194200
"start-server-and-test": "^1.14.0",
-3 KB
Binary file not shown.
-23.2 KB
Binary file not shown.
-6.52 KB
Binary file not shown.
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
1-
import { ReactComponent as MFAImage } from './mfa.svg'
21
import { ReactComponent as AppleStore } from './apple-store.svg'
32
import credentialImage from './credential.png'
4-
import diceIdLogo from './dicelogo.png'
5-
import diceIdLogoBig from './dicelogobig.png'
6-
import diceIdLogoSmall from './dicelogosmall.png'
73
import googlePlay from './google-play.png'
84

95
export {
106
AppleStore,
117
credentialImage,
12-
diceIdLogo,
13-
diceIdLogoBig,
14-
diceIdLogoSmall,
158
googlePlay,
16-
MFAImage,
179
}

src/apps/accounts/src/lib/assets/security/mfa.svg

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

src/apps/accounts/src/settings/tabs/account/AccountTab.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { FC } from 'react'
33
import { UserProfile, UserTraits } from '~/libs/core'
44

55
import { AccountRole } from './account-role'
6-
import { SecuritySection } from './security'
76
import { UserAndPassword } from './user-and-pass'
87
import { MemberAddress } from './address'
98
import styles from './AccountTab.module.scss'
@@ -15,15 +14,13 @@ interface AccountTabProps {
1514

1615
const AccountTab: FC<AccountTabProps> = (props: AccountTabProps) => (
1716
<div className={styles.container}>
18-
<h3>ACCOUNT INFORMATION & SECURITY</h3>
17+
<h3>ACCOUNT INFORMATION</h3>
1918

2019
<AccountRole profile={props.profile} />
2120

2221
<UserAndPassword profile={props.profile} memberTraits={props.memberTraits} />
2322

2423
<MemberAddress profile={props.profile} />
25-
26-
<SecuritySection profile={props.profile} />
2724
</div>
2825
)
2926

src/apps/accounts/src/settings/tabs/account/security/Security.module.scss

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

src/apps/accounts/src/settings/tabs/account/security/Security.tsx

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

src/apps/accounts/src/settings/tabs/account/security/dice-setup-modal/ConnectionHandler/index.tsx

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

0 commit comments

Comments
 (0)