Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
541 commits
Select commit Hold shift + click to select a range
c0cfdb0
Merge branch 'PROD-2321_bug-hunt-intake-form' into PROD-2437_patch-ch…
Jul 19, 2022
9ee0585
Added packageType to ChallangeMetadata
Jul 19, 2022
4381537
Merge pull request #190 from topcoder-platform/PROD-2447_review-requi…
hentrymartin Jul 19, 2022
c436f87
PROD-2448 #comment payment form email and card number field implement…
hentrymartin Jul 19, 2022
0c443d1
Merge branch 'PROD-2321_bug-hunt-intake-form' into PROD-2437_patch-ch…
Jul 19, 2022
2b20e5b
PROD-2437 #comment Added a json file to hold string constants #time 30m
Jul 19, 2022
473f89e
cleanup
Jul 19, 2022
8e1ca28
wip
Jul 19, 2022
a6eaaa7
Merge branch 'PROD-2437_patch-challenge' into PROD-2446_integrate-pri…
Jul 19, 2022
c843cd2
PROD-2492 #comment point learn src to cloudfront #time 3h
brooketopcoder Jul 19, 2022
1d85f5f
Merge pull request #191 from topcoder-platform/PROD-2492_troubleshoot
brooketopcoder Jul 19, 2022
5059e5c
PROD-2492 #comment revert pointing to cloudfront #time 5m
brooketopcoder Jul 19, 2022
623a03e
Merge pull request #192 from topcoder-platform/PROD-2492_troubleshoot
brooketopcoder Jul 19, 2022
32780dc
PROD-2446 #comment Reconfigured prize model, updated code to use new …
Jul 20, 2022
6cad336
PROD-2534 - Force Users to Log In Upon Start of Lesson
vas3a Jul 20, 2022
c8f9c45
Updating keys to prevent react rendering errors.
dave-armstrong-topcoder Jul 20, 2022
e42e7d0
Fix 'cyclomatic-complexity' error lint
vas3a Jul 20, 2022
f22fe76
PROD-2534 - redirect users back to course details page when they're n…
vas3a Jul 20, 2022
eaae2d4
Fix Bug Hunt Form CSS bug and file name
dave-armstrong-topcoder Jul 20, 2022
7b2e4b8
Merge pull request #187 from topcoder-platform/PROD-2437_patch-challenge
mmattlin Jul 20, 2022
302edbf
Merge pull request #193 from topcoder-platform/react_error_cleanup
dave-armstrong-topcoder Jul 20, 2022
c2e2664
Merge branch 'PROD-2321_bug-hunt-intake-form' into PROD-2446_integrat…
Jul 20, 2022
9304873
PROd-2533 #comment fix loading spinner styling #time 15m
brooketopcoder Jul 20, 2022
a58cdd1
PROD-2446 #comment Added copilot payments, set duration to 7 days per…
Jul 20, 2022
dfe6aad
Refactor routes to object keys
dave-armstrong-topcoder Jul 20, 2022
f360df6
Merge pull request #195 from topcoder-platform/PROD-2533_logged-out
brooketopcoder Jul 20, 2022
0ddb8a7
WIP - fetch by workId
dave-armstrong-topcoder Jul 20, 2022
1e46ef2
More WIP on fetching challenge
dave-armstrong-topcoder Jul 20, 2022
8a0df39
PROD-2534 - extract urls, add ResourceProvider provider
vas3a Jul 20, 2022
4e51e01
PROD-2534 - fix lint issues
vas3a Jul 20, 2022
7b3d599
PROD-2448 #comment payment form implementation and form validation #t…
hentrymartin Jul 20, 2022
9936850
PROD-2448 #comment mobile fix #time 30m
hentrymartin Jul 20, 2022
119350c
PROD-2448 #comment style updates #time 10m
hentrymartin Jul 20, 2022
3471a2b
Merge pull request #196 from topcoder-platform/PROD-2446_integrate-pr…
mmattlin Jul 20, 2022
56dc056
Merge pull request #194 from topcoder-platform/PROD-2534_force-login-…
brooketopcoder Jul 20, 2022
c4227d8
PROD-2440 #comment Implemented save for later functionality #time 2h
Jul 20, 2022
e8a0d29
Merge branch 'PROd-2321_bug-hunt-intake-form' into PROD-2440_save-for…
Jul 20, 2022
9bd4105
Add course completion redirect to /completed page
vas3a Jul 21, 2022
55a4753
Squashed commit of the following:
dave-armstrong-topcoder Jul 21, 2022
8e11605
fix redirect issue caused by delayed api return on dismounted component
vas3a Jul 21, 2022
3aaebe1
lint
vas3a Jul 21, 2022
43ad9e0
PROD-2442 #comment setup page flow and data load #time 4h
dave-armstrong-topcoder Jul 21, 2022
391ee0b
PROD-2565 - update label for start course button
vas3a Jul 21, 2022
4fd4fe4
PROD-2442 #comment fix login check and add workId to next page #time 5m
dave-armstrong-topcoder Jul 21, 2022
5c98f49
Merge pull request #199 from topcoder-platform/TA_add-course-completi…
brooketopcoder Jul 21, 2022
675aac1
add workId to review route
dave-armstrong-topcoder Jul 21, 2022
4bcd66e
PROD-2565 - update course start button label
vas3a Jul 21, 2022
e4dffb9
Merge branch 'PROD-2565_start-course-button-label' into dev
vas3a Jul 21, 2022
26e06b5
PROD-2442 #comment load data from workId on review page #time 20m
dave-armstrong-topcoder Jul 21, 2022
5f20052
Merge branch 'TA_fcc-fix-redirect-issue-on-module-completion' into dev
vas3a Jul 21, 2022
aed1b61
PROD-2442 #comment setting up login prompt route #time #15m
dave-armstrong-topcoder Jul 21, 2022
5df8501
PROD-2440 #comment review comments #time 30m
hentrymartin Jul 21, 2022
ee92c36
PROD-2448 #comment some more review comments #time 5m
hentrymartin Jul 21, 2022
131fa47
Merge pull request #197 from topcoder-platform/PROD-2448_payment-form
hentrymartin Jul 21, 2022
b609d26
Merge pull request #198 from topcoder-platform/PROD-2440_save-for-later
mmattlin Jul 21, 2022
19e4c95
Merge branch 'PROD-2321_bug-hunt-intake-form' into PROD-2442_fetch_ch…
dave-armstrong-topcoder Jul 21, 2022
bb4b141
PROD-2442 #comment merge conflicts #time 45m
dave-armstrong-topcoder Jul 21, 2022
6cce617
linting fix
dave-armstrong-topcoder Jul 21, 2022
5a20d8a
PROD-2442 #comment added loading ui and some cleanup #time 5m
dave-armstrong-topcoder Jul 21, 2022
825d5b8
PROD_2442 #comment tried too hard not to render - moved data to state…
dave-armstrong-topcoder Jul 21, 2022
5806c73
PROD-2442 #comment merging useEffects #time 20m
dave-armstrong-topcoder Jul 21, 2022
6c36fa3
PROD-2574 #comment Created new breadcrumb component for the intake fo…
Jul 21, 2022
b51fe1d
Merge pull request #201 from topcoder-platform/PROD-2442_fetch_challe…
dave-armstrong-topcoder Jul 21, 2022
5a29116
Merge branch 'PROD-2321_bug-hunt-intake-form' into bug-hunt-layout
Jul 21, 2022
6ea87aa
PROD-2574 #comment Merged with 2321 and using new routes obj #time 15m
Jul 21, 2022
2b72e1b
PROD-2450 #comment payment logic and activate challenge on successful…
hentrymartin Jul 21, 2022
32038a6
PROD-2450 #comment updated from intake form #time 30m
hentrymartin Jul 21, 2022
37b7d59
PROD-2450 #comment style updates #time 15m
hentrymartin Jul 21, 2022
15e37c6
PROD-2439 #comment Added logic to be able to save form as draft even …
Jul 21, 2022
312d47b
PROD-2439 #comment Added functionality for bottom back button to navi…
Jul 22, 2022
7d63ad3
Merge pull request #203 from topcoder-platform/bug-hunt-layout
mmattlin Jul 22, 2022
3b634b3
Merge branch 'PROD-2321_bug-hunt-intake-form' into PROD-2439_save-draft
Jul 22, 2022
dc392ce
fixed misspelling
Jul 22, 2022
c2fdee8
setting currentStep on save/submit, removing redirects
dave-armstrong-topcoder Jul 22, 2022
a567752
add workId to edit link
dave-armstrong-topcoder Jul 22, 2022
9f105c4
PROD-2450 #comment review comments
hentrymartin Jul 22, 2022
5879c80
bugfix for validating form data after async load
dave-armstrong-topcoder Jul 22, 2022
1399006
Merge branch 'PROD-2321_bug-hunt-intake-form' of https://github.com/t…
dave-armstrong-topcoder Jul 22, 2022
2f5228a
PROD-2450 #comment added TODO #time 10m
hentrymartin Jul 22, 2022
dc68cc9
PROD-2450 #comment changed country label
hentrymartin Jul 22, 2022
9fa0448
Merge pull request #206 from topcoder-platform/bug-hunt-set-currentStep
dave-armstrong-topcoder Jul 22, 2022
bf59292
Merge pull request #205 from topcoder-platform/PROD-2439_save-draft
mmattlin Jul 22, 2022
96a2627
Merge branch 'PROD-2321_bug-hunt-intake-form' into PROD-2450_pay-and-…
hentrymartin Jul 22, 2022
66ec3ce
Merge pull request #204 from topcoder-platform/PROD-2450_pay-and-comp…
hentrymartin Jul 22, 2022
43f9bab
PROD-2580 #comment added info cards in review page #time 1h
hentrymartin Jul 22, 2022
632bba8
tested performance, no longer concerned, removing TODO
dave-armstrong-topcoder Jul 22, 2022
d40afc0
Merge branch 'PROD-2321_bug-hunt-intake-form' of https://github.com/t…
dave-armstrong-topcoder Jul 22, 2022
440c9a8
Merge pull request #207 from topcoder-platform/PROD-2580_info-cards-r…
hentrymartin Jul 22, 2022
649c198
PROD-2568 #comment Updated timeline and phase durations #time 1h 30m
Jul 22, 2022
091b0e7
Merge branch 'PROD-2321_bug-hunt-intake-form' into PROD-2568_timeline
Jul 22, 2022
8b2a302
PROD-2441 #comment clearing bug hunt form on new form #time 1h
dave-armstrong-topcoder Jul 22, 2022
88b6b86
validation bugfix
dave-armstrong-topcoder Jul 22, 2022
56f434a
linter fix
dave-armstrong-topcoder Jul 22, 2022
f13167b
Merge pull request #208 from topcoder-platform/PROD-2441_clear-bug-hu…
dave-armstrong-topcoder Jul 22, 2022
c836b56
Fixed routes for BH review pages
Jul 22, 2022
d412c9f
Merge branch 'PROD-2321_bug-hunt-intake-form' into PROD-2568_timeline
Jul 22, 2022
d2749c0
PROD-2549 #comment refactor hooks so that we don't need to pass the u…
brooketopcoder Jul 22, 2022
8d3c8bb
PROD-2549 clean-up #time 5m
brooketopcoder Jul 22, 2022
d999947
fix: email and name populate issue
hentrymartin Jul 22, 2022
7df13c1
Merge pull request #211 from topcoder-platform/email-not-populating
hentrymartin Jul 22, 2022
b91308e
Fixed routing for new intakes that have a currentStep saved
Jul 22, 2022
8a2ca26
PROD-2568 #comment Moved phase ids to config file #time 10m
Jul 22, 2022
3eeb08e
Merge branch 'PROD-2321_bug-hunt-intake-form' into PROD-2568_timeline
Jul 22, 2022
d6189e8
cleanup
Jul 22, 2022
938ce51
Merge pull request #209 from topcoder-platform/PROD-2568_timeline
mmattlin Jul 22, 2022
7ee6dde
Merge branch 'PROD-2321_bug-hunt-intake-form' into draft-links
Jul 22, 2022
d47f454
Merge pull request #212 from topcoder-platform/draft-links
mmattlin Jul 22, 2022
7b847b7
Merge branch 'dev' into PROD-2321_bug-hunt-intake-form
Jul 22, 2022
d07e2d7
Merge pull request #213 from topcoder-platform/PROD-2321_bug-hunt-int…
mmattlin Jul 22, 2022
32ecd53
PROD-2576 - Change wording on Topcoder Academy Intro Page
vas3a Jul 25, 2022
afcc5d9
PROD-2562 - handle the navigation away on the fcc's last step of a co…
vas3a Jul 25, 2022
d0a3eab
PROD-2583 - fix course outline overlap with content
vas3a Jul 25, 2022
dc5b059
Merge pull request #215 from topcoder-platform/PROD-2576_landing_copy…
vas3a Jul 25, 2022
58d0394
PROd-2549 rename my certs to user certs; add ability to get progress …
brooketopcoder Jul 25, 2022
5424707
PROD-2549 fix lint issues #time 5m
brooketopcoder Jul 25, 2022
83e713c
PROD-2604 #comment add back hide flag on routes so that parent routes…
brooketopcoder Jul 25, 2022
4cb96f3
Merge pull request #210 from topcoder-platform/PROD-2549_resume
brooketopcoder Jul 25, 2022
24e4100
PROD-2604 clean up #time 5m
brooketopcoder Jul 25, 2022
b869d89
PROD-2604 Clean up #time 5m
brooketopcoder Jul 25, 2022
94922d2
PROD-2604 more name changes #time 5m
brooketopcoder Jul 26, 2022
68506ab
PROD-2604 more name changes #time 5m
brooketopcoder Jul 26, 2022
14acb0c
Merge pull request #214 from topcoder-platform/PROD-2562_certificatio…
vas3a Jul 26, 2022
2309875
Merge branch 'PROD-2583_congrats_screen_issues' into dev
vas3a Jul 26, 2022
a383621
Merge pull request #217 from topcoder-platform/PROD-2604_tool-routes
brooketopcoder Jul 26, 2022
0e3108c
PROD-2604 rename platform route props to be more consistent tense #ti…
brooketopcoder Jul 26, 2022
e0fea2b
Merge pull request #218 from topcoder-platform/PROD-2604_tool-routes
brooketopcoder Jul 26, 2022
59c66a9
PROD-2587 #comment change completed checkmark in collapsible nav to t…
brooketopcoder Jul 26, 2022
c01237b
PROD-2567 #comment update copy for academic honesty policy #time 15m
brooketopcoder Jul 26, 2022
5eee94e
Merge pull request #219 from topcoder-platform/PROD-2587_check-color
brooketopcoder Jul 26, 2022
e44550c
Merge pull request #220 from topcoder-platform/PROD-2567_honesty
brooketopcoder Jul 26, 2022
05778b2
PROD-2448 #comment disable pay button if form is invalid #time 20m
hentrymartin Jul 26, 2022
e0a38b6
PROD-2615 #comment website url placeholder and instruction text change
hentrymartin Jul 26, 2022
2b80cb9
PROD-2625 #comment Made the duration in the banner dynamic based on s…
Jul 26, 2022
d86bc5f
PROD-2653 #comment fix opacity of coming soon courses #time 10m
brooketopcoder Jul 26, 2022
b31d7c7
Merge pull request #224 from topcoder-platform/PROD-2653_coming-soon
brooketopcoder Jul 26, 2022
4f9beb8
PROD-2584 #comment fix breadcrumbs so they don't duplicate #time 15m
brooketopcoder Jul 26, 2022
5686b76
PROD-2584 #comment add missing useEffect dependency #time 30m
brooketopcoder Jul 26, 2022
015bfe6
PROd-2591 set cert icon sizes so they appear in safari; #time30m
brooketopcoder Jul 26, 2022
29bc7b9
PROD-2596 #comment clean up potential memory leaks in the hooks; hand…
brooketopcoder Jul 26, 2022
2c7c24d
Merge pull request #225 from topcoder-platform/PROD-2584_view-cert
testflyjets Jul 27, 2022
e0c34f3
Merge pull request #227 from topcoder-platform/PROD-2596_back-button
testflyjets Jul 27, 2022
dba344b
Merge pull request #226 from topcoder-platform/PROD-2591_cert-issues
testflyjets Jul 27, 2022
2f3c717
PROD-2592 - Course badge placeholder shown on the certificate
vas3a Jul 27, 2022
6fda808
PROD-2660 - Course cards are missing when you're logged out
vas3a Jul 27, 2022
4b5565e
show the loading spinner on learn paths
vas3a Jul 27, 2022
bce420e
fix the redirect to auth & start course on learn/course-details
vas3a Jul 27, 2022
415f85e
fix redirect on user logout for course completed & my certificate pages
vas3a Jul 27, 2022
c88dee9
PROD-2403, PROD-2404, PROD-2405 - my certificate - share with social …
vas3a Jul 27, 2022
9cfec19
lint fixes
vas3a Jul 27, 2022
fd6504a
PROD-2591 - render issue with certificate img
vas3a Jul 27, 2022
ba83726
PROD-2615 #comment cross verified the placeholders with the design
hentrymartin Jul 27, 2022
8a3755c
PROD-2615 #comment updated payment form placeholders and label
hentrymartin Jul 27, 2022
38330d1
PROD-2621 #comment updated features to test instructions text
hentrymartin Jul 27, 2022
f2c4d0c
PROD-2625 #ccomment Cleaned up code based on pr comments #time 10m
Jul 27, 2022
2399d3d
Merge pull request #222 from topcoder-platform/PROD-2615_website-url
hentrymartin Jul 27, 2022
e170b6d
Merge pull request #223 from topcoder-platform/PROD-2625_dynamic-time…
mmattlin Jul 27, 2022
80fe870
PROD-2615 #comment fix gradient
hentrymartin Jul 27, 2022
92dcdaa
PROD-2596 fix unmount #time 15m
brooketopcoder Jul 27, 2022
e2a5e6c
PROD-2403 fix tabbing #time 5m
brooketopcoder Jul 27, 2022
73102f7
PROD-2625 Updated Review banner #time 15m
Jul 27, 2022
a37e37b
Merge pull request #231 from topcoder-platform/PROD-2591_certificate-…
vas3a Jul 27, 2022
4b9071b
Merge pull request #233 from topcoder-platform/PROD-2596_back-button
brooketopcoder Jul 27, 2022
11a9a47
Merge pull request #234 from topcoder-platform/PROD-2625_dynamic-time…
mmattlin Jul 27, 2022
0df7e9f
PROD-2649 #comment add my learnings link to welcome page in mobile #t…
brooketopcoder Jul 27, 2022
5126f96
Merge pull request #232 from topcoder-platform/PROD-2615_fix-gradient
hentrymartin Jul 27, 2022
4f0e3be
Merge branch 'PROD-2660_course-cards-on-logged-out' into dev
vas3a Jul 27, 2022
e71ed1e
Merge branch 'dev' into PROD-2649_mobile
brooketopcoder Jul 27, 2022
8ce0b5b
PROD-2649 style stars for mobile #time 15m
brooketopcoder Jul 27, 2022
b77da3c
PROD-2649 fix cert line height on mobile #time 15m
brooketopcoder Jul 27, 2022
5224276
PROD-2649 fix line height for cert #time 15m
brooketopcoder Jul 27, 2022
6a1a0db
Merge pull request #221 from topcoder-platform/PROD-2448_fix-issues
hentrymartin Jul 28, 2022
fb5ec24
refactor code for course badges
vas3a Jul 28, 2022
02d6ebd
lint
vas3a Jul 28, 2022
5506346
Merge branch 'PROD-2592_course-badges' into dev
vas3a Jul 28, 2022
13b633a
Social share buttons
vas3a Jul 28, 2022
6238398
Merge branch 'PROD-2403_PROD-2404_PROD-2405_learn-certificate-social-…
vas3a Jul 28, 2022
894e7b4
PROD-2538 - prevent double click on tca honesty policy modal
vas3a Jul 28, 2022
7078c75
lint
vas3a Jul 28, 2022
ee5d308
PROD-2620 #comment clear cache on wok list page load
hentrymartin Jul 28, 2022
5f01526
PROD-2642 #comment Form saves successfully after user logs in #time 14h
Jul 28, 2022
917bb85
Merge branch 'dev' into PROD-2642_not-logged-in-form-issue
Jul 28, 2022
3265a13
Merge pull request #237 from topcoder-platform/PROD-2620_bug-hunt-lin…
hentrymartin Jul 28, 2022
e5ab741
Merge branch 'dev' into PROD-2649_mobile
brooketopcoder Jul 28, 2022
03496b9
PROD-2679 - use query params for api calls
vas3a Jul 28, 2022
b686b36
Merge pull request #238 from topcoder-platform/PROD-2679-use-query-pa…
vas3a Jul 28, 2022
72a48bc
PROD-2642 #comment Hides Save for Later button if not logged time, fi…
Jul 28, 2022
c1c6998
Fixed misspelling
Jul 28, 2022
76fb508
PROD-2649 fix tsc build errors and eslint errors; #time 1h
brooketopcoder Jul 28, 2022
0a0c7fb
Merge branch 'dev' into PROD-2649_mobile
brooketopcoder Jul 28, 2022
0a145e7
Merge pull request #236 from topcoder-platform/PROD-2538_prevent-doub…
vas3a Jul 29, 2022
e69c17e
use Button component in social-share buttons
vas3a Jul 29, 2022
1f81615
fix lint
vas3a Jul 29, 2022
e8e9bd7
lib/xhr-functions: do not add bearer token if we don't have any token…
vas3a Jul 29, 2022
1cbe876
lib: expose the profile-functions
vas3a Jul 29, 2022
22837c7
PROD-2487 - move my-certificate to course-certificate/my-certificate,…
vas3a Jul 29, 2022
78735b5
PROD-2649 remove all references to mfe-customer-work #time 5m
brooketopcoder Jul 29, 2022
ee37e65
Merge pull request #230 from topcoder-platform/PROD-2403_PROD-2404_PR…
brooketopcoder Jul 29, 2022
bd10b38
Merge branch 'dev' into PROD-2642_not-logged-in-form-issue
Jul 29, 2022
99c14c3
Merge pull request #239 from topcoder-platform/PROD-2642_not-logged-i…
mmattlin Jul 29, 2022
e18b0a7
PROD-2677 #comment add segment snippet; refactor other analytics to u…
brooketopcoder Jul 29, 2022
9789272
Merge branch 'dev' into PROD-2677_heap
brooketopcoder Jul 29, 2022
d17ae8f
PROD-2677 turn heap on in qa
brooketopcoder Jul 29, 2022
c764cc9
Merge pull request #240 from topcoder-platform/PROD-2649_mobile
brooketopcoder Jul 29, 2022
827f194
Merge branch 'dev' into PROD-2649_lint-fixes
brooketopcoder Jul 29, 2022
9de67bf
PROD-2649 conflicts
brooketopcoder Jul 29, 2022
2330167
Merge pull request #241 from topcoder-platform/PROD-2649_lint-fixes
brooketopcoder Jul 29, 2022
b2835c0
Merge branch 'dev' into PROD-2677_heap
brooketopcoder Jul 29, 2022
de15eef
PROD-2677 fix estlint issues
brooketopcoder Jul 29, 2022
1f0b11e
Merge pull request #242 from topcoder-platform/PROD-2677_heap
brooketopcoder Jul 29, 2022
6d53600
Fixed groups for forms using the Form templates
Jul 29, 2022
dddd4be
lint
vas3a Aug 1, 2022
689307e
Merge remote-tracking branch 'origin/dev' into PROD-2487-public-route…
vas3a Aug 1, 2022
4beade0
certificate name
vas3a Aug 1, 2022
da8e302
lint
vas3a Aug 1, 2022
587e7d4
Merge pull request #243 from topcoder-platform/fix-form-groups
mmattlin Aug 1, 2022
bb2b621
Merge pull request #244 from topcoder-platform/PROD-2487-public-route…
vas3a Aug 1, 2022
8a39988
PROD-2677 #comment turn off heap in dev; test prod GTM account in dev…
brooketopcoder Aug 1, 2022
091cc6d
Merge pull request #245 from topcoder-platform/PROD-2677_heap
brooketopcoder Aug 1, 2022
5e3ad99
PROD-2730 #comment determine the reg source based on the currently ac…
brooketopcoder Aug 1, 2022
2ca424a
PROD-2730 #comment convert hook to a function
brooketopcoder Aug 1, 2022
082f22c
PROD-2730 better comments #time 5m
brooketopcoder Aug 1, 2022
69570b6
PROD-2370 #refactor so routes aren't aware of reg sources #time 5m
brooketopcoder Aug 1, 2022
7f4f066
PROD-2738 #comment add a readme and make the cert last longer #time 30m
brooketopcoder Aug 1, 2022
605e698
PROD-2738 #comment improve readme #time 5m
brooketopcoder Aug 1, 2022
28287fc
PROD-2740 #comment update loading spinner to remove the hidden elemen…
brooketopcoder Aug 1, 2022
56762d9
PROD-2749 - fix navigation on fcc
vas3a Aug 2, 2022
bd27088
Merge pull request #249 from topcoder-platform/PROD-2749_lesson-nav-fix
vas3a Aug 2, 2022
fede5ae
Merge pull request #246 from topcoder-platform/PROD-2730_roles
brooketopcoder Aug 2, 2022
2d4883d
Merge pull request #247 from topcoder-platform/PROD-2738_ssl
brooketopcoder Aug 2, 2022
98bd5cc
PROD-2740 #comment reverse show/hide flag so that it defaults to hide…
brooketopcoder Aug 2, 2022
4474b33
PROD-2740 #comment better error handling if user certs don't load; ad…
brooketopcoder Aug 2, 2022
a63a08b
PROD-2740 clean up #time 5m
brooketopcoder Aug 2, 2022
91a2df6
Merge branch 'dev' into PROD-2740_loading
brooketopcoder Aug 2, 2022
7eb6857
Merge pull request #248 from topcoder-platform/PROD-2740_loading
brooketopcoder Aug 2, 2022
bf1d2d7
PROD-2642 #comment Reverted some recent changes to the code that had …
Aug 2, 2022
5dc9d3a
Merge pull request #250 from topcoder-platform/PROD-2642_not-logged-i…
mmattlin Aug 2, 2022
d01f8d6
PROD-2754 - fix mobile download certificate
vas3a Aug 3, 2022
d7b9150
lint fixes
vas3a Aug 3, 2022
a629d2f
PROD-2793 Marked bug hunt as not featured so that it won't appear on …
Aug 3, 2022
97ab03c
Merge pull request #252 from topcoder-platform/PROD-2793_hide-bug-hunt
mmattlin Aug 3, 2022
1824915
Merge pull request #251 from topcoder-platform/PROD-2754_mobile-downl…
vas3a Aug 3, 2022
8038f4b
TCA-215 - fix mobile issue for clicking hamburger menu
vas3a Aug 4, 2022
ace2bb0
TCA-176 - add loading spinner on my-learnings page
vas3a Aug 4, 2022
a1a20ea
lint fixes
vas3a Aug 4, 2022
ef5a80d
Merge pull request #253 from topcoder-platform/TCA-215_mobile-click-h…
vas3a Aug 5, 2022
c882532
Merge pull request #254 from topcoder-platform/TCA-176_loading-spinner
vas3a Aug 5, 2022
33bbd32
TCA-214 #comment hide login button on mobile #time 15m
brooketopcoder Aug 5, 2022
0497ae0
Merge pull request #255 from topcoder-platform/TCA-214_mobile-header
brooketopcoder Aug 5, 2022
3af4cfa
PROD-2713 #comment fix paddings on work items #time 5m
brooketopcoder Aug 8, 2022
a2d61e7
Merge pull request #256 from topcoder-platform/PROD-2713_paddings
brooketopcoder Aug 8, 2022
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
  •  
  •  
  •  
42 changes: 42 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ save_cache_settings: &save_cache_settings
paths:
- node_modules

running_yarn_tslint: &running_yarn_tslint
name: Running Yarn tslint
command: |
yarn add tslint -g
yarn lint

running_yarn_build: &running_yarn_build
name: Running Yarn Build
command: |
Expand All @@ -58,6 +64,12 @@ build_configuration_fetch: &build_configuration_fetch
./awsconfiguration.sh $DEPLOY_ENV
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-buildvar

lint_steps: &lint_steps
# Initialization.
- checkout
- setup_remote_docker
- run: *running_yarn_tslint

build_steps: &build_steps
# Initialization.
- checkout
Expand All @@ -83,6 +95,22 @@ deploy_steps: &deploy_steps
./master_deploy.sh -d CFRONT -e $DEPLOY_ENV -c $ENABLE_CACHE

jobs:
lint-dev:
<<: *defaults
environment:
DEPLOY_ENV: "DEV"
LOGICAL_ENV: "dev"
APPNAME: "platform-ui-mvp"
steps: *lint_steps

lint-prod:
<<: *defaults
environment:
DEPLOY_ENV: "PROD"
LOGICAL_ENV: "prod"
APPNAME: "platform-ui-mvp"
steps: *lint_steps

build-dev:
<<: *defaults
environment:
Expand Down Expand Up @@ -122,6 +150,20 @@ workflows:
version: 2
build:
jobs:
- lint-dev:
context : org-global
filters:
branches:
ignore:
- master

- lint-prod:
context : org-global
filters:
branches:
only:
- master

- build-dev:
context : org-global
filters:
Expand Down
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,30 @@

The Platform UI is the official Topcoder web app to host all modern user interfaces to be used by all users.

Beginning March, 2022 all future user interfaces at Topcoder will be implemented here. Pre-existing user interfaces will be ported to here over time until this is the only user interface any user sees when interacting with Topcoder.
All future user interfaces at Topcoder will be implemented here.
Pre-existing user interfaces will be ported to here over time until this is the only user interface any user sees when interacting with Topcoder.

>**NOTE:** The information in this file describes our coding standards and best practices. All new code should follow these guidelines both when coding new features as well as porting old features. Please take the time to read through this file in detail.

# Getting started with local development

- [Local Environment Setup](#local-environment-setup)
- [Deployments](#deployments)
- [Yarn Commands](#yarn-commands)

# Application structure

- [Folder Structure](#folder-structure)
- [Adding a Tool or Util](#adding-a-tool-or-util)

# Coding Practices
- [Git](#git)
- [Linting](#linting)
- [Styling](#styling)
- [Icons](#icons)

---

## Local Environment Setup

### Dependencies
Expand Down Expand Up @@ -393,6 +405,23 @@ example.scss
}
}
```

Mobile UIs use xs, sm, and md breakpoints. Larger breakpoints are desktop UIs.

For specifying mobile CSS, you can use @include ltemd:
```
.exampleDesktopContent {
display: flex;
width: 100%;
flex-direction: column;

@include ltemd {
flex-direction: row;
}
}
```


>**WARNING:** Do not add any breakpoints!

## Icons
Expand Down
31 changes: 18 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,33 @@
"start": "sh start-ssl.sh",
"start:bsouza": "sh start-ssl-bsouza.sh",
"build": "yarn react-app-rewired build",
"lint": "tslint 'src-ts/**/*.{ts,tsx}'",
"lint:fix": "tslint 'src-ts/**/*.{ts,tsx}' --fix",
"lint": "tslint 'src-ts/**/*.{ts,tsx}' && eslint 'src*/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "tslint 'src-ts/**/*.{ts,tsx}' --fix && eslint 'src*/**/*.{js,jsx,ts,tsx}' --fix",
"tslint": "tslint 'src-ts/**/*.{ts,tsx}'",
"tslint:fix": "tslint 'src-ts/**/*.{ts,tsx}' --fix",
"eslint": "eslint 'src/**/*.{js,jsx}'",
"eslint:fix": "eslint 'src/**/*.{js,jsx}' --fix",
"test": "react-scripts test --watchAll",
"test:no-watch": "react-scripts test --watchAll=false --passWithNoTests"
},
"dependencies": {
"@datadog/browser-logs": "^4.5.0",
"@datadog/browser-logs": "^4.7.1",
"@heroicons/react": "^1.0.6",
"apexcharts": "^3.35.3",
"axios": "^0.26.1",
"browser-cookies": "^1.2.0",
"classnames": "^2.3.1",
"crypto-js": "^4.1.1",
"customize-cra": "^1.0.0",
"html2canvas": "^1.4.1",
"lodash": "^4.17.21",
"moment": "^2.29.3",
"moment-timezone": "^0.5.34",
"prop-types": "^15.8.1",
"rc-checkbox": "^2.3.2",
"react": "^17.0.2",
"react-apexcharts": "^1.4.0",
"react-app-rewired": "^2.2.1",
"react-dom": "^17.0.2",
"react-elastic-carousel": "^0.11.5",
"react-gtm-module": "^2.0.11",
Expand All @@ -46,10 +51,9 @@
"redux-thunk": "^2.4.1",
"sass": "^1.49.8",
"styled-components": "^5.3.5",
"tc-auth-lib": "topcoder-platform/tc-auth-lib#1.0.3",
"typescript": "^4.4.2",
"uuid": "^8.3.2",
"web-vitals": "^2.1.0"
"tc-auth-lib": "topcoder-platform/tc-auth-lib#1.0.4",
"typescript": "^4.6.3",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "^7.7.5",
Expand All @@ -67,14 +71,16 @@
"@types/axios": "^0.14.0",
"@types/jest": "^27.0.1",
"@types/lodash": "^4.14.182",
"@types/node": "^16.7.13",
"@types/node": "^17.0.24",
"@types/reach__router": "^1.3.10",
"@types/react": "^17.0.20",
"@types/react-dom": "^17.0.9",
"@types/react": "^18.0.5",
"@types/react-dom": "^18.0.1",
"@types/react-gtm-module": "^2.0.1",
"@types/react-redux-toastr": "^7.6.2",
"@types/react-router-dom": "^5.3.3",
"@types/segment-analytics": "^0.0.34",
"@types/systemjs": "^6.1.0",
"@types/uuid": "^8.3.4",
"autoprefixer": "^9.8.6",
"babel-eslint": "^11.0.0-beta.2",
"babel-jest": "^24.9.0",
Expand All @@ -84,23 +90,22 @@
"concurrently": "^5.0.1",
"config": "^3.3.6",
"cross-env": "^7.0.2",
"customize-cra": "^1.0.0",
"eslint": "^8.18.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-react-app": "^7.0.1",
"eslint-config-react-important-stuff": "^2.0.0",
"eslint-plugin-prettier": "^3.1.1",
"file-loader": "^6.2.0",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^25.2.7",
"jest-cli": "^25.2.7",
"lint-staged": "^13.0.3",
"postcss-loader": "^4.0.4",
"postcss-scss": "^3.0.2",
"prettier": "^2.0.4",
"pretty-quick": "^2.0.1",
"react-app-rewired": "^2.2.1",
"resolve-url-loader": "^3.1.2",
"sass": "^1.48.0",
"sass-loader": "^10.0.5",
"style-loader": "^2.0.0",
"systemjs-webpack-interop": "^2.1.2",
Expand Down
6 changes: 1 addition & 5 deletions src-ts/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@ import { FC, ReactElement, useContext } from 'react'
import { Routes } from 'react-router-dom'
import { toast, ToastContainer } from 'react-toastify'

import { EnvironmentConfig } from './config'
import { Header } from './header'
import { analyticsInitialize, logInitialize, routeContext, RouteContextData } from './lib'

analyticsInitialize(EnvironmentConfig)
logInitialize(EnvironmentConfig)
import { routeContext, RouteContextData } from './lib'

const App: FC<{}> = () => {

Expand Down
1 change: 1 addition & 0 deletions src-ts/config/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export enum ToolTitle {
learn = 'Learn',
settings = 'Account Settings',
work = 'Work',
}
22 changes: 21 additions & 1 deletion src-ts/config/environments/environment.default.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,40 @@ import { GlobalConfig } from '../../lib'

import { AppHostEnvironment } from './app-host-environment.enum'

const COMMUNITY_WEBSITE: string = 'https://www.topcoder-dev.com'

export const EnvironmentConfigDefault: GlobalConfig = {
ANALYTICS: {
SEGMENT_KEY: undefined,
TAG_MANAGER_ID: undefined,
},
API: {
FORUM_ACCESS_TOKEN: 'va.JApNvUOx3549h20I6tnl1kOQDc75NDIp.0jG3dA.EE3gZgV',
FORUM_V2: 'https://vanilla.topcoder-dev.com/api/v2',
V3: 'https://api.topcoder-dev.com/v3',
V5: 'https://api.topcoder-dev.com/v5',
},
ENV: AppHostEnvironment.default,
LEARN_SRC: 'https://fcc.topcoder-dev.com:4431',
LOGGING: {
PUBLIC_TOKEN: 'puba0825671e469d16f940c5a30dc738f11',
SERVICE: 'platform-ui',
},
REAUTH_OFFSET: 55,
TAG_MANAGER_ID: undefined,
// TODO: Move stripe creds to .env file
STRIPE: {
ADMIN_TOKEN:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJUb3Bjb2RlciBVc2VyIiwiYWRtaW5pc3RyYXRvciJdLCJpc3MiOiJodHRwczovL2FwaS50b3Bjb2Rlci1kZXYuY29tIiwiaGFuZGxlIjoidGVzdDEiLCJleHAiOjI1NjMwNzY2ODksInVzZXJJZCI6IjQwMDUxMzMzIiwiaWF0IjoxNDYzMDc2MDg5LCJlbWFpbCI6InRlc3RAdG9wY29kZXIuY29tIiwianRpIjoiYjMzYjc3Y2QtYjUyZS00MGZlLTgzN2UtYmViOGUwYWU2YTRhIn0.wKWUe0-SaiFVN-VR_-GwgFlvWaDkSbc8H55ktb9LAVw',
API_KEY: 'pk_test_rfcS49MHRVUKomQ9JgSH7Xqz',
API_VERSION: '2020-08-27',
CUSTOMER_TOKEN:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJUb3Bjb2RlciBVc2VyIl0sImlzcyI6Imh0dHBzOi8vYXBpLnRvcGNvZGVyLWRldi5jb20iLCJoYW5kbGUiOiJ0ZXN0MSIsImV4cCI6MjU2MzA3NjY4OSwidXNlcklkIjoiNDAwNTEzMzMiLCJpYXQiOjE0NjMwNzYwODksImVtYWlsIjoidGVzdEB0b3Bjb2Rlci5jb20iLCJqdGkiOiJiMzNiNzdjZC1iNTJlLTQwZmUtODM3ZS1iZWI4ZTBhZTZhNGEifQ.jl6Lp_friVNwEP8nfsfmL-vrQFzOFp2IfM_HC7AwGcg',
},
TOPCODER_URLS: {
CHALLENGES_PAGE: `${COMMUNITY_WEBSITE}/challenges`,
GIGS_PAGE: `${COMMUNITY_WEBSITE}/gigs`,
USER_PROFILE: `${COMMUNITY_WEBSITE}/members`,
},
URL: {
ACCOUNTS_APP_CONNECTOR: 'https://accounts-auth0.topcoder-dev.com',
},
Expand Down
21 changes: 16 additions & 5 deletions src-ts/config/environments/environment.dev.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
import { GlobalConfig } from '../../lib'
import { ToolTitle } from '../constants'

import { AppHostEnvironment } from './app-host-environment.enum'
import { EnvironmentConfigDefault } from './environment.default.config'

export const EnvironmentConfigDev: GlobalConfig = {
...EnvironmentConfigDefault,
DISABLED_TOOLS: [
ToolTitle.designLib,
],
ANALYTICS: {
SEGMENT_KEY: EnvironmentConfigDefault.ANALYTICS.SEGMENT_KEY,
TAG_MANAGER_ID: 'GTM-MXXQHG8',
// TAG_MANAGER_ID: 'GTM-W7B537Z',
},
DISABLED_TOOLS: [],
ENV: AppHostEnvironment.dev,
TAG_MANAGER_ID: 'GTM-W7B537Z',
LEARN_SRC: 'https://freecodecamp.topcoder-dev.com',
// TODO: Move stripe creds to .env file
STRIPE: {
ADMIN_TOKEN:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJUb3Bjb2RlciBVc2VyIiwiYWRtaW5pc3RyYXRvciJdLCJpc3MiOiJodHRwczovL2FwaS50b3Bjb2Rlci1kZXYuY29tIiwiaGFuZGxlIjoidGVzdDEiLCJleHAiOjI1NjMwNzY2ODksInVzZXJJZCI6IjQwMDUxMzMzIiwiaWF0IjoxNDYzMDc2MDg5LCJlbWFpbCI6InRlc3RAdG9wY29kZXIuY29tIiwianRpIjoiYjMzYjc3Y2QtYjUyZS00MGZlLTgzN2UtYmViOGUwYWU2YTRhIn0.wKWUe0-SaiFVN-VR_-GwgFlvWaDkSbc8H55ktb9LAVw',
API_KEY: 'pk_test_rfcS49MHRVUKomQ9JgSH7Xqz',
API_VERSION: '2020-08-27',
CUSTOMER_TOKEN:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJUb3Bjb2RlciBVc2VyIl0sImlzcyI6Imh0dHBzOi8vYXBpLnRvcGNvZGVyLWRldi5jb20iLCJoYW5kbGUiOiJ0ZXN0MSIsImV4cCI6MjU2MzA3NjY4OSwidXNlcklkIjoiNDAwNTEzMzMiLCJpYXQiOjE0NjMwNzYwODksImVtYWlsIjoidGVzdEB0b3Bjb2Rlci5jb20iLCJqdGkiOiJiMzNiNzdjZC1iNTJlLTQwZmUtODM3ZS1iZWI4ZTBhZTZhNGEifQ.jl6Lp_friVNwEP8nfsfmL-vrQFzOFp2IfM_HC7AwGcg',
},
}
24 changes: 22 additions & 2 deletions src-ts/config/environments/environment.prod.config.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,39 @@
import { GlobalConfig } from '../../lib'
import { ToolTitle } from '../constants'

import { AppHostEnvironment } from './app-host-environment.enum'
import { EnvironmentConfigDefault } from './environment.default.config'

const COMMUNITY_WEBSITE: string = 'https://www.topcoder.com'

export const EnvironmentConfigProd: GlobalConfig = {
...EnvironmentConfigDefault,
ANALYTICS: {
SEGMENT_KEY: '8fCbi94o3ruUUGxRRGxWu194t6iVq9LH',
TAG_MANAGER_ID: 'GTM-MXXQHG8',
},
API: {
FORUM_ACCESS_TOKEN: EnvironmentConfigDefault.API.FORUM_ACCESS_TOKEN,
FORUM_V2: 'https://vanilla.topcoder.com/api/v2',
V3: 'https://api.topcoder.com/v3',
V5: 'https://api.topcoder.com/v5',
},
DISABLED_TOOLS: [ ],
ENV: AppHostEnvironment.prod,
TAG_MANAGER_ID: 'GTM-MXXQHG8',
LEARN_SRC: 'https://fcc.topcoder.com:4431',
// TODO: Move stripe creds to .env file
STRIPE: {
ADMIN_TOKEN:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJUb3Bjb2RlciBVc2VyIiwiYWRtaW5pc3RyYXRvciJdLCJpc3MiOiJodHRwczovL2FwaS50b3Bjb2Rlci1kZXYuY29tIiwiaGFuZGxlIjoidGVzdDEiLCJleHAiOjI1NjMwNzY2ODksInVzZXJJZCI6IjQwMDUxMzMzIiwiaWF0IjoxNDYzMDc2MDg5LCJlbWFpbCI6InRlc3RAdG9wY29kZXIuY29tIiwianRpIjoiYjMzYjc3Y2QtYjUyZS00MGZlLTgzN2UtYmViOGUwYWU2YTRhIn0.wKWUe0-SaiFVN-VR_-GwgFlvWaDkSbc8H55ktb9LAVw',
API_KEY: 'pk_live_m3bCBVSfkfMOEp3unZFRsHXi',
API_VERSION: '2020-08-27',
CUSTOMER_TOKEN:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJUb3Bjb2RlciBVc2VyIl0sImlzcyI6Imh0dHBzOi8vYXBpLnRvcGNvZGVyLWRldi5jb20iLCJoYW5kbGUiOiJ0ZXN0MSIsImV4cCI6MjU2MzA3NjY4OSwidXNlcklkIjoiNDAwNTEzMzMiLCJpYXQiOjE0NjMwNzYwODksImVtYWlsIjoidGVzdEB0b3Bjb2Rlci5jb20iLCJqdGkiOiJiMzNiNzdjZC1iNTJlLTQwZmUtODM3ZS1iZWI4ZTBhZTZhNGEifQ.jl6Lp_friVNwEP8nfsfmL-vrQFzOFp2IfM_HC7AwGcg',
},
TOPCODER_URLS: {
CHALLENGES_PAGE: `${COMMUNITY_WEBSITE}/challenges`,
GIGS_PAGE: `${COMMUNITY_WEBSITE}/gigs`,
USER_PROFILE: `${COMMUNITY_WEBSITE}/members`,
},
URL: {
ACCOUNTS_APP_CONNECTOR: 'https://accounts-auth0.topcoder.com',
},
Expand Down
2 changes: 2 additions & 0 deletions src-ts/declarations.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ declare module '*.html' {
export = htmlFile
}

declare module '*.pdf'

declare module '*.scss' {
const scssFile: { [style: string]: any }
export = scssFile
Expand Down
Loading