Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
3f1088c
UOF import challenges
vas3a Mar 24, 2023
df6a004
Initial Gigs app integration
jmgasper Mar 24, 2023
652fa29
UI cleanup / simplification
jmgasper Mar 25, 2023
5f07ca6
Initial login changes, added button
jmgasper Mar 27, 2023
f0918fc
Merge
jmgasper Mar 27, 2023
3a5c480
import UOF challenges list page
vas3a Mar 28, 2023
81b1d69
rename "styleName" prop on components to "styledName"
vas3a Mar 28, 2023
475819d
add filters
vas3a Mar 29, 2023
6d9cf7e
update config files
vas3a Mar 29, 2023
ad89093
UOF - challenge listing - fix challenge fetch
vas3a Mar 29, 2023
ecf6b05
Application flow updates, my-gigs pages fixed up
jmgasper Mar 29, 2023
3bc94bb
Fix for modal dialogs not working properly
jmgasper Mar 29, 2023
857c1d7
import challenge details
vas3a Mar 30, 2023
633b413
UOF-61 - challenge details page
vas3a Mar 31, 2023
3436b4e
challenge submissions tab
vas3a Mar 31, 2023
d9d5f94
update react-markdown to be compatible with new webpack
vas3a Mar 31, 2023
6b94df8
earn/challenges - add mixed buttons
vas3a Apr 3, 2023
c5c2d96
UOF-61 - import challenge submissions and my submissions pages
vas3a Apr 3, 2023
2b60ccf
Merge branch 'challenge-listing-mfe-port' into gigs_app
jmgasper Apr 4, 2023
2581532
Merge updates
jmgasper Apr 4, 2023
6038344
Cleanup routes
jmgasper Apr 4, 2023
211095e
Initial my challenges and review opportunities
jmgasper Apr 5, 2023
e84a94e
Challenge details page work
jmgasper Apr 10, 2023
3b30ee2
Challenge detail page cleanup
jmgasper Apr 11, 2023
eeb3882
UOF-61 - codebase refactor for better support for multiple apps
vas3a Apr 11, 2023
dadc65f
fix build, add "demo" script in package.json
vas3a Apr 11, 2023
1435567
move lint to root
vas3a Apr 11, 2023
07a3296
Merge remote-tracking branch 'origin/dev' into UOF-61_dev-merge
vas3a Apr 11, 2023
e62396a
cleanup & fixes
vas3a Apr 11, 2023
d92576e
more cleanup & update Readme
vas3a Apr 11, 2023
00bf9f3
add TBD readme for the platform app
vas3a Apr 11, 2023
9c2a29b
add note in start.sh
vas3a Apr 11, 2023
856638a
Merge commit 'Initial my challenges and review opportunities' into UO…
vas3a Apr 11, 2023
6797952
refactor styleName
vas3a Apr 11, 2023
661a1fb
Fix challenge listing
jmgasper Apr 12, 2023
fc1e603
Challenge details cleanup and merging with latest
jmgasper Apr 12, 2023
cbf06a8
Additional challenge details page cleanup
jmgasper Apr 12, 2023
d1ec835
Merge remote-tracking branch 'origin/unified_opportunity_feed' into U…
vas3a Apr 12, 2023
eab309f
Merge remote-tracking branch 'origin/unified_opportunity_feed' into U…
vas3a Apr 12, 2023
0baa148
merge fixes
vas3a Apr 12, 2023
4038e03
more merge fixes and cleanup
vas3a Apr 12, 2023
c95d33c
add jsconfig & more cleanup
vas3a Apr 12, 2023
f096c3e
Remove jsconfig.json to allow build to succeed
jmgasper Apr 13, 2023
5d67b75
Disable lint for this branch, temporarily
jmgasper Apr 13, 2023
121d3b9
Force CI=false - to be removed later
jmgasper Apr 13, 2023
f3908ff
Deployment to QA fix
jmgasper Apr 13, 2023
4a9eded
more cleanup & config updates
vas3a Apr 13, 2023
1a142b5
Merge branch 'UOF-61_merge-latest-uof' of github.com:topcoder-platfor…
vas3a Apr 13, 2023
048558f
re-enable lint on build
vas3a Apr 13, 2023
84e1de5
Challenge details cleanup
jmgasper Apr 14, 2023
b3f7928
Circle CI tweaks for QA
jmgasper Apr 14, 2023
5f59358
Error handling and challenge detail improvements
jmgasper Apr 14, 2023
cd0d675
add partial support for qa env
vas3a Apr 14, 2023
76561fe
:qMerge branch 'UOF-61_merge-latest-uof' of github.com:topcoder-platf…
jmgasper Apr 14, 2023
ccbf3c6
Challenge updates
jmgasper Apr 15, 2023
3976958
Registration fix
jmgasper Apr 15, 2023
71659ff
Build error
jmgasper Apr 15, 2023
7e9a323
add storybook, ui button
vas3a Apr 15, 2023
07221e8
use UI button in learn
vas3a Apr 15, 2023
cd4273c
integrate UI Button in dev-center and gamificatio admin
vas3a Apr 15, 2023
c882cdc
use UiButton in most learn, work, gamif, devcenter
vas3a Apr 15, 2023
6836ce4
rename button component
vas3a Apr 15, 2023
65d5ab8
css refactor/rename variables
vas3a Apr 16, 2023
64d6e77
Submission page fixes, porting, updates
jmgasper Apr 17, 2023
69de85f
button stories
vas3a Apr 17, 2023
fe4b9c0
Submission management page and components
jmgasper Apr 18, 2023
b659a39
Update docs, update apps to use LinkButton instead of wrapping Button…
vas3a Apr 18, 2023
c010bb3
Gigs app: fix actions/lookup
vas3a Apr 18, 2023
92e31a6
Add docs story for full width button
vas3a Apr 18, 2023
ac12c6f
Earn/gigs: use UiButton
vas3a Apr 18, 2023
3f9ba03
update button
vas3a Apr 18, 2023
0f57a11
Merge remote-tracking branch 'origin/UOF-61_merge-latest-uof' into UO…
vas3a Apr 18, 2023
ac4a210
cleanup buttons use in earn app
vas3a Apr 18, 2023
8090352
lint fixes
vas3a Apr 18, 2023
8cdf2cb
Fix winner display
jmgasper Apr 18, 2023
42dcf6b
Don't uppercase challenge titles
jmgasper Apr 18, 2023
0dfa8f6
Fix up challenge detail loading indicator and remove superfluous comp…
jmgasper Apr 19, 2023
726eda5
Fix winners icon
jmgasper Apr 19, 2023
d04246d
Removing old loading indicator from submissions tab
jmgasper Apr 19, 2023
9ec9fb2
Use query for tab on challenge details page
jmgasper Apr 19, 2023
ea7af81
Fix compilation error
jmgasper Apr 19, 2023
56e9e2b
Challenge detail tab navigation tweak
jmgasper Apr 19, 2023
5a83bd7
Fix view submissions button size
jmgasper Apr 19, 2023
3962c25
Fix problem with direct linking to my submissions page
jmgasper Apr 19, 2023
c09cb7c
more cleanup for button component
vas3a Apr 19, 2023
2f74650
more button components removed
vas3a Apr 19, 2023
d2660ea
remove all duplicate button components in earn/gigs
vas3a Apr 19, 2023
7059f19
rename UiButton to Button
vas3a Apr 19, 2023
11144a8
cleanup pagedivider component
vas3a Apr 19, 2023
df128c6
Fix up submission delete modal and flow
jmgasper Apr 20, 2023
0a39027
:Merge branch 'UOF-61_merge-latest-uof' of github.com:topcoder-platfo…
jmgasper Apr 20, 2023
b9bade7
Remove some debugging stuff
jmgasper Apr 20, 2023
730fece
Make sure delete is reflected in the UI
jmgasper Apr 20, 2023
4146a01
Fix link from submissions management page back to submission page
jmgasper Apr 20, 2023
c15a20c
Remove tc-communities stuff for now - too many components to port over
jmgasper Apr 20, 2023
64d9eda
Compile error
jmgasper Apr 20, 2023
70660cb
Add self-service -> reload work
vas3a Apr 24, 2023
d0a803a
add dev creds
vas3a Apr 24, 2023
447de84
move code to shared library
vas3a Apr 24, 2023
3209ae9
add redirect route for earn, update modal
vas3a Apr 25, 2023
bae7334
update host
vas3a Apr 25, 2023
35c15a4
use the ui/modal
vas3a Apr 25, 2023
3275ddc
get rid of UiKit placeholders
vas3a Apr 25, 2023
c85f205
fix learn layout
vas3a Apr 25, 2023
13e511f
fix self service routing & modal
vas3a Apr 26, 2023
e1c8480
cleanup ChallengeCard
vas3a Apr 26, 2023
0e3c365
upgrade react-tooltip, refactor all tooltips
vas3a Apr 27, 2023
b45c90e
refactor page loaders
vas3a Apr 27, 2023
39f0485
Merge remote-tracking branch 'origin/dev' into UOF-61_merge-latest-uof
vas3a Apr 27, 2023
e9d2e7a
move specific components into apps libraries
vas3a May 1, 2023
558f9c3
move restricted container, remove unused styles
vas3a May 1, 2023
bc1cdb2
refactor TabsNavbar, reuse in challenge details pag
vas3a May 1, 2023
2ac8b10
Merge remote-tracking branch 'origin' into UOF-61_merge-latest-uof
vas3a May 1, 2023
52cca30
random fixes/updates
vas3a May 2, 2023
c5ef996
use correct env for api calls
vas3a May 2, 2023
2ae3716
CI: build storybook
vas3a May 2, 2023
3de05f0
Fix for mono fonts not displaying in the dev center
jmgasper May 3, 2023
4e344a4
Make code blocks easier to read, with better contrast
jmgasper May 3, 2023
fd22cce
QA env for learn
vas3a May 3, 2023
750efef
Merge branch 'UOF-61_merge-latest-uof' of github.com:topcoder-platfor…
vas3a May 3, 2023
d2dc440
Minor typo
jmgasper May 4, 2023
ba8e1d9
Merge branch 'UOF-61_merge-latest-uof' of github.com:topcoder-platfor…
jmgasper May 4, 2023
37b1da4
Initial platform UI storybook documentation
jmgasper May 4, 2023
a6e6a2b
Fix images not displaying
jmgasper May 4, 2023
847e880
update restricted page
vas3a May 4, 2023
004074c
make storybook url relative in dev-center article
vas3a May 4, 2023
a345d00
PROD-4229 - disable preview button in HM pewview
vas3a May 4, 2023
7f69825
Deploy refactored code to dev
jmgasper May 4, 2023
9903332
Fix dev build for refactored code
jmgasper May 4, 2023
74a13c3
random updates
vas3a May 5, 2023
c782fbe
Pagination bug where we were starting on page 2 for some reason.
jmgasper May 8, 2023
bfb3c2f
Merge branch 'UOF-61_merge-latest-uof' of github.com:topcoder-platfor…
jmgasper May 8, 2023
5810ddd
PROD-4239, PROD-4240 - fix spinning overlay, merge solution for blank…
vas3a May 8, 2023
bda30e9
Merge remote-tracking branch 'origin/dev' into uof-dev-merge
vas3a May 9, 2023
843d0c9
Merge remote-tracking branch 'origin/dev' into uof-dev-merge
vas3a May 10, 2023
a93e61b
Merge remote-tracking branch 'origin/dev' into uof-dev-merge
vas3a May 10, 2023
577e0bc
lint fixes
vas3a May 10, 2023
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
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sourceType": "unambiguous",
"presets": ["@babel/preset-env", "@babel/preset-typescript", [
"@babel/preset-react", {"runtime": "automatic"}
]],
"plugins": ["@babel/plugin-transform-runtime"]
}
67 changes: 54 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ running_yarn_build: &running_yarn_build
yarn install
yarn build

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

running_yarn_test: &running_yarn_test
name: Running Yarn Test Build
command: |
Expand Down Expand Up @@ -91,6 +97,7 @@ build_steps: &build_steps
- run: *install_deploysuite
- run: *build_configuration_fetch
- run: *running_yarn_build
- run: *running_yarn_sb_build
- persist_to_workspace: *workspace_persist

test_steps: &test_steps
Expand Down Expand Up @@ -129,13 +136,13 @@ 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-dev:
# <<: *defaults
# environment:
# DEPLOY_ENV: "DEV"
# LOGICAL_ENV: "dev"
# APPNAME: "platform-ui-mvp"
# steps: *lint_steps

# lint-prod:
# <<: *defaults
Expand All @@ -153,6 +160,14 @@ jobs:
APPNAME: "platform-ui-mvp"
steps: *build_steps

build-qa:
<<: *defaults
environment:
DEPLOY_ENV: "QA"
LOGICAL_ENV: "qa"
APPNAME: "platform-ui-mvp"
steps: *build_steps

build-prod:
<<: *defaults
environment:
Expand All @@ -179,6 +194,15 @@ jobs:
APPNAME: "platform-ui-mvp"
steps: *deploy_steps

deployQa:
<<: *deploy_defaults
environment:
DEPLOY_ENV: "QA"
LOGICAL_ENV: "qa"
ENABLE_CACHE: true
APPNAME: "platform-ui-mvp"
steps: *deploy_steps

deployProd:
<<: *deploy_defaults
environment:
Expand All @@ -192,12 +216,12 @@ workflows:
version: 2
build:
jobs:
- lint-dev:
context : org-global
filters:
branches:
ignore:
- master
# - lint-dev:
# context : org-global
# filters:
# branches:
# ignore:
# - master

# - lint-prod:
# context : org-global
Expand All @@ -212,6 +236,14 @@ workflows:
branches:
ignore:
- master
- qa

- build-qa:
context : org-global
filters:
branches:
only:
- qa

- build-prod:
context : org-global
Expand All @@ -229,6 +261,15 @@ workflows:
only:
- dev

- deployQa:
context : org-global
requires:
- build-qa
filters:
branches:
only:
- qa

- deployProd:
context : org-global
requires:
Expand Down
25 changes: 25 additions & 0 deletions .environments/.env.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
REACT_APP_HOST_ENV=dev

REACT_APP_ENABLE_TCA_CERT_MONETIZATION=false

# Stripe configs
REACT_APP_STRIPE_API_KEY=pk_test_rfcS49MHRVUKomQ9JgSH7Xqz
REACT_APP_STRIPE_API_VERSION=2020-08-27
# not really used anywhere
REACT_APP_STRIPE_ADMIN_TOKEN=
REACT_APP_STRIPE_CUSTOMER_TOKEN=

# Vanilla Forums
REACT_APP_VANILLA_ACCESS_TOKEN=va.JApNvUOx3549h20I6tnl1kOQDc75NDIp.0jG3dA.EE3gZgV

# DataDogLogging
REACT_APP_DATADOG_PUBLIC_TOKEN=puba0825671e469d16f940c5a30dc738f11

REACT_APP_MEMBER_VERIFY_LOOKER=3322

REACT_APP_SPRIG_ENV_ID=bUcousVQ0-yF

# Filestack configuration for uploading Submissions
REACT_APP_FILESTACK_API_KEY='AzFINuQoqTmqw0QEoaw9az'
REACT_APP_FILESTACK_REGION='us-east-1'
REACT_APP_FILESTACK_SUBMISSION_CONTAINER='topcoder-dev-submissions-dmz'
25 changes: 25 additions & 0 deletions .environments/.env.prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
REACT_APP_HOST_ENV=prod

REACT_APP_ENABLE_TCA_CERT_MONETIZATION=false

# Stripe configs
REACT_APP_STRIPE_API_KEY=pk_live_m3bCBVSfkfMOEp3unZFRsHXi
REACT_APP_STRIPE_API_VERSION=2020-08-27
# not really used anywhere
REACT_APP_STRIPE_ADMIN_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJUb3Bjb2RlciBVc2VyIiwiYWRtaW5pc3RyYXRvciJdLCJpc3MiOiJodHRwczovL2FwaS50b3Bjb2Rlci1kZXYuY29tIiwiaGFuZGxlIjoidGVzdDEiLCJleHAiOjI1NjMwNzY2ODksInVzZXJJZCI6IjQwMDUxMzMzIiwiaWF0IjoxNDYzMDc2MDg5LCJlbWFpbCI6InRlc3RAdG9wY29kZXIuY29tIiwianRpIjoiYjMzYjc3Y2QtYjUyZS00MGZlLTgzN2UtYmViOGUwYWU2YTRhIn0.wKWUe0-SaiFVN-VR_-GwgFlvWaDkSbc8H55ktb9LAVw
REACT_APP_STRIPE_CUSTOMER_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlcyI6WyJUb3Bjb2RlciBVc2VyIl0sImlzcyI6Imh0dHBzOi8vYXBpLnRvcGNvZGVyLWRldi5jb20iLCJoYW5kbGUiOiJ0ZXN0MSIsImV4cCI6MjU2MzA3NjY4OSwidXNlcklkIjoiNDAwNTEzMzMiLCJpYXQiOjE0NjMwNzYwODksImVtYWlsIjoidGVzdEB0b3Bjb2Rlci5jb20iLCJqdGkiOiJiMzNiNzdjZC1iNTJlLTQwZmUtODM3ZS1iZWI4ZTBhZTZhNGEifQ.jl6Lp_friVNwEP8nfsfmL-vrQFzOFp2IfM_HC7AwGcg

# Vanilla Forums
REACT_APP_VANILLA_ACCESS_TOKEN=va.JApNvUOx3549h20I6tnl1kOQDc75NDIp.0jG3dA.EE3gZgV

# DataDogLogging
REACT_APP_DATADOG_PUBLIC_TOKEN=puba0825671e469d16f940c5a30dc738f11

REACT_APP_MEMBER_VERIFY_LOOKER=3322

REACT_APP_SPRIG_ENV_ID=bUcousVQ0-yF

# Filestack configuration for uploading Submissions
REACT_APP_FILESTACK_API_KEY=
REACT_APP_FILESTACK_REGION=
REACT_APP_FILESTACK_SUBMISSION_CONTAINER=
25 changes: 25 additions & 0 deletions .environments/.env.qa
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
REACT_APP_HOST_ENV=qa

REACT_APP_ENABLE_TCA_CERT_MONETIZATION=false

# Stripe configs
REACT_APP_STRIPE_API_KEY=pk_test_rfcS49MHRVUKomQ9JgSH7Xqz
REACT_APP_STRIPE_API_VERSION=2020-08-27
# not really used anywhere
REACT_APP_STRIPE_ADMIN_TOKEN=
REACT_APP_STRIPE_CUSTOMER_TOKEN=

# Vanilla Forums
REACT_APP_VANILLA_ACCESS_TOKEN=va.JApNvUOx3549h20I6tnl1kOQDc75NDIp.0jG3dA.EE3gZgV

# DataDogLogging
REACT_APP_DATADOG_PUBLIC_TOKEN=puba0825671e469d16f940c5a30dc738f11

REACT_APP_MEMBER_VERIFY_LOOKER=3322

REACT_APP_SPRIG_ENV_ID=bUcousVQ0-yF

# Filestack configuration for uploading Submissions
REACT_APP_FILESTACK_API_KEY=
REACT_APP_FILESTACK_REGION=
REACT_APP_FILESTACK_SUBMISSION_CONTAINER=
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Related JIRA Ticket:
https://topcoder.atlassian.net/browse/<!-- JIRA TICKET ID -->

# What's in this PR?
<!-- Please add a brief description of what this PR accomplishes -->

<!-- SEE [Pull Requests](../README.md#pull-requests) for more details about opening a PR -->
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
node_modules
/.pnp
.pnp.js

Expand All @@ -18,11 +18,11 @@
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.*.local
.env

npm-debug.log*
yarn-debug.log*
yarn-error.log*

storybook-static
38 changes: 38 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin";
import type { StorybookConfig } from "@storybook/react-webpack5";

import cracoConfig from '../craco.config';

const config: StorybookConfig = {
stories: ["../src/**/*.docs.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/preset-create-react-app",
"@storybook/addon-interactions",
],
framework: {
name: "@storybook/react-webpack5",
options: {},
},
docs: {
autodocs: "tag",
},
staticDirs: ["../public"],
webpackFinal: async (config, { configType }) => {

if (config.resolve) {
config.resolve.plugins = [
...(config.resolve.plugins ?? []),
new TsconfigPathsPlugin()
];
config.resolve.alias = {
...config.resolve.alias,
...cracoConfig.webpack.alias,
};
}

return config;
}
};
export default config;
3 changes: 3 additions & 0 deletions .storybook/manager-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<style>
[data-item-id*='-hidden-']{display: none !important}
</style>
6 changes: 6 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<style>
.innerZoomElementWrapper {
display: flex;
flex-direction: column;
}
</style>
15 changes: 15 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { Preview } from "@storybook/react";

const preview: Preview = {
parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
},
};

export default preview;
Loading