Skip to content

Commit e989676

Browse files
committed
Merge branch 'dev' of github.com:topcoder-platform/platform-ui into PM-959_tc-finance-integration
2 parents 927e7f8 + 5ae7d43 commit e989676

File tree

1,179 files changed

+35943
-23428
lines changed

Some content is hidden

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

1,179 files changed

+35943
-23428
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ workflows:
221221
- dev
222222
- LVT-256
223223
- CORE-635
224+
- feat/system-admin
225+
- pm-1365_1
224226

225227
- deployQa:
226228
context: org-global
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: AI PR Reviewer
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
permissions:
9+
pull-requests: write
10+
jobs:
11+
tc-ai-pr-review:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Repo
15+
uses: actions/checkout@v3
16+
17+
- name: TC AI PR Reviewer
18+
uses: topcoder-platform/tc-ai-pr-reviewer@master
19+
with:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The GITHUB_TOKEN is there by default so you just need to keep it like it is and not necessarily need to add it as secret as it will throw an error. [More Details](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret)
21+
LAB45_API_KEY: ${{ secrets.LAB45_API_KEY }}
22+
exclude: '**/*.json, **/*.md, **/*.jpg, **/*.png, **/*.jpeg, **/*.bmp, **/*.webp' # Optional: exclude patterns separated by commas

package.json

Lines changed: 11 additions & 2 deletions
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}'",
@@ -21,12 +21,16 @@
2121
"dependencies": {
2222
"@datadog/browser-logs": "^4.21.2",
2323
"@heroicons/react": "^1.0.6",
24+
"@hookform/resolvers": "^4.1.2",
2425
"@popperjs/core": "^2.11.8",
2526
"@sprig-technologies/sprig-browser": "^2.20.1",
2627
"@storybook/addon-actions": "7.6.10",
2728
"@storybook/react": "7.6.10",
2829
"@stripe/react-stripe-js": "1.13.0",
2930
"@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",
3034
"apexcharts": "^3.36.0",
3135
"axios": "^1.7.9",
3236
"browser-cookies": "^1.2.0",
@@ -42,6 +46,7 @@
4246
"draft-js-export-html": "^1.2.0",
4347
"draft-js-markdown-shortcuts-plugin": "^0.3.0",
4448
"draft-js-plugins-editor": "^2.0.3",
49+
"easymde": "2.20.0",
4550
"express": "^4.21.2",
4651
"express-fileupload": "^1.4.0",
4752
"express-interceptor": "^1.2.0",
@@ -71,6 +76,7 @@
7176
"react-elastic-carousel": "^0.11.5",
7277
"react-gtm-module": "^2.0.11",
7378
"react-helmet": "^6.1.0",
79+
"react-hook-form": "^7.54.2",
7480
"react-markdown": "8.0.6",
7581
"react-otp-input": "^3.1.1",
7682
"react-popper": "^2.3.0",
@@ -99,9 +105,11 @@
99105
"styled-components": "^5.3.6",
100106
"swr": "^1.3.0",
101107
"tc-auth-lib": "topcoder-platform/tc-auth-lib#1.0.27",
108+
"tinymce": "^7.9.1",
102109
"typescript": "^4.8.4",
103110
"universal-navigation": "https://github.com/topcoder-platform/universal-navigation#9fc50d938be7182",
104-
"uuid": "^9.0.0"
111+
"uuid": "^11.1.0",
112+
"yup": "^1.6.1"
105113
},
106114
"devDependencies": {
107115
"@babel/core": "^7.19.3",
@@ -186,6 +194,7 @@
186194
"react-docgen-typescript": "^2.2.2",
187195
"react-hot-loader": "^4.3.3",
188196
"resolve-url-loader": "^5.0.0",
197+
"rimraf": "^6.0.1",
189198
"sass-loader": "^13.3.3",
190199
"serve": "^14.0.1",
191200
"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.

0 commit comments

Comments
 (0)