Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[PROD] Release 1.5 #77

Merged
merged 123 commits into from
Feb 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
39a44a3
feat: track page analytics and page titles
maxceem Jan 12, 2021
7512a1c
chore: deploy branch "dev-1_5"
maxceem Jan 27, 2021
9a587d9
Merge pull request #50 from topcoder-platform/feature/analytics-and-p…
maxceem Jan 27, 2021
9102ccc
Merge branch 'master' into dev
maxceem Jan 27, 2021
f219e3f
Revert "Merge branch 'master' into dev"
maxceem Jan 27, 2021
bb78934
Merge branch 'dev' into dev-1_5
maxceem Jan 27, 2021
9e4bba0
fix: path during local setup
maxceem Jan 27, 2021
3cbcdc5
Jobs and Booking Resource Management Submission.
dashu-baba Feb 4, 2021
7c9a7be
Merge pull request #75 from dashu-baba/dev-1_5
maxceem Feb 4, 2021
83d1df1
chore: debug build env variables
maxceem Feb 4, 2021
a1377f8
Merge pull request #65 from topcoder-platform/dev-1_5
maxceem Feb 4, 2021
3721e52
fixed styles for job-rb
dashu-baba Feb 5, 2021
f7fe380
feedback on stylings
dashu-baba Feb 5, 2021
0470460
Adjusted Select component style & form fluidity
dashu-baba Feb 6, 2021
ec0e3b6
Merge pull request #79 from dashu-baba/feature/job-rb-management
maxceem Feb 7, 2021
cc48edc
fix: use internal links instead of "a"
maxceem Feb 7, 2021
4958678
Merge pull request #76 from topcoder-platform/feature/job-rb-management
maxceem Feb 7, 2021
d8a0a1c
fix: add delay after create/update operations
maxceem Feb 8, 2021
cbd5869
feat: add RB edit action
maxceem Feb 8, 2021
d2d728a
Added new route. Added links to MyTeams page and MyTeamsDetails page.
mbaghel Feb 9, 2021
eb6bb17
finished presentation of manage access page
mbaghel Feb 11, 2021
a24384a
Created base modal and used to style add modal and delete modals
mbaghel Feb 12, 2021
8a1ab18
delete modal working for members
mbaghel Feb 12, 2021
2c06f11
working delete modal, formatted code
mbaghel Feb 12, 2021
cd15a8d
working suggestions and reactselect element
mbaghel Feb 13, 2021
830ff4a
able to add invites to project
mbaghel Feb 13, 2021
04060d5
fix: issue #35
yoution Feb 13, 2021
b250d55
fix: issue #81
yoution Feb 13, 2021
97c4ebe
fix: issue #80
yoution Feb 13, 2021
78cb7a5
fixed issue 68
dashu-baba Feb 13, 2021
c627bf0
fix: issue #82
yoution Feb 13, 2021
ebcf6a1
fix: issue-84
yoution Feb 13, 2021
f86503d
fix: issue #86
yoution Feb 13, 2021
bf72bec
Added capability to inject custom validator
dashu-baba Feb 13, 2021
1c724ad
fix: issue #90
yoution Feb 14, 2021
525922b
fix: issue #45
yoution Feb 14, 2021
2fe7c41
Merge pull request #92 from dashu-baba/issue-68
maxceem Feb 16, 2021
98803eb
Merge pull request #93 from yoution/issue-82
maxceem Feb 16, 2021
e6159ba
fix: format plural/singular "week"
maxceem Feb 16, 2021
aff92db
Merge pull request #95 from yoution/issue-86
maxceem Feb 16, 2021
5b3081e
fix: make improvements
yoution Feb 17, 2021
acaed88
fix: fix issue
yoution Feb 17, 2021
8548d49
fix: fix issue
yoution Feb 17, 2021
affa385
fix: delete duration
yoution Feb 17, 2021
c036ddf
fixed review items
dashu-baba Feb 17, 2021
abac3ef
Merge branch 'dev' into issue-35
maxceem Feb 17, 2021
9f52f0b
Merge pull request #88 from yoution/issue-35
maxceem Feb 17, 2021
209066c
fix: lint
maxceem Feb 17, 2021
08144eb
Merge pull request #89 from yoution/issue-81
maxceem Feb 17, 2021
4e57c34
fix: improve style logic consistency
maxceem Feb 17, 2021
ad5dbd4
Merge pull request #91 from yoution/issue-80
maxceem Feb 17, 2021
ad02cdf
Merge pull request #94 from yoution/issue-84
maxceem Feb 17, 2021
e8e3ec4
fix: update language
maxceem Feb 17, 2021
886757d
Merge pull request #99 from mbaghel/feature/member-management
maxceem Feb 17, 2021
ac4259c
fix: decrease settimeout
yoution Feb 17, 2021
55c35e0
fix: increase settimeout
yoution Feb 17, 2021
194af0f
Merge branch 'dev' into feature/member-management
maxceem Feb 17, 2021
cd5941f
Merge pull request #98 from yoution/issue-45
maxceem Feb 17, 2021
721b19f
Merge branch 'dev' into feature/member-management
maxceem Feb 17, 2021
be7ec0d
chore: remove not used package
maxceem Feb 17, 2021
4f0ec9b
final fix of custom validator. Removing supportive prop.
dashu-baba Feb 17, 2021
4568280
lint fix
dashu-baba Feb 17, 2021
2eeec1f
Merge pull request #96 from dashu-baba/issue-85
maxceem Feb 18, 2021
27a6277
fix: remove skills outline
maxceem Feb 18, 2021
9907a4f
fix: show "Interested" tab if nobody to review
maxceem Feb 18, 2021
c375bb5
fix: cannot find name for job skill
maxceem Feb 18, 2021
c8645ba
Removed previous issue reporting logic. Added static Report Popup com…
mbaghel Feb 18, 2021
82cbbc6
Added Report Popup component to MyTeamsList and MyTeamsDetails pages.
mbaghel Feb 18, 2021
8665339
added postreport service
mbaghel Feb 18, 2021
0e354a4
Merge branch 'mbaghel/report-issue' into feature/member-management
mbaghel Feb 18, 2021
b0d6864
fix: show unsupported job skills
maxceem Feb 18, 2021
b96c46e
Merge pull request #97 from yoution/issue-90
maxceem Feb 18, 2021
c5679d8
fix: lint
maxceem Feb 18, 2021
b5145fb
refactor: job loading for RB
maxceem Feb 18, 2021
e6f33c5
feat: rename job field labels
maxceem Feb 18, 2021
4398e04
feat: smaller validation error font
maxceem Feb 18, 2021
17727a4
feat: adapt group form field for mobile
maxceem Feb 18, 2021
9dbc0ed
Extracted loading spinner from delete modal to its own component. Fin…
mbaghel Feb 18, 2021
8db036e
fix: saving RB
maxceem Feb 18, 2021
e5403a6
Documentation and cleanup
mbaghel Feb 18, 2021
1e18101
Removed leftover console log. Reset textarea on close popup
mbaghel Feb 18, 2021
f6b734f
fix: step for duration only integers
maxceem Feb 19, 2021
d8604e6
fix: wrong labels in job create form
maxceem Feb 19, 2021
850ce75
fix: step for num positions only integers
maxceem Feb 19, 2021
7d037b7
fix: edit RB page borken
maxceem Feb 19, 2021
ee297cb
fix: cannot load view RB page
maxceem Feb 19, 2021
4b02817
Change request: Fixed typo in data for issue reporting. Only display …
mbaghel Feb 20, 2021
241083d
Merge pull request #104 from mbaghel/feature/member-management
maxceem Feb 20, 2021
14bb09a
Merge branch 'dev' into feature/member-management
maxceem Feb 20, 2021
11c24e7
Ran prettier. Removed logic for adding and removing invites. Changed …
mbaghel Feb 21, 2021
14a9f0f
Merge pull request #102 from topcoder-platform/feature/member-management
maxceem Feb 21, 2021
1be375a
fix: improve server error handling
maxceem Feb 21, 2021
75a4821
Remove unused style from DeleteModal. Allow adding members by email o…
mbaghel Feb 21, 2021
bbd902a
Merging changes from remote of feature/member-management to local
mbaghel Feb 21, 2021
acbc29c
Added validation for handles and emails of users already on team or i…
mbaghel Feb 22, 2021
3d46e63
Handle errors when adding members. Keep failed adds in select, show e…
mbaghel Feb 22, 2021
49ab386
Get Topcoder roles from token using a hook. Only show suggestions in …
mbaghel Feb 22, 2021
e3a73cb
Moved logic for AddModal from MemberList to new container component. …
mbaghel Feb 22, 2021
ce7bf4b
feat: permission based on Topcoder roles
maxceem Feb 22, 2021
2aca828
Merge pull request #107 from mbaghel/feature/member-management
maxceem Feb 22, 2021
da3f5c4
Merge branch 'dev' into feature/permissions
maxceem Feb 22, 2021
72cfe63
Merge pull request #108 from topcoder-platform/feature/permissions
maxceem Feb 22, 2021
1266d9c
feat: add tui editor
yoution Feb 23, 2021
baec302
refactor: permission check for member suggestions
maxceem Feb 23, 2021
b4d6661
refactor: put all actions in one config
maxceem Feb 23, 2021
a1ead8e
fix: add markdown editor
yoution Feb 23, 2021
074e0fb
feat: loading team members for permissinos
maxceem Feb 23, 2021
ced2d16
Merge pull request #109 from yoution/feature/tuieditor
maxceem Feb 23, 2021
54faf19
fix: markdown editor styles and code improvements
maxceem Feb 23, 2021
cf60658
fix: improve Job Description editor style
maxceem Feb 23, 2021
f18605e
feat: candidate accept/reject permissions
maxceem Feb 23, 2021
382e9ba
Merge pull request #110 from topcoder-platform/feature/permissions-pa…
maxceem Feb 23, 2021
fe479df
fix: success added message
maxceem Feb 23, 2021
2918e8d
feat: current user "leaves" team instead of remove
maxceem Feb 23, 2021
e8d3ac4
feat: permission for editing Jobs
maxceem Feb 23, 2021
7130123
fix: rename Member Details to Resource Booking
maxceem Feb 23, 2021
3819b56
Updated to use react-select's AsyncCreatableSelect for getting sugges…
mbaghel Feb 24, 2021
ca11835
Merge pull request #113 from mbaghel/dev
maxceem Feb 24, 2021
4cb9c59
fix: use TaaS API endpoints for permissions
maxceem Feb 24, 2021
d91d434
fix: add members case-insensitive way
maxceem Feb 25, 2021
8b94f2b
fix: always show "handle" for team members
maxceem Feb 25, 2021
a6340e2
Merge branch 'master' into dev
maxceem Feb 25, 2021
3fb3593
fix: key candidates by "id"
maxceem Feb 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ workflows:
branches:
only:
- dev
- dev-1_5

# Production builds are exectuted only on tagged commits to the
# master branch.
Expand Down
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"javascript.preferences.quoteStyle": "double",
"typescript.preferences.quoteStyle": "double",
"prettier.jsxSingleQuote": false
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This is a [single-spa](https://single-spa.js.org/) example React microapp.

## Config

For available variables config which depend on the running environment (`development` or `production`), please refer to `config/development.js` and `config/production.js`.
For available variables config which depend on the running environment (`APPENV=dev` or `APPENV=prod`), please refer to `config/dev.js` and `config/prod.js`.

For application constants which don't depend on the running environment use `src/constants/index.js`.

Expand Down
59 changes: 59 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
module.exports = function (api) {
const isProd = process.env.APPMODE === "production";
api.cache(!isProd);

const generateScopedName = isProd
? "[hash:base64:6]"
: "teams_[path][name]___[local]___[hash:base64:6]";
return {
presets: ["@babel/preset-env", "@babel/preset-react"],
plugins: [
[
"@babel/plugin-transform-runtime",
{
useESModules: true,
regenerator: false,
},
],
[
"react-css-modules",
{
filetypes: {
".scss": {
syntax: "postcss-scss",
},
},
generateScopedName,
},
],
"inline-react-svg",
],
env: {
test: {
presets: [
[
"@babel/preset-env",
{
targets: "current node",
},
],
],
plugins: [
[
"module-resolver",
{
alias: {
styles: "./src/styles",
components: "./src/components",
hooks: "./src/hooks",
utils: "./src/utils",
constants: "./src/constants",
services: "./src/services",
},
},
],
],
},
},
};
};
51 changes: 0 additions & 51 deletions babel.config.json

This file was deleted.

6 changes: 1 addition & 5 deletions config/development.js → config/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ module.exports = {
*/
CONNECT_WEBSITE_URL: "https://connect.topcoder-dev.com",

/**
* Email to report issues to
*/
EMAIL_REPORT_ISSUE: "[email protected]",

/**
* Email to request extension
*/
EMAIL_REQUEST_EXTENSION: "[email protected]",

API: {
V5: "https://api.topcoder-dev.com/v5",
V3: "https://api.topcoder-dev.com/v3",
},
};
8 changes: 5 additions & 3 deletions config/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
/* global process */

module.exports = (() => {
const env = process.env.NODE_ENV || "development";
const env = process.env.APPENV || "dev";

console.info(`APPENV: "${env}"`);

// for security reason don't let to require any arbitrary file defined in process.env
if (["production", "development"].indexOf(env) < 0) {
return require("./development");
if (["prod", "dev"].indexOf(env) < 0) {
return require("./dev");
}

return require("./" + env);
Expand Down
6 changes: 1 addition & 5 deletions config/production.js → config/prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ module.exports = {
*/
CONNECT_WEBSITE_URL: "https://connect.topcoder.com",

/**
* Email to report issues to
*/
EMAIL_REPORT_ISSUE: "[email protected]",

/**
* Email to request extension
*/
EMAIL_REQUEST_EXTENSION: "[email protected]",

API: {
V5: "https://api.topcoder.com/v5",
V3: "https://api.topcoder.com/v3",
},
};
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3'
version: "3"
services:
taas-app:
image: taas-app:latest
Expand Down
Loading