Skip to content
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
315 commits
Select commit Hold shift + click to select a range
1afb702
fix: lint
hentrymartin Aug 20, 2025
e960d77
fix: lint
hentrymartin Aug 20, 2025
7b5886f
Merge pull request #1201 from topcoder-platform/pm-1503_2
kkartunov Aug 21, 2025
8a88c71
Move global css inside container
himaniraghav3 Aug 21, 2025
2578e25
Add role for correctly displaying Restricted Page
himaniraghav3 Aug 21, 2025
eeae760
fix indent
himaniraghav3 Aug 21, 2025
d3d3098
Fix sortOrder for scorecardQuestions & make error more visible
vas3a Aug 21, 2025
3c12410
lint fixes
vas3a Aug 21, 2025
1e3cb55
Merge pull request #1203 from topcoder-platform/PM-1504_edit-create-s…
vas3a Aug 21, 2025
e699664
Merge pull request #1202 from topcoder-platform/fix-PM-1502
kkartunov Aug 22, 2025
26fe69e
Fix error width
vas3a Aug 22, 2025
e842546
Merge pull request #1207 from topcoder-platform/PM-1504_edit-create-s…
vas3a Aug 22, 2025
702a0b7
Fix error width
vas3a Aug 22, 2025
851a515
Merge pull request #1208 from topcoder-platform/PM-1504_edit-create-s…
vas3a Aug 22, 2025
b4c9243
fix: weight column in view scorecard page
hentrymartin Aug 22, 2025
31d9989
Merge pull request #1209 from topcoder-platform/pm-1503_3
hentrymartin Aug 22, 2025
29a3deb
scorecard: Make category options dependent on project type
vas3a Aug 25, 2025
3b25f08
Merge pull request #1211 from topcoder-platform/PM-1504_edit-create-s…
vas3a Aug 25, 2025
f945814
redirect to view scorecard
vas3a Aug 25, 2025
003f6bb
Merge pull request #1212 from topcoder-platform/PM-1504_edit-create-s…
vas3a Aug 25, 2025
70e9a61
fix: use requires upload from backend
hentrymartin Aug 25, 2025
ce55788
fix: lint
hentrymartin Aug 25, 2025
f869821
fix: some more qa feedbacks
hentrymartin Aug 25, 2025
3590b3d
fix: type
hentrymartin Aug 25, 2025
3efd6b5
Merge pull request #1214 from topcoder-platform/pm-1503_4
hentrymartin Aug 25, 2025
f414b0e
fix: removed breadcrumb for non admin users
hentrymartin Aug 25, 2025
085d293
fix: removed breadcrumb for non admin users
hentrymartin Aug 25, 2025
6db69ee
fix: lint
hentrymartin Aug 25, 2025
95cf7a2
Merge pull request #1215 from topcoder-platform/pm-1503_4
hentrymartin Aug 25, 2025
d6916d6
PM-1504 - sort scorecard data by sortOrder
vas3a Aug 26, 2025
c50842f
lint fix & restrict routes
vas3a Aug 26, 2025
1ae2533
Merge remote-tracking branch 'origin/feat/review' into PM-1504_edit-c…
vas3a Aug 26, 2025
4422d9b
Merge pull request #1218 from topcoder-platform/PM-1504_edit-create-s…
vas3a Aug 26, 2025
869b21c
fix scoorecard data fetch
vas3a Aug 26, 2025
34f6614
Merge pull request #1219 from topcoder-platform/PM-1504_edit-create-s…
vas3a Aug 26, 2025
45a2bbe
fix: qa feedbacks
hentrymartin Aug 26, 2025
236800d
fix: added back scorecards option to nav bar
hentrymartin Aug 26, 2025
522b040
fix: lint
hentrymartin Aug 26, 2025
29856c0
fix: qa feedbacks
hentrymartin Aug 26, 2025
9a6c943
Merge pull request #1221 from topcoder-platform/pm-1503_5
hentrymartin Aug 26, 2025
ec87f00
fix error test on mobile
vas3a Aug 27, 2025
2811837
Merge pull request #1223 from topcoder-platform/PM-1800_mobile-fix
vas3a Aug 27, 2025
7ecba71
fix: drag and drop implementation
hentrymartin Aug 27, 2025
d404274
feat: drag and drop implementation
hentrymartin Aug 27, 2025
97abdf8
fix: lint
hentrymartin Aug 27, 2025
b379a2d
fix: lint
hentrymartin Aug 27, 2025
4da9381
fix: lint
hentrymartin Aug 27, 2025
1b1cda4
fix: lint
hentrymartin Aug 27, 2025
134cfc9
fix: lint
hentrymartin Aug 27, 2025
97fe588
fix: build
hentrymartin Aug 27, 2025
6988cda
fix: build
hentrymartin Aug 27, 2025
d67cbad
Merge pull request #1224 from topcoder-platform/pm-1722_1
kkartunov Aug 28, 2025
e1d363f
add Submission End Date column to Review Management Page
Aug 28, 2025
3ba8525
Merge pull request #1225 from PeterGreat/feat/system-admin
jmgasper Aug 28, 2025
2e0ef09
fix: category not updated when project type is changed in edit scorec…
hentrymartin Aug 28, 2025
ccf5b42
fix: layout issue in mobile layout
hentrymartin Aug 29, 2025
435c684
Merge pull request #1226 from topcoder-platform/pm-1805
hentrymartin Aug 29, 2025
25398d8
fix: category not saved properly
hentrymartin Sep 2, 2025
bf53be5
updated from dev
hentrymartin Sep 2, 2025
016c2a4
Merge pull request #1229 from topcoder-platform/pm-1805_1
hentrymartin Sep 2, 2025
88e8fb1
Clean up paths to match review API changes for path cleanup
jmgasper Sep 3, 2025
6d61a18
fix: updated scorecard server url
hentrymartin Sep 3, 2025
d2308d3
Merge branch 'feat/v6' into v6-updates
jmgasper Sep 3, 2025
7876dca
Merge pull request #1230 from topcoder-platform/v6-updates
jmgasper Sep 3, 2025
0b3922b
Fix for compilation error
jmgasper Sep 4, 2025
14eb524
Merge branch 'feat/v6' into feat/review
jmgasper Sep 4, 2025
e996e50
Merge pull request #1231 from topcoder-platform/feat/review
jmgasper Sep 4, 2025
f94713d
Fix up review paths for new routes
jmgasper Sep 4, 2025
6ad92b3
Tweak for performance
jmgasper Sep 5, 2025
68bfb67
Merge branch 'dev' into feat/system-admin
phead1987 Sep 5, 2025
b24ae08
Update Submissions Endpoints and perPage
billsedison Sep 5, 2025
75874b6
Merge branch 'feat/v6' into feat/review
jmgasper Sep 5, 2025
790b39e
Merge pull request #1233 from topcoder-platform/feat/review
jmgasper Sep 5, 2025
2d7c28b
update challenge management page to apply api response to items
phead1987 Sep 6, 2025
59dcc30
Merge pull request #1234 from phead198708/feat/system-admin
jmgasper Sep 6, 2025
8a04d28
Lint
jmgasper Sep 6, 2025
172052a
Revert "Tweak for performance"
jmgasper Sep 8, 2025
bb61977
use v6 for review app
kkartunov Sep 16, 2025
152ed65
Merge pull request #1236 from topcoder-platform/feat/system-admin
jmgasper Sep 18, 2025
aa612f8
Remove v5 reference on challenge management title
jmgasper Sep 18, 2025
bc1e341
Remove mention of Appirio
jmgasper Sep 18, 2025
fddba32
Cleanup for how we define SSO providers
jmgasper Sep 18, 2025
651f0f6
Role management updates
jmgasper Sep 18, 2025
e97c0db
V6 updates and fixes
jmgasper Sep 19, 2025
effae6e
Review Edit Integration
billsedison Sep 23, 2025
aab03b5
Merge pull request #1237 from topcoder-platform/feat/review-edit-inte…
jmgasper Sep 23, 2025
c6ebadb
Merge pull request #1242 from topcoder-platform/feat/v6
jmgasper Sep 23, 2025
ad798e5
New features to support updated service for quick load of active reviews
jmgasper Sep 24, 2025
d3054eb
Better sorting and filtering on active challenges
jmgasper Sep 24, 2025
1ce2e63
Merge pull request #1243 from topcoder-platform/feat/review
jmgasper Sep 24, 2025
44c223a
Billing account and client cleanup for v6
jmgasper Sep 25, 2025
cd550ac
Initial Past Review Assignments implementation
jmgasper Sep 25, 2025
6bf4091
Updates for past reviews tab, and pagination support since user 'mess…
jmgasper Sep 25, 2025
b08f16a
Pagination on my active challenges
jmgasper Sep 25, 2025
2ac2749
Minor cleanup and text tweaks
jmgasper Sep 26, 2025
2cfb5f1
Better active review processing and better gates to prevent reviewers…
jmgasper Sep 26, 2025
53877bb
Lint
jmgasper Sep 26, 2025
eb789c1
Updates to tab names to work with all member types, including submitt…
jmgasper Sep 27, 2025
86e5a98
Sorting for active and past challenge columns
jmgasper Sep 27, 2025
3dd0f3e
Updates and lint fixes
jmgasper Sep 28, 2025
00ff845
Remove lint files
jmgasper Sep 28, 2025
55c1d16
Updates to address some layout issues, and to show appeals and appeal…
jmgasper Sep 28, 2025
a4cfad3
Lint ignore this because we need it like that
jmgasper Sep 28, 2025
2d36c9a
Minor breadcrumb cleanup
jmgasper Sep 28, 2025
8e85eba
Fixes: File upload / drag and drop, winners tab integration, save as …
jmgasper Sep 28, 2025
ebe37a7
Lint
jmgasper Sep 28, 2025
28f9462
Lint and compilation updates
jmgasper Sep 28, 2025
1bfa7b8
Updates for copilot / admin views and some additional submission down…
jmgasper Sep 29, 2025
3a17f40
Fix up reivew progress indicator on active-challenges list, and make …
jmgasper Sep 29, 2025
7899b5d
Fix sort by created at and css for copilot requests
himaniraghav3 Sep 29, 2025
8e2254c
Merge pull request #1247 from topcoder-platform/PM-2165-2167
himaniraghav3 Sep 29, 2025
5ef27c5
Add reopen scorecard functionality
jmgasper Sep 29, 2025
33bca02
Clean up to details pages and creating appeals by submitters
jmgasper Sep 30, 2025
7ef1d05
fix export and css
himaniraghav3 Sep 30, 2025
278892f
Merge pull request #1248 from topcoder-platform/fix-css
himaniraghav3 Sep 30, 2025
149b6d7
fix rerouting and project name exposed
himaniraghav3 Sep 30, 2025
52f36cc
fix linting
himaniraghav3 Sep 30, 2025
fc8e91c
Merge pull request #1249 from topcoder-platform/fix-css
himaniraghav3 Sep 30, 2025
98f93b7
Fix up the markdown editor for manager comments and make sure we go t…
jmgasper Oct 1, 2025
f39eccd
Merge branch 'feat/v6' of github.com:topcoder-platform/platform-ui in…
jmgasper Oct 1, 2025
afd10db
Better Iterative Review display, v6 links for challenges on system-admin
jmgasper Oct 1, 2025
cde9241
fix: existing date not loaded properly
hentrymartin Oct 1, 2025
036c04f
fix: existing date not loaded properly
hentrymartin Oct 1, 2025
5db7501
fix: existing date not loaded properly
hentrymartin Oct 1, 2025
05f9757
fix: existing date not loaded properly
hentrymartin Oct 1, 2025
ddbd5ab
Phase notification flag and fix of talen-search app now that userflow…
jmgasper Oct 2, 2025
d8cdb2e
System-admin fixes: PM-2096, PM-2098, PM-2106,
jmgasper Oct 3, 2025
0d152b8
Client management updates - PM-2128, PM-2127, PM-2152, PM-2153, PM-2155
jmgasper Oct 3, 2025
f14a9d0
Updates for client and billing account bugs
jmgasper Oct 3, 2025
72701bb
Fixes for role and permission management bugs
jmgasper Oct 3, 2025
a434ecf
Merge pull request #1250 from topcoder-platform/pm-2076
hentrymartin Oct 3, 2025
0eed814
Client and BA updates for QA issues
jmgasper Oct 4, 2025
2408f74
Fixes for BAs and clients for QA
jmgasper Oct 4, 2025
9785cd3
Fix up resource management (PM-2162, PM-2161)
jmgasper Oct 4, 2025
e0a8b00
Billing account resource management
jmgasper Oct 4, 2025
8c0f17a
Fix up review management - PM-2125
jmgasper Oct 4, 2025
2c04c42
Updates to challenge details
jmgasper Oct 5, 2025
d0958e9
Updates to past-challenges list for showing challenge status
jmgasper Oct 5, 2025
fe2b934
Review UI fixes
jmgasper Oct 5, 2025
58ac9ec
Fixes for account settings (PM-2194 / 2193)
jmgasper Oct 6, 2025
4e1537b
Account settings fixes and remove userflow triggers that were causing…
jmgasper Oct 6, 2025
733f20e
Save skills at the end of an academy course.
jmgasper Oct 6, 2025
3aa7a53
Lint
jmgasper Oct 6, 2025
c7fbf65
Add in message to avoid loading role list for "Topcoder Talent", whic…
jmgasper Oct 6, 2025
a14a892
fix: onboarding
hentrymartin Oct 6, 2025
5e3f4b6
Merge pull request #1251 from topcoder-platform/pm-2074
hentrymartin Oct 6, 2025
f74fca9
Various updates to review and systemn-admin apps for quality of life …
jmgasper Oct 6, 2025
2b777f7
Merge branch 'feat/v6' of github.com:topcoder-platform/platform-ui in…
jmgasper Oct 6, 2025
3db9e9d
Payments display updates for admins, copilots, reviewers, and members
jmgasper Oct 7, 2025
34740f8
Payment details to review UI, and payment viewing / additions to syst…
jmgasper Oct 7, 2025
aeb2ec0
SSO login fix (PM-2119), billling account fix (PM-2316)
jmgasper Oct 7, 2025
e74549c
Update to new challenge API for type and track
jmgasper Oct 7, 2025
edbce6f
Fix up filtering by track / type
jmgasper Oct 7, 2025
4ea10b4
Update for challenge type and track objects in the challenge API inst…
jmgasper Oct 7, 2025
43ed942
Lint fixes
jmgasper Oct 7, 2025
cdf93cf
Show complete review action for iterative review
jmgasper Oct 8, 2025
45baff9
Look and feel of review tabs for consistency
jmgasper Oct 8, 2025
1d2e188
Lots of fixes for phase tabs, virus scan icon, review flows
jmgasper Oct 8, 2025
524ca46
feat: created onboarding checklist on the end of onboarding
hentrymartin Oct 8, 2025
0c03c18
feat: created onboarding checklist on the end of onboarding
hentrymartin Oct 8, 2025
a2786c7
feat: created onboarding checklist on the end of onboarding
hentrymartin Oct 9, 2025
860bd1e
Merge pull request #1252 from topcoder-platform/pm-2074_1
hentrymartin Oct 9, 2025
59e0415
Bunch of UI and layout fixes for the challenge details page and phase…
jmgasper Oct 9, 2025
54f1de0
Merge branch 'feat/v6' of github.com:topcoder-platform/platform-ui in…
jmgasper Oct 9, 2025
1f5df32
Phase obligation indicator changes
jmgasper Oct 9, 2025
105a947
Phase display updates
jmgasper Oct 9, 2025
2d0726e
PM-2378 and PM-2246
jmgasper Oct 9, 2025
6f043bb
fix: modifying education and experience in profiles page
hentrymartin Oct 9, 2025
8131b3f
fix: modifying education and experience in profiles page
hentrymartin Oct 9, 2025
3dd9bb8
Minor UI cleanup and alignments
jmgasper Oct 10, 2025
db41d8a
Better display of final scores when reviewers are viewing the winner …
jmgasper Oct 10, 2025
773cadf
QA fixes - Timeline table on challenge-details, submission history tr…
jmgasper Oct 11, 2025
9944d26
Initial phase operations for admin / copilots
jmgasper Oct 11, 2025
0c4cf29
Design challenge fixes for checkpoint screening / checkpoint review, …
jmgasper Oct 12, 2025
1eb5cae
Checkpoint phase fixes and display
jmgasper Oct 12, 2025
14fbe40
Phase management updates
jmgasper Oct 13, 2025
5d94f8f
Fixes for appeals response, submission ID showing, tab layouts
jmgasper Oct 13, 2025
eed2f5f
Merge pull request #1253 from topcoder-platform/pm-2066
hentrymartin Oct 13, 2025
ab3b2d1
Fixes for tab consistency and user handle colouring
jmgasper Oct 14, 2025
d6aa47a
Hide score and review progress for draft review
himaniraghav3 Oct 14, 2025
a65ef7d
fix var typo
himaniraghav3 Oct 14, 2025
bd7477f
fix: work experience industry
hentrymartin Oct 14, 2025
1364dbd
fix: lint
hentrymartin Oct 14, 2025
8aeeb13
fix: mapping in onboarding add experience modal
hentrymartin Oct 14, 2025
383480e
renamed function name
hentrymartin Oct 14, 2025
18a4042
renamed function name
hentrymartin Oct 14, 2025
5f68c79
Merge pull request #1256 from topcoder-platform/pm-2066_1
hentrymartin Oct 14, 2025
9b1890c
Updates for showing proper info to submitters in appeals / appeals re…
jmgasper Oct 14, 2025
399862d
Merge branch 'feat/v6' of github.com:topcoder-platform/platform-ui in…
jmgasper Oct 14, 2025
c9ea539
Phase handling cleanups
jmgasper Oct 15, 2025
7a93c34
Merge pull request #1255 from topcoder-platform/PM-2352
himaniraghav3 Oct 15, 2025
8c944bf
Design phase cleanups
jmgasper Oct 15, 2025
d55d4af
Merge branch 'feat/v6' of github.com:topcoder-platform/platform-ui in…
jmgasper Oct 15, 2025
d2891bf
Cleanup for how we show reviews in design challenges
jmgasper Oct 15, 2025
6cf5fa7
Fix a problem where too many reviewers were showing for a submitter a…
jmgasper Oct 15, 2025
0c55447
PM-2434 Allow Manager to edit scores
himaniraghav3 Oct 15, 2025
b00e66e
Merge pull request #1257 from topcoder-platform/PM-2434
himaniraghav3 Oct 15, 2025
7378d26
F2F fixes for submissions showing and winners redirect
jmgasper Oct 15, 2025
f113220
Merge branch 'feat/v6' of github.com:topcoder-platform/platform-ui in…
jmgasper Oct 15, 2025
a831af1
fix: back to challenge redirection
hentrymartin Oct 15, 2025
b4736a9
Merge pull request #1258 from topcoder-platform/pm-2433
jmgasper Oct 15, 2025
7c8c791
Better display of assigned reviewers PM-2441
jmgasper Oct 15, 2025
8e96cb8
Hide Edit Scorecard for completed challenges
jmgasper Oct 15, 2025
baa7ac4
Updates for submitter privileges
jmgasper Oct 16, 2025
d6ad95d
Better handling of screening phase in UI for submitters
jmgasper Oct 16, 2025
8e44e46
PM-2442 Fix review progress bar
himaniraghav3 Oct 16, 2025
e669fb3
Submitter screening / submission / review tab fixes
jmgasper Oct 16, 2025
1d52f66
Updates to task views in the review UI (PM-2269)
jmgasper Oct 16, 2025
1513897
Fix up redirects
jmgasper Oct 16, 2025
c29aa96
Additional fixes for PM-2269
jmgasper Oct 17, 2025
52bebec
Merge pull request #1259 from topcoder-platform/PM-2442
himaniraghav3 Oct 17, 2025
bdaff02
Many UI fixes and tweaks for QA
jmgasper Oct 17, 2025
7575141
Merge branch 'feat/v6' of github.com:topcoder-platform/platform-ui in…
jmgasper Oct 17, 2025
0b83fb8
QA fixes for various phase displays
jmgasper Oct 17, 2025
89e6003
Various QA fixes for different phase displays
jmgasper Oct 17, 2025
035989e
Additional phase handling fixes
jmgasper Oct 17, 2025
9758798
Approval phase fixes
jmgasper Oct 18, 2025
a8a6d32
Now that things are looking good, refactor this to be more maintainab…
jmgasper Oct 19, 2025
e0e3051
Lint fixes and Topgear Task updates
jmgasper Oct 20, 2025
0e8502d
Fixes for display of Topgear Tasks
jmgasper Oct 20, 2025
4cdc040
Fix reopen review view
himaniraghav3 Oct 21, 2025
49c1347
PM-2057 Fix line breaks in markdown
himaniraghav3 Oct 21, 2025
b0b97d5
Many UI tweaks and fixes from QA
jmgasper Oct 22, 2025
bab9630
Sole screener / review view fix
jmgasper Oct 22, 2025
9346445
Merge branch 'dev' of github.com:topcoder-platform/platform-ui into s…
vas3a Oct 22, 2025
9cf3196
Merge pull request #1269 from topcoder-platform/sync-v6-with-dev
vas3a Oct 22, 2025
0701221
Additional work for Marathon Match management in system-admin app
jmgasper Oct 22, 2025
5a9ff51
Merge branch 'feat/v6' of github.com:topcoder-platform/platform-ui in…
jmgasper Oct 22, 2025
bbdd191
PM-2439 Fix year selection in form
himaniraghav3 Oct 22, 2025
69a7641
Remove typo
himaniraghav3 Oct 22, 2025
57d4568
Use new finance API endpoint for challenge payments
jmgasper Oct 22, 2025
c216c81
Phase fixes for post-mortem and random resource role combinations
jmgasper Oct 22, 2025
372df44
Updates to help with showing reviews / post mortems
jmgasper Oct 23, 2025
ae47522
Fix approval not shwoing up
jmgasper Oct 23, 2025
f3c9d00
Iterative review display on timeline for multiple phases
jmgasper Oct 23, 2025
71c080e
Fix reviewer view
jmgasper Oct 23, 2025
3f50487
Merge pull request #1270 from topcoder-platform/PM-2439
himaniraghav3 Oct 23, 2025
3c2085c
Submission visibility issues
jmgasper Oct 23, 2025
b979710
Merge branch 'feat/v6' of github.com:topcoder-platform/platform-ui in…
jmgasper Oct 23, 2025
ee9d824
fix qa feedback
himaniraghav3 Oct 23, 2025
1d7e43e
Merge pull request #1272 from topcoder-platform/PM-2439
himaniraghav3 Oct 23, 2025
fe27eb2
Merge pull request #1268 from topcoder-platform/fix-2446
himaniraghav3 Oct 23, 2025
37b1181
Fix typo in variable name
jmgasper Oct 23, 2025
da5d4f6
QA fixes
jmgasper Oct 24, 2025
1450018
Make sure all reviews render correctly on the 'Review' tab
jmgasper Oct 24, 2025
88ff920
Reviewer display tweaks
jmgasper Oct 24, 2025
7a8f7dc
Don't show pass / fail until all reviews are complete
jmgasper Oct 24, 2025
2386d72
Make sure we don't show screenign on review tabs
jmgasper Oct 25, 2025
27ec4b4
Fix action not showing for screener
jmgasper Oct 25, 2025
67a2a6a
Phase display fixes to match phase restrictions in review-api-v6
jmgasper Oct 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 22 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ install_dependency: &install_dependency
install_deploysuite: &install_deploysuite
name: Installation of install_deploysuite.
command: |
git clone --branch v1.4.13 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
git clone --branch v1.4.17 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
cp ./../buildscript/master_deploy.sh .
cp ./../buildscript/buildenv.sh .
cp ./../buildscript/awsconfiguration.sh .
cp ./../buildscript/psvar-processor.sh .

restore_cache_settings_for_build: &restore_cache_settings_for_build
key: connect-node-modules-{{ checksum "yarn.lock" }}
Expand All @@ -48,14 +49,16 @@ running_yarn_eslint: &running_yarn_eslint
running_yarn_build: &running_yarn_build
name: Running Yarn Build
command: |
source buildenvvar
# source buildenvvar
source buildvar_env
yarn install
yarn build

running_yarn_sb_build: &running_yarn_sb_build
name: Running Yarn Storybook Build
command: |
source buildenvvar
# source buildenvvar
source buildvar_env
yarn sb:build

workspace_persist: &workspace_persist
Expand All @@ -70,7 +73,9 @@ build_configuration_fetch: &build_configuration_fetch
name: "configuring environment"
command: |
./awsconfiguration.sh $DEPLOY_ENV
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-buildvar
# ./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-buildvar
./psvar-processor.sh -t appenv -p /config/${APPNAME}/buildvar
source buildvar_env
aws s3 cp s3://tc-platform-${LOGICAL_ENV}/securitymanager/${LOGICAL_ENV}-platform-ui.env ./.environments/.env.${LOGICAL_ENV}.local

lint_steps: &lint_steps # Initialization.
Expand Down Expand Up @@ -98,8 +103,10 @@ deploy_steps: &deploy_steps
command: |
./awsconfiguration.sh $DEPLOY_ENV
source awsenvconf
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-deployvar
source buildenvvar
# ./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-deployvar
# source buildenvvar
./psvar-processor.sh -t appenv -p /config/${APPNAME}/deployvar
source deployvar_env
./master_deploy.sh -d CFRONT -e $DEPLOY_ENV -c $ENABLE_CACHE

jobs:
Expand Down Expand Up @@ -132,15 +139,15 @@ jobs:
environment:
DEPLOY_ENV: "QA"
LOGICAL_ENV: "qa"
APPNAME: "platform-ui-mvp"
APPNAME: "platform-ui-mvp-v6"
steps: *build_steps

build-prod:
<<: *defaults
environment:
DEPLOY_ENV: "PROD"
LOGICAL_ENV: "prod"
APPNAME: "platform-ui-mvp"
APPNAME: "platform-ui-mvp-v6"
steps: *build_steps

# Just tests commited code.
Expand All @@ -150,7 +157,7 @@ jobs:
DEPLOY_ENV: "DEV"
LOGICAL_ENV: "dev"
ENABLE_CACHE: true
APPNAME: "platform-ui-mvp"
APPNAME: "platform-ui-mvp-v6"
steps: *deploy_steps

deployQa:
Expand All @@ -159,7 +166,7 @@ jobs:
DEPLOY_ENV: "QA"
LOGICAL_ENV: "qa"
ENABLE_CACHE: true
APPNAME: "platform-ui-mvp"
APPNAME: "platform-ui-mvp-v6"
steps: *deploy_steps

deployProd:
Expand All @@ -168,7 +175,7 @@ jobs:
DEPLOY_ENV: "PROD"
LOGICAL_ENV: "prod"
ENABLE_CACHE: true
APPNAME: "platform-ui-mvp"
APPNAME: "platform-ui-mvp-v6"
steps: *deploy_steps

workflows:
Expand Down Expand Up @@ -221,9 +228,10 @@ workflows:
- dev
- LVT-256
- CORE-635
- feat/review
- feat/system-admin
- pm-1365_1
- PM-959_tc-finance-integration
- feat/v6
- pm-2074_1

- deployQa:
context: org-global
Expand All @@ -242,4 +250,4 @@ workflows:
filters: &filters-prod
branches:
only:
- master
- master
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
node_modules
/.pnp
.pnp.js
.yarn

# testing
/coverage
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "rimraf ./build && export CI=false && craco build --mode ${LOGICAL_ENV:-prod}",
"build:dev": "craco build --mode ${LOGICAL_ENV:-dev}",
"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",
"lint": "eslint -c ./src/.eslintrc.js 'src/**/*.{ts,tsx,js,jsx}'",
"lint": "eslint --quiet -c ./src/.eslintrc.js 'src/**/*.{ts,tsx,js,jsx}'",
"lint:fix": "yarn lint --fix",
"test": "craco test --watchAll",
"test:no-watch": "craco test --watchAll=false --passWithNoTests",
Expand All @@ -20,6 +20,7 @@
},
"dependencies": {
"@datadog/browser-logs": "^4.21.2",
"@hello-pangea/dnd": "^18.0.1",
"@heroicons/react": "^1.0.6",
"@hookform/resolvers": "^4.1.2",
"@popperjs/core": "^2.11.8",
Expand Down Expand Up @@ -50,6 +51,7 @@
"express": "^4.21.2",
"express-fileupload": "^1.4.0",
"express-interceptor": "^1.2.0",
"filestack-js": "^3.42.0",
"highcharts": "^10.3.3",
"highcharts-react-official": "^3.2.0",
"highlight.js": "^11.6.0",
Expand Down Expand Up @@ -96,9 +98,12 @@
"redux-promise": "^0.6.0",
"redux-promise-middleware": "^6.1.3",
"redux-thunk": "^2.4.1",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.1",
"remark-breaks": "^3.0.2",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^3.0.1",
"remark-parse": "^11.0.0",
"remove": "^0.1.5",
"sanitize-html": "^2.12.1",
"sass": "^1.79.0",
Expand Down
23 changes: 20 additions & 3 deletions src/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
const path = require('path');

const tsconfigPath = path.resolve(__dirname, '../tsconfig.json');
const tsconfigRoot = path.resolve(__dirname, '..');

module.exports = {
root: true,
overrides: [
Expand Down Expand Up @@ -25,8 +30,8 @@ module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
useJSXTextNode: true,
project: './tsconfig.json',
tsconfigRootDir: '.',
project: tsconfigPath,
tsconfigRootDir: tsconfigRoot,
tsx: true,
jsx: true,
sourceType: 'module',
Expand All @@ -40,7 +45,19 @@ module.exports = {
],
settings: {
'import/resolver': {
typescript: {},
typescript: {
project: tsconfigPath,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
The typescript resolver configuration now explicitly sets the project to tsconfigPath. Ensure that this path is correct and accessible in all environments where this configuration will be used, as incorrect paths can lead to resolution issues.

},
node: {
extensions: [

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[💡 maintainability]
The addition of the node resolver with specific extensions is a good practice for ensuring module resolution. However, verify that all necessary extensions are included and that this configuration aligns with the project's requirements, as missing extensions can lead to import errors.

'.js',
'.jsx',
'.ts',
'.tsx',
'.d.ts',
'.json',
],
},
},
},
rules: {
Expand Down
5 changes: 3 additions & 2 deletions src/apps/accounts/src/config/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { EnvironmentConfig } from '~/config'
// (removed) CES Survey/Userflow integrations

export const CES_SURVEY_ID = EnvironmentConfig.USERFLOW_SURVEYS.ACCOUNT_SETTINGS
// Mark this file as a module for TS isolatedModules
export {}
1 change: 0 additions & 1 deletion src/apps/accounts/src/lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from './accounts-swr'
export * from './components'
export * from './assets'
export * from './userflow-survey'
9 changes: 0 additions & 9 deletions src/apps/accounts/src/lib/userflow-survey.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Dispatch, FC, SetStateAction, useState } from 'react'

import { BaseModal, Button, Collapsible } from '~/libs/ui'
import { authUrlLogout, updatePrimaryMemberRoleAsync, UserProfile } from '~/libs/core'
import { triggerSurvey } from '~/apps/accounts/src/lib'

import styles from './AccountRole.module.scss'

Expand Down Expand Up @@ -36,7 +35,6 @@ const AccountRole: FC<AccountRoleProps> = (props: AccountRoleProps) => {
.then(() => {
setMemberRole(newRole)
setIsRoleChangeConfirmed(true)
triggerSurvey()
})
.finally(() => {
setIsUpdating(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
useCountryLookup,
UserProfile,
} from '~/libs/core'
import { triggerSurvey } from '~/apps/accounts/src/lib'

import styles from './MemberAddress.module.scss'

Expand Down Expand Up @@ -88,7 +87,6 @@ const MemberAddress: FC<MemberAddressProps> = (props: MemberAddressProps) => {
.then(() => {
toast.success('Your account has been updated.', { position: toast.POSITION.BOTTOM_RIGHT })
setFormErrors({})
triggerSurvey()
})
.catch(() => {
toast.error('Something went wrong. Please try again.', { position: toast.POSITION.BOTTOM_RIGHT })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ import {
useMemberTraits,
UserProfile,
UserTrait,
UserTraitIds,
UserTraits,
} from '~/libs/core'
import { SettingSection, triggerSurvey } from '~/apps/accounts/src/lib'
import { SettingSection } from '~/apps/accounts/src/lib'

import { UserAndPassFromConfig } from './user-and-pass.form.config'
import styles from './UserAndPassword.module.scss'
Expand Down Expand Up @@ -76,13 +77,13 @@ const UserAndPassword: FC<UserAndPasswordProps> = (props: UserAndPasswordProps)
data: [{
userConsent: !userConsent,
}],
traitId: UserTraitIds.personalization,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ correctness]
The traitId property is being set inside the traits object, which seems incorrect as it should be a sibling to data. Ensure traitId is correctly placed to avoid potential issues with the API expecting a different structure.

},
}])
.then(() => {
setUserConsent(!userConsent)
mutateTraits()
toast.success('User consent updated successfully.')
triggerSurvey()
})
.catch(() => {
toast.error('Failed to update user consent.')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { toast } from 'react-toastify'

import { updateOrCreateMemberTraitsAsync, useMemberTraits, UserProfile, UserTraits } from '~/libs/core'
import { Button, Collapsible, FormToggleSwitch } from '~/libs/ui'
import { triggerSurvey } from '~/apps/accounts/src/lib'

import { communitiesConfig } from './communities-config'
import styles from './Communities.module.scss'
Expand Down Expand Up @@ -49,7 +48,6 @@ const Communities: FC<CommunitiesProps> = (props: CommunitiesProps) => {
setMemberCommunities(updatedCommunities)
mutateTraits()
toast.success('Communities updated successfully.')
triggerSurvey()
})
.catch(() => {
toast.error('Failed to update user Communities.')
Expand Down
14 changes: 12 additions & 2 deletions src/apps/accounts/src/settings/tabs/tcandyou/tracks/Tracks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
DesignTrackIcon,
DevelopmentTrackIcon,
SettingSection,
triggerSurvey,
} from '~/apps/accounts/src/lib'

import styles from './Tracks.module.scss'
Expand All @@ -21,6 +20,7 @@ interface TracksProps {
const Tracks: FC<TracksProps> = (props: TracksProps) => {
const [memberTracks, setMemberTracks]: [TC_TRACKS[], Dispatch<TC_TRACKS[]>]
= useState<TC_TRACKS[]>(props.profile.tracks || [])
const [isUpdating, setIsUpdating] = useState<boolean>(false)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ performance]
The isUpdating state is used to prevent multiple updates from occurring simultaneously, which is good for avoiding race conditions. However, consider adding a debounce mechanism to further ensure that rapid successive changes don't trigger multiple updates unnecessarily.


const memberProfileContext: ProfileContextData = useContext(profileContext)

Expand All @@ -29,6 +29,11 @@ const Tracks: FC<TracksProps> = (props: TracksProps) => {
}, [props.profile])

function handleTracksChange(type: TC_TRACKS): void {
if (isUpdating) {
return
}

setIsUpdating(true)
const hasTrack: boolean = memberTracks.includes(type)
let updatedTracks: TC_TRACKS[]

Expand All @@ -54,11 +59,13 @@ const Tracks: FC<TracksProps> = (props: TracksProps) => {
} as any,
})
toast.success('Your profile has been updated.')
triggerSurvey()
})
.catch(() => {
toast.error('Failed to update your profile.')
})
.finally(() => {
setIsUpdating(false)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[❗❗ correctness]
Ensure that setIsUpdating(false) is called in the finally block even if the promise is rejected. This is correctly implemented here, but be cautious of any future changes that might inadvertently remove this call, as it would lead to the UI being stuck in a disabled state.

})
}

return (
Expand All @@ -83,6 +90,7 @@ const Tracks: FC<TracksProps> = (props: TracksProps) => {
name='designTrack'
onChange={bind(handleTracksChange, this, 'DESIGN')}
value={!!memberTracks.includes('DESIGN')}
disabled={isUpdating}
/>
)}
/>
Expand All @@ -98,6 +106,7 @@ const Tracks: FC<TracksProps> = (props: TracksProps) => {
name='devTrack'
onChange={bind(handleTracksChange, this, 'DEVELOP')}
value={!!memberTracks.includes('DEVELOP')}
disabled={isUpdating}
/>
)}
/>
Expand All @@ -113,6 +122,7 @@ const Tracks: FC<TracksProps> = (props: TracksProps) => {
name='dsTrack'
onChange={bind(handleTracksChange, this, 'DATA_SCIENCE')}
value={!!memberTracks.includes('DATA_SCIENCE')}
disabled={isUpdating}
/>
)}
/>
Expand Down
Loading
Loading