From 5e16bd1e8f721e3378cd2dd5fe3099f12bebca87 Mon Sep 17 00:00:00 2001
From: Kiril Kartunov
Date: Mon, 12 Oct 2020 10:16:38 +0300
Subject: [PATCH 01/41] #5032 removed dropdown
---
.../components/tc-communities/Header/index.jsx | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/shared/components/tc-communities/Header/index.jsx b/src/shared/components/tc-communities/Header/index.jsx
index c610f947e6..14ef6b98da 100644
--- a/src/shared/components/tc-communities/Header/index.jsx
+++ b/src/shared/components/tc-communities/Header/index.jsx
@@ -232,14 +232,16 @@ function Header(props) {
{renderedLogos}
-
-
-
-
-
+ {
+ !_.startsWith(communityId, 'tco') ? (
+
+
+
+ ) : null
+ }
{profile && (
From b8c4a594cd986c7f0303d0f25c303a3bac4960d0 Mon Sep 17 00:00:00 2001
From: Kiril Kartunov
Date: Mon, 12 Oct 2020 12:47:18 +0300
Subject: [PATCH 02/41] Add logo and profile
---
src/assets/themes/tco/TCO20.svg | 36 ++++++++++
src/shared/app.jsx | 2 +-
.../tc-communities/tco20/Header.jsx | 68 +++++++++++++++++++
.../tc-communities/tco20/header.scss | 33 +++++++++
.../routes/Communities/TCO20/Routes.jsx | 13 +---
5 files changed, 140 insertions(+), 12 deletions(-)
create mode 100644 src/assets/themes/tco/TCO20.svg
create mode 100644 src/shared/containers/tc-communities/tco20/Header.jsx
create mode 100644 src/shared/containers/tc-communities/tco20/header.scss
diff --git a/src/assets/themes/tco/TCO20.svg b/src/assets/themes/tco/TCO20.svg
new file mode 100644
index 0000000000..75ad154442
--- /dev/null
+++ b/src/assets/themes/tco/TCO20.svg
@@ -0,0 +1,36 @@
+
+
\ No newline at end of file
diff --git a/src/shared/app.jsx b/src/shared/app.jsx
index fa3d6bd2b6..7d80ade47d 100644
--- a/src/shared/app.jsx
+++ b/src/shared/app.jsx
@@ -49,7 +49,7 @@ export default function App() {
transitionOut="fadeOut"
progressBar={false}
/>
- { isomorphy.isDevBuild() ? : undefined }
+ {/* { isomorphy.isDevBuild() ? : undefined } */}
);
}
diff --git a/src/shared/containers/tc-communities/tco20/Header.jsx b/src/shared/containers/tc-communities/tco20/Header.jsx
new file mode 100644
index 0000000000..a6f8d32e5f
--- /dev/null
+++ b/src/shared/containers/tc-communities/tco20/Header.jsx
@@ -0,0 +1,68 @@
+/** TCO20 special header */
+
+import PT from 'prop-types';
+import React from 'react';
+import ContentfulMenu from 'components/Contentful/Menu';
+import { Link } from 'topcoder-react-utils';
+import { connect } from 'react-redux';
+import { Avatar } from 'topcoder-react-ui-kit';
+import TCO20Logo from 'assets/themes/tco/TCO20.svg';
+import defaultStyle from './header.scss';
+
+function TCO20Header(props) {
+ const { base, meta, auth } = props;
+ console.log('TCO20Header', props)
+ return (
+
+
+
+
+ {
+ meta.menuItems ? (
+
+ ) : null
+ }
+
+ {
+ auth && auth.profile ? (
+
+
+ {auth.profile.handle}
+
+
+
+ ) : (
+
+ LOGIN
+ SIGN UP
+
+ )
+ }
+
+
+ );
+}
+
+TCO20Header.defaultProps = {
+ base: '',
+ auth: null,
+};
+
+TCO20Header.propTypes = {
+ base: PT.string,
+ meta: PT.shape().isRequired,
+ auth: PT.shape(),
+};
+
+function mapStateToProps(state) {
+ return {
+ auth: state.auth,
+ };
+}
+
+export default connect(mapStateToProps)(TCO20Header);
diff --git a/src/shared/containers/tc-communities/tco20/header.scss b/src/shared/containers/tc-communities/tco20/header.scss
new file mode 100644
index 0000000000..03fefdd913
--- /dev/null
+++ b/src/shared/containers/tc-communities/tco20/header.scss
@@ -0,0 +1,33 @@
+@import '~styles/mixins';
+
+.topHeader {
+ display: flex;
+ align-items: center;
+ background-color: $tc-black;
+
+ @include xs-to-sm {
+ flex-direction: column;
+ padding-top: 15px;
+ }
+
+ .headerLogo {
+ svg {
+ max-height: 28px;
+ }
+ }
+
+ .profile {
+ margin-right: 26px;
+ display: flex;
+
+ .userMenuHandle {
+ color: #fff;
+ font-size: 14px;
+ font-weight: 700;
+ line-height: 30px;
+ white-space: nowrap;
+ font-family: Roboto, sans-serif;
+ margin-right: 12px;
+ }
+ }
+}
diff --git a/src/shared/routes/Communities/TCO20/Routes.jsx b/src/shared/routes/Communities/TCO20/Routes.jsx
index 3f4ab6b468..bfb0a513bb 100644
--- a/src/shared/routes/Communities/TCO20/Routes.jsx
+++ b/src/shared/routes/Communities/TCO20/Routes.jsx
@@ -7,24 +7,15 @@ import PT from 'prop-types';
import React from 'react';
import { Route, Switch } from 'react-router-dom';
import ContentfulRoute from 'components/Contentful/Route';
-import ContentfulMenu from 'components/Contentful/Menu';
import Viewport from 'components/Contentful/Viewport';
import Profile from 'routes/Profile';
import ProfileStats from 'routes/ProfileStats';
+import TCO20Header from 'containers/tc-communities/tco20/Header';
export default function TCO20({ base, meta }) {
return (
- {
- meta.menuItems ? (
-
- ) : null
- }
+
}
From 14aac6ef11c5d283dd8c2a5b3ce6a72c51769b80 Mon Sep 17 00:00:00 2001
From: "Luiz R. Rodrigues"
Date: Tue, 13 Oct 2020 21:52:54 -0300
Subject: [PATCH 03/41] SSR: Revert changes make in PR #4285
---
src/shared/routes/ChallengeDetails.jsx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/shared/routes/ChallengeDetails.jsx b/src/shared/routes/ChallengeDetails.jsx
index 0775d1f88a..3c685f522a 100644
--- a/src/shared/routes/ChallengeDetails.jsx
+++ b/src/shared/routes/ChallengeDetails.jsx
@@ -7,9 +7,10 @@
import _ from 'lodash';
import LoadingPagePlaceholder from 'components/LoadingPagePlaceholder';
+import path from 'path';
import React from 'react';
import qs from 'qs';
-import { AppChunk } from 'topcoder-react-utils';
+import { AppChunk, webpack } from 'topcoder-react-utils';
export default function ChallengeDetailsRoute(props) {
return (
@@ -30,6 +31,11 @@ export default function ChallengeDetailsRoute(props) {
})
}
renderPlaceholder={() => }
+ renderServer={() => {
+ const p = webpack.resolveWeak('containers/challenge-detail');
+ const ChallengeDetails = webpack.requireWeak(path.resolve(__dirname, p));
+ return ;
+ }}
/>
);
}
From b9e2811b9e144a9fc6fde13783ce98c6bf337ba2 Mon Sep 17 00:00:00 2001
From: Luiz Ricardo Rodrigues
Date: Tue, 13 Oct 2020 21:55:21 -0300
Subject: [PATCH 04/41] ci: deploy seo-fix to Stag env
Issue #5022
---
.circleci/config.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 1e58d6ae06..d016778e15 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -260,7 +260,7 @@ workflows:
branches:
only:
- develop
- - listing-develop-sync
+ - seo-fix
# Production builds are exectuted
# when PR is merged to the master
# Don't change anything in this configuration
From 1d2a7f1da2c21dae76ae7ea9fccb5d7be735c7b5 Mon Sep 17 00:00:00 2001
From: Dedy Wahyudi
Date: Wed, 14 Oct 2020 12:06:27 +0700
Subject: [PATCH 05/41] Fixes for 4029, 4994, 5102
---
.../Specification/SideBar/index.jsx | 48 +++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/src/shared/components/challenge-detail/Specification/SideBar/index.jsx b/src/shared/components/challenge-detail/Specification/SideBar/index.jsx
index 42912944d5..281e23b9a9 100644
--- a/src/shared/components/challenge-detail/Specification/SideBar/index.jsx
+++ b/src/shared/components/challenge-detail/Specification/SideBar/index.jsx
@@ -197,9 +197,40 @@ export default function SideBar({
)
}
+ {
+ !isDesign && (
+
+
+ Usable Code in Dev Challenges
+
+
+ )
+ }
)
}
+ { isMM && (
+
+ )}
{
isDesign
&& (
@@ -331,6 +362,23 @@ export default function SideBar({
)
}
+ { !isDesign && (
+
+ )}
{ shareable && (
From 5f31b7891fe2951bb99a89224bfef101666f5150 Mon Sep 17 00:00:00 2001
From: Dedy Wahyudi
Date: Wed, 14 Oct 2020 22:56:27 +0700
Subject: [PATCH 06/41] fixes based on feedback
---
.../Specification/SideBar/index.jsx | 70 +++++++++++++------
.../Specification/SideBar/styles.scss | 4 ++
2 files changed, 54 insertions(+), 20 deletions(-)
diff --git a/src/shared/components/challenge-detail/Specification/SideBar/index.jsx b/src/shared/components/challenge-detail/Specification/SideBar/index.jsx
index 281e23b9a9..5a0d32a16f 100644
--- a/src/shared/components/challenge-detail/Specification/SideBar/index.jsx
+++ b/src/shared/components/challenge-detail/Specification/SideBar/index.jsx
@@ -88,6 +88,28 @@ export default function SideBar({
);
+ const usableCodeArticle = (
+
+
+ Useable Code Rules
+
+
+ A set of guidelines to help determine if code is acceptable or not.
+
+
+ );
+
+ const vscodeTip = (
+
+
+ Topcoder Extension for VSCode
+
+
+ Shortcuts to perform actions related to Topcoder platform without having to open a browser
+
+
+ );
+
return (
)
}
- { !isDesign && (
-
- )}
+
{ shareable && (
);
}
diff --git a/src/shared/components/buttons/themed/tc.scss b/src/shared/components/buttons/themed/tc.scss
index 952fd18d83..1c0e006caf 100644
--- a/src/shared/components/buttons/themed/tc.scss
+++ b/src/shared/components/buttons/themed/tc.scss
@@ -7,6 +7,7 @@
text-decoration: none !important;
text-transform: uppercase !important;
margin: 0 !important;
+ white-space: nowrap !important;
}
@mixin primary-green {
@@ -107,6 +108,7 @@
text-decoration: none !important;
text-transform: uppercase !important;
margin: 0 !important;
+ white-space: nowrap !important;
}
@mixin secondary-gray {
@@ -133,6 +135,7 @@
font-weight: 700 !important;
text-transform: uppercase !important;
margin: 0 !important;
+ white-space: nowrap !important;
}
@mixin warn-red {
diff --git a/src/shared/containers/tc-communities/tco20/Header.jsx b/src/shared/containers/tc-communities/tco20/Header.jsx
index a6f8d32e5f..f38752317a 100644
--- a/src/shared/containers/tc-communities/tco20/Header.jsx
+++ b/src/shared/containers/tc-communities/tco20/Header.jsx
@@ -3,20 +3,47 @@
import PT from 'prop-types';
import React from 'react';
import ContentfulMenu from 'components/Contentful/Menu';
-import { Link } from 'topcoder-react-utils';
+import { Link, config } from 'topcoder-react-utils';
import { connect } from 'react-redux';
import { Avatar } from 'topcoder-react-ui-kit';
+import MediaQuery from 'react-responsive';
+import { getCurrentUrl } from 'utils/url';
import TCO20Logo from 'assets/themes/tco/TCO20.svg';
import defaultStyle from './header.scss';
function TCO20Header(props) {
const { base, meta, auth } = props;
- console.log('TCO20Header', props)
+ const profileHTML = () => (
+
+ {
+ auth && auth.profile ? (
+
+
+ {auth.profile.handle}
+
+
+
+ ) : (
+
+ LOGIN
+ SIGN UP
+
+ )
+ }
+
+ );
return (
-
-
-
+
+
+
+
+
+ {
+ profileHTML()
+ }
+
+
{
meta.menuItems ? (
) : null
}
-
+
{
- auth && auth.profile ? (
-
-
- {auth.profile.handle}
-
-
-
- ) : (
-
- LOGIN
- SIGN UP
-
- )
+ profileHTML()
}
-
+
);
}
diff --git a/src/shared/containers/tc-communities/tco20/header.scss b/src/shared/containers/tc-communities/tco20/header.scss
index 03fefdd913..ebe422a655 100644
--- a/src/shared/containers/tc-communities/tco20/header.scss
+++ b/src/shared/containers/tc-communities/tco20/header.scss
@@ -1,4 +1,5 @@
@import '~styles/mixins';
+@import 'components/buttons/themed/tc.scss';
.topHeader {
display: flex;
@@ -10,9 +11,22 @@
padding-top: 15px;
}
- .headerLogo {
- svg {
- max-height: 28px;
+ .logoWrapp {
+ display: flex;
+ justify-content: space-between;
+
+ @include xs-to-sm {
+ width: 100%;
+ }
+
+ .headerLogo {
+ svg {
+ max-height: 28px;
+
+ @include xs-to-sm {
+ margin-left: -35px;
+ }
+ }
}
}
@@ -29,5 +43,24 @@
font-family: Roboto, sans-serif;
margin-right: 12px;
}
+
+ .loginLink {
+ text-decoration: none;
+ color: #888894;
+ font-family: Roboto, sans-serif;
+ font-size: 13px;
+ font-weight: bold;
+ line-height: 30px;
+ margin-right: 30px;
+ }
+
+ .signUpLink {
+ @include primary-borderless;
+ @include sm;
+
+ &:hover {
+ @include primary-borderless;
+ }
+ }
}
}
diff --git a/src/shared/utils/url.js b/src/shared/utils/url.js
index f7c76b3da9..52ad5430a8 100644
--- a/src/shared/utils/url.js
+++ b/src/shared/utils/url.js
@@ -8,6 +8,15 @@ import _ from 'lodash';
import qs from 'qs';
import { isomorphy } from 'topcoder-react-utils';
import { BUCKETS } from 'utils/challenge-listing/buckets';
+
+/**
+ * Get current URL
+ */
+export function getCurrentUrl() {
+ if (isomorphy.isServerSide()) return null;
+ return window.location.href;
+}
+
/**
* Get current URL hash parameters as object
*/
From 1aa1e015863cbe727ecfd4225d87955a22db87a1 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Thu, 15 Oct 2020 22:20:22 +0530
Subject: [PATCH 11/41] Update index.jsx
---
src/shared/components/challenge-listing/Sidebar/index.jsx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/shared/components/challenge-listing/Sidebar/index.jsx b/src/shared/components/challenge-listing/Sidebar/index.jsx
index 903d90cde0..13a150688f 100644
--- a/src/shared/components/challenge-listing/Sidebar/index.jsx
+++ b/src/shared/components/challenge-listing/Sidebar/index.jsx
@@ -39,7 +39,7 @@ export default function SideBarFilters({
// editSavedFiltersMode,
// extraBucket,
// filterState,
- hideTcLinksInFooter,
+ // hideTcLinksInFooter,
isAuth,
// resetFilterName,
// savedFilters,
@@ -84,7 +84,7 @@ export default function SideBarFilters({
/>
{/* )} */}
-
+
);
}
@@ -94,7 +94,7 @@ SideBarFilters.defaultProps = {
disabled: false,
// dragState: {},
// extraBucket: null,
- hideTcLinksInFooter: false,
+ // hideTcLinksInFooter: false,
isAuth: false,
expanding: false,
};
@@ -116,7 +116,7 @@ SideBarFilters.propTypes = {
// editSavedFiltersMode: PT.bool.isRequired,
// extraBucket: PT.string,
// filterState: PT.shape().isRequired,
- hideTcLinksInFooter: PT.bool,
+ // hideTcLinksInFooter: PT.bool,
isAuth: PT.bool,
// resetFilterName: PT.func.isRequired,
// savedFilters: PT.arrayOf(PT.shape()).isRequired,
From e8b6b8906d822be33402dc1549ac65cb077a83e0 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Thu, 15 Oct 2020 22:28:22 +0530
Subject: [PATCH 12/41] Update ChallengeFilters.jsx
---
.../components/challenge-listing/Filters/ChallengeFilters.jsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx b/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
index 6bc2bd13c7..7abd0658ea 100644
--- a/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
+++ b/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
@@ -49,6 +49,7 @@ export default function ChallengeFilters({
if (filterState.events && filterState.events.length) filterRulesCount += 1;
if (filterState.tags && filterState.tags.length) filterRulesCount += 1;
if (filterState.types && filterState.types.length) filterRulesCount += 1;
+ if (filterState.status) filterRulesCount += 1;
if (filterState.endDateStart || filterState.startDateEnd) {
filterRulesCount += 1;
}
From ae9933335b2629b3fb39083be67694d5c4738b10 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Thu, 15 Oct 2020 22:31:09 +0530
Subject: [PATCH 13/41] Update index.jsx
---
.../components/challenge-listing/Filters/FiltersPanel/index.jsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx b/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx
index 8b0147a9fb..244b5343e7 100644
--- a/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx
+++ b/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx
@@ -433,6 +433,7 @@ export default function FiltersPanel({
events: [],
endDateStart: null,
startDateEnd: null,
+ status: 'Active',
});
selectCommunity(defaultCommunityId);
setSearchText('');
From d18b2b1b683b9ee7a8a9652372879ab5713e9542 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Thu, 15 Oct 2020 22:36:46 +0530
Subject: [PATCH 14/41] Update index.jsx
---
src/shared/components/challenge-listing/Sidebar/index.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/components/challenge-listing/Sidebar/index.jsx b/src/shared/components/challenge-listing/Sidebar/index.jsx
index 13a150688f..cfa51585c7 100644
--- a/src/shared/components/challenge-listing/Sidebar/index.jsx
+++ b/src/shared/components/challenge-listing/Sidebar/index.jsx
@@ -84,7 +84,7 @@ export default function SideBarFilters({
/>
{/* )} */}
-
+
);
}
From 312d56b265fa2ebcaf6244a7d9bb67da7091f7f5 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Thu, 15 Oct 2020 22:49:03 +0530
Subject: [PATCH 15/41] Update index.jsx
---
.../challenge-detail/Header/DeadlinesPanel/Card/index.jsx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/shared/components/challenge-detail/Header/DeadlinesPanel/Card/index.jsx b/src/shared/components/challenge-detail/Header/DeadlinesPanel/Card/index.jsx
index 5efc2339be..154e95a46b 100644
--- a/src/shared/components/challenge-detail/Header/DeadlinesPanel/Card/index.jsx
+++ b/src/shared/components/challenge-detail/Header/DeadlinesPanel/Card/index.jsx
@@ -10,6 +10,7 @@ import './style.scss';
/* Date/time format to use in the card. */
const FORMAT = 'MMM DD, HH:mm';
+const FORMAT_YEAR = 'MMM DD YYYY, HH:mm';
export default function Card({ past, time, title }) {
const time2 = moment(time);
@@ -20,7 +21,7 @@ export default function Card({ past, time, title }) {
{title}
- {time2.format(FORMAT)}
+ {time2.format(time2.year() !== moment().year() ? FORMAT_YEAR : FORMAT)}
);
From fa753aea72bfefb56cae4b28da52a75c2b3d9a90 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Thu, 15 Oct 2020 22:52:43 +0530
Subject: [PATCH 16/41] Update index.jsx.snap
---
.../challenge-listing/Sidebar/__snapshots__/index.jsx.snap | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/__tests__/shared/components/challenge-listing/Sidebar/__snapshots__/index.jsx.snap b/__tests__/shared/components/challenge-listing/Sidebar/__snapshots__/index.jsx.snap
index abe4b7d0da..f37f92bc07 100644
--- a/__tests__/shared/components/challenge-listing/Sidebar/__snapshots__/index.jsx.snap
+++ b/__tests__/shared/components/challenge-listing/Sidebar/__snapshots__/index.jsx.snap
@@ -16,7 +16,7 @@ exports[`Matches shallow shapshot 1`] = `
/>
`;
@@ -37,7 +37,7 @@ exports[`Matches shallow shapshot 2`] = `
/>
`;
From 595ff748c28060346b5b1dd6c7cef08323a12b63 Mon Sep 17 00:00:00 2001
From: gets0ul
Date: Fri, 16 Oct 2020 00:46:52 +0700
Subject: [PATCH 17/41] fix: no challenges message when sorting all challenges
---
.../components/challenge-listing/Listing/Bucket/index.jsx | 2 +-
src/shared/components/challenge-listing/Listing/index.jsx | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/shared/components/challenge-listing/Listing/Bucket/index.jsx b/src/shared/components/challenge-listing/Listing/Bucket/index.jsx
index 371326cc55..abf6bda83b 100644
--- a/src/shared/components/challenge-listing/Listing/Bucket/index.jsx
+++ b/src/shared/components/challenge-listing/Listing/Bucket/index.jsx
@@ -184,7 +184,7 @@ export default function Bucket({
{placeholders}
{
// (expandable || loadMore) && (expandable || !keepPlaceholders) && !loading && !expanded ? (
- (expanding || expandable || loadMore) && !loading && !expanded ? (
+ (expanding || expandable || loadMore) && !loading && (expandable ? expanded : !expanded) ? (
{getBucket(activeBucket, true)}
@@ -207,7 +206,8 @@ function Listing({
// }
const loading = loadingMyChallenges
|| loadingOpenForRegistrationChallenges
- || loadingOnGoingChallenges;
+ || loadingOnGoingChallenges
+ || loadingAllChallenges;
const placeholders = [];
if (challenges.length > 0 || (activeBucket === BUCKETS.ALL && allChallenges.length > 0)) {
return (
From e2b07f2017b1127a9f87e7d9cafb04b1f84877a9 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Thu, 15 Oct 2020 23:52:56 +0530
Subject: [PATCH 18/41] Update ChallengeFilters.jsx
---
.../components/challenge-listing/Filters/ChallengeFilters.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx b/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
index 7abd0658ea..56e37800c4 100644
--- a/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
+++ b/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
@@ -49,7 +49,7 @@ export default function ChallengeFilters({
if (filterState.events && filterState.events.length) filterRulesCount += 1;
if (filterState.tags && filterState.tags.length) filterRulesCount += 1;
if (filterState.types && filterState.types.length) filterRulesCount += 1;
- if (filterState.status) filterRulesCount += 1;
+ if (filterState.status && filterState.status !== 'Active') filterRulesCount += 1;
if (filterState.endDateStart || filterState.startDateEnd) {
filterRulesCount += 1;
}
From 1ba06923b3619f0660fa9e310caf2d6729cbfdf4 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Fri, 16 Oct 2020 00:19:32 +0530
Subject: [PATCH 19/41] Update index.jsx
---
src/shared/components/TopcoderFooter/index.jsx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/shared/components/TopcoderFooter/index.jsx b/src/shared/components/TopcoderFooter/index.jsx
index 1910102404..de46f20ff2 100644
--- a/src/shared/components/TopcoderFooter/index.jsx
+++ b/src/shared/components/TopcoderFooter/index.jsx
@@ -54,10 +54,10 @@ export default function TopcoderFooter() {
Competitive Programming
- Data Science
- Design
- Development
- QA
+ Data Science
+ Design
+ Development
+ QA
From 41e049012277bb4518891d9c9dcc6ffd1dc105e1 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Fri, 16 Oct 2020 01:11:23 +0530
Subject: [PATCH 20/41] Update TopcoderFooter.jsx.snap
---
.../components/__snapshots__/TopcoderFooter.jsx.snap | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap b/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
index 387a544a65..c07e4813a9 100644
--- a/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
+++ b/__tests__/shared/components/__snapshots__/TopcoderFooter.jsx.snap
@@ -106,7 +106,7 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-TopcoderFooter-___style__link___3-nzm"
>
Data Science
@@ -115,7 +115,7 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-TopcoderFooter-___style__link___3-nzm"
>
Design
@@ -124,7 +124,7 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-TopcoderFooter-___style__link___3-nzm"
>
Development
@@ -133,7 +133,7 @@ exports[`Matches shallow shapshot 1`] = `
className="src-shared-components-TopcoderFooter-___style__link___3-nzm"
>
QA
From 7213ca84061014aff82b6bae4c859ff533fd9a8c Mon Sep 17 00:00:00 2001
From: gets0ul
Date: Fri, 16 Oct 2020 02:59:03 +0700
Subject: [PATCH 21/41] fix: empty values in dashboard sub-community
---
src/shared/containers/Dashboard/index.jsx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/shared/containers/Dashboard/index.jsx b/src/shared/containers/Dashboard/index.jsx
index 552fa5cd59..d137ca7e74 100644
--- a/src/shared/containers/Dashboard/index.jsx
+++ b/src/shared/containers/Dashboard/index.jsx
@@ -150,8 +150,7 @@ export class DashboardPageContainer extends React.Component {
// if (now - tcBlogTimestamp > CACHE_MAX_AGE
// && !tcBlogLoading) getTopcoderBlogFeed();
- if (now - communitiesTimestamp < CACHE_MAX_AGE
- && now - activeChallengesTimestamp < CACHE_MAX_AGE) {
+ if (now - communitiesTimestamp < CACHE_MAX_AGE) {
updateCommunityStats(this.props);
}
}
From b25dd098af3d806e2fb92c42cf2c7abb3caeaef2 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Fri, 16 Oct 2020 01:47:09 +0530
Subject: [PATCH 22/41] Update ChallengeFilters.jsx
---
.../components/challenge-listing/Filters/ChallengeFilters.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx b/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
index 56e37800c4..4ce26b5740 100644
--- a/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
+++ b/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
@@ -49,7 +49,7 @@ export default function ChallengeFilters({
if (filterState.events && filterState.events.length) filterRulesCount += 1;
if (filterState.tags && filterState.tags.length) filterRulesCount += 1;
if (filterState.types && filterState.types.length) filterRulesCount += 1;
- if (filterState.status && filterState.status !== 'Active') filterRulesCount += 1;
+ if (filterState.status && filterState.status !== 'All') filterRulesCount += 1;
if (filterState.endDateStart || filterState.startDateEnd) {
filterRulesCount += 1;
}
From b99c9add04fd63768ec862e60b0b5e6238be5342 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Fri, 16 Oct 2020 01:50:47 +0530
Subject: [PATCH 23/41] Update index.jsx
---
.../components/challenge-listing/Filters/FiltersPanel/index.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx b/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx
index 244b5343e7..c4f1113e62 100644
--- a/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx
+++ b/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx
@@ -433,7 +433,7 @@ export default function FiltersPanel({
events: [],
endDateStart: null,
startDateEnd: null,
- status: 'Active',
+ status: 'All',
});
selectCommunity(defaultCommunityId);
setSearchText('');
From 5d3c3aa4ed0f440b25b1fca92b318e0b12fe23fa Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Fri, 16 Oct 2020 02:32:45 +0530
Subject: [PATCH 24/41] Update ChallengeFilters.jsx
---
.../components/challenge-listing/Filters/ChallengeFilters.jsx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx b/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
index 4ce26b5740..ea89fb7b42 100644
--- a/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
+++ b/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
@@ -7,6 +7,7 @@ import SwitchWithLabel from 'components/SwitchWithLabel';
import { challenge as challengeUtils } from 'topcoder-react-lib';
// import { COMPETITION_TRACKS as TRACKS } from 'utils/tc';
import _ from 'lodash';
+import { BUCKETS } from 'utils/challenge-listing/buckets';
// import localStorage from 'localStorage';
import ChallengeSearchBar from './ChallengeSearchBar';
@@ -49,7 +50,7 @@ export default function ChallengeFilters({
if (filterState.events && filterState.events.length) filterRulesCount += 1;
if (filterState.tags && filterState.tags.length) filterRulesCount += 1;
if (filterState.types && filterState.types.length) filterRulesCount += 1;
- if (filterState.status && filterState.status !== 'All') filterRulesCount += 1;
+ if (activeBucket === BUCKETS.ALL && filterState.status && filterState.status !== 'Active') filterRulesCount += 1;
if (filterState.endDateStart || filterState.startDateEnd) {
filterRulesCount += 1;
}
From 27199390cf3ba979a1afeb88d770245a10849aca Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Fri, 16 Oct 2020 03:32:25 +0530
Subject: [PATCH 25/41] Update ChallengeFilters.jsx
---
.../components/challenge-listing/Filters/ChallengeFilters.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx b/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
index ea89fb7b42..3e7f9848f1 100644
--- a/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
+++ b/src/shared/components/challenge-listing/Filters/ChallengeFilters.jsx
@@ -50,7 +50,7 @@ export default function ChallengeFilters({
if (filterState.events && filterState.events.length) filterRulesCount += 1;
if (filterState.tags && filterState.tags.length) filterRulesCount += 1;
if (filterState.types && filterState.types.length) filterRulesCount += 1;
- if (activeBucket === BUCKETS.ALL && filterState.status && filterState.status !== 'Active') filterRulesCount += 1;
+ if (activeBucket === BUCKETS.ALL && filterState.status && filterState.status !== 'All') filterRulesCount += 1;
if (filterState.endDateStart || filterState.startDateEnd) {
filterRulesCount += 1;
}
From fa78ea705fb6f7c1d0ded8d8a53852eb7f5d9c6e Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Fri, 16 Oct 2020 03:40:20 +0530
Subject: [PATCH 26/41] Update index.jsx
---
src/shared/components/Dashboard/SRM/index.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/components/Dashboard/SRM/index.jsx b/src/shared/components/Dashboard/SRM/index.jsx
index 9c267ca2cf..d3460230ef 100644
--- a/src/shared/components/Dashboard/SRM/index.jsx
+++ b/src/shared/components/Dashboard/SRM/index.jsx
@@ -35,7 +35,7 @@ const SRM = (props) => {
Problem Archive
-
+
Learn More
From 06e9f930c118b17f748a5f58d0f06d54494bda84 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Fri, 16 Oct 2020 03:42:59 +0530
Subject: [PATCH 27/41] Update index.jsx.snap
---
.../components/Dashboard/SRM/__snapshots__/index.jsx.snap | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/__tests__/shared/components/Dashboard/SRM/__snapshots__/index.jsx.snap b/__tests__/shared/components/Dashboard/SRM/__snapshots__/index.jsx.snap
index e93e79feae..9eca10f8c4 100644
--- a/__tests__/shared/components/Dashboard/SRM/__snapshots__/index.jsx.snap
+++ b/__tests__/shared/components/Dashboard/SRM/__snapshots__/index.jsx.snap
@@ -49,7 +49,7 @@ exports[`Matches shallow shapshot 1`] = `
Learn More
From 865a898631f17753888c1e4e8236ed0614a12505 Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Fri, 16 Oct 2020 03:44:22 +0530
Subject: [PATCH 28/41] Update index.jsx.snap
---
.../components/Dashboard/SRM/__snapshots__/index.jsx.snap | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/__tests__/shared/components/Dashboard/SRM/__snapshots__/index.jsx.snap b/__tests__/shared/components/Dashboard/SRM/__snapshots__/index.jsx.snap
index 9eca10f8c4..5ec908d67c 100644
--- a/__tests__/shared/components/Dashboard/SRM/__snapshots__/index.jsx.snap
+++ b/__tests__/shared/components/Dashboard/SRM/__snapshots__/index.jsx.snap
@@ -49,7 +49,7 @@ exports[`Matches shallow shapshot 1`] = `
Learn More
From 345e9154daee4dabe414efe912a301b0e941374d Mon Sep 17 00:00:00 2001
From: PrakashDurlabhji
Date: Fri, 16 Oct 2020 05:15:22 +0530
Subject: [PATCH 29/41] Update index.jsx
---
.../components/challenge-listing/Filters/FiltersPanel/index.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx b/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx
index c4f1113e62..ed61187a59 100644
--- a/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx
+++ b/src/shared/components/challenge-listing/Filters/FiltersPanel/index.jsx
@@ -359,7 +359,7 @@ export default function FiltersPanel({
}}
options={['Active', 'Completed', 'All'].map(mapOps)}
simpleValue
- value={filterState.status || 'Active'}
+ value={filterState.status || 'All'}
/>
) : null
From 1605740fd906131880be5c63dbc21925300c869e Mon Sep 17 00:00:00 2001
From: gets0ul
Date: Fri, 16 Oct 2020 19:44:50 +0700
Subject: [PATCH 30/41] fix: #5081 hide view more button when result is less
than 10
---
.../components/challenge-listing/Listing/Bucket/index.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/components/challenge-listing/Listing/Bucket/index.jsx b/src/shared/components/challenge-listing/Listing/Bucket/index.jsx
index 371326cc55..48a513216b 100644
--- a/src/shared/components/challenge-listing/Listing/Bucket/index.jsx
+++ b/src/shared/components/challenge-listing/Listing/Bucket/index.jsx
@@ -184,7 +184,7 @@ export default function Bucket({
{placeholders}
{
// (expandable || loadMore) && (expandable || !keepPlaceholders) && !loading && !expanded ? (
- (expanding || expandable || loadMore) && !loading && !expanded ? (
+ (expanding || expandable) && !loading && !expanded && loadMore ? (
Date: Sat, 17 Oct 2020 14:23:59 +0800
Subject: [PATCH 31/41] issue-5072
---
.../Filters/FiltersPanel/style.scss | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/shared/components/challenge-listing/Filters/FiltersPanel/style.scss b/src/shared/components/challenge-listing/Filters/FiltersPanel/style.scss
index c918eb2043..8e44349086 100644
--- a/src/shared/components/challenge-listing/Filters/FiltersPanel/style.scss
+++ b/src/shared/components/challenge-listing/Filters/FiltersPanel/style.scss
@@ -293,8 +293,11 @@ $panel-radius-4: $corner-radius * 2;
.filter-row {
display: flex;
+ flex-direction: row;
align-items: center;
+ flex-wrap: wrap;
margin-right: $panel-space-100 + 17;
+ width: auto;
@include xs-to-md {
display: block;
@@ -397,6 +400,7 @@ $panel-radius-4: $corner-radius * 2;
z-index: 3;
}
+ min-width: 206px;
margin-right: $panel-space-30;
:global(.Select-value) {
@@ -407,6 +411,17 @@ $panel-radius-4: $corner-radius * 2;
color: $tc-gray-50;
line-height: $panel-space-30 - 2;
}
+
+ @media screen and (max-width: 1024px) {
+ width: 100%;
+ margin-top: 15px;
+ }
+
+ @media screen and (min-width: 1025px) and (max-width: 1346px) {
+ margin-top: 15px;
+
+ @include calc(width, '50% - 30px');
+ }
}
}
}
From fe857a950fe900d8a85f3a804caf7e364283c362 Mon Sep 17 00:00:00 2001
From: Luiz Ricardo Rodrigues
Date: Sun, 18 Oct 2020 06:58:21 -0300
Subject: [PATCH 32/41] ci: Deploy develop to Stag and QA env
---
.circleci/config.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 1e58d6ae06..2b92709fa1 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -244,7 +244,8 @@ workflows:
filters:
branches:
only:
- - listing-develop-sync
+ - develop
+ - bug-bash
# This is beta env for production soft releases
- "build-prod-beta":
context : org-global
@@ -260,7 +261,7 @@ workflows:
branches:
only:
- develop
- - listing-develop-sync
+ - bug-bash
# Production builds are exectuted
# when PR is merged to the master
# Don't change anything in this configuration
From 33e2226ef26e7dd6beaac47ac34f9302145ca977 Mon Sep 17 00:00:00 2001
From: Luiz Ricardo Rodrigues
Date: Mon, 19 Oct 2020 02:56:44 -0300
Subject: [PATCH 33/41] ci: deploy tco-header-dropdown to Stag env
Issue #5032
---
.circleci/config.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 1e58d6ae06..95062ab5be 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -260,7 +260,7 @@ workflows:
branches:
only:
- develop
- - listing-develop-sync
+ - tco-header-dropdown
# Production builds are exectuted
# when PR is merged to the master
# Don't change anything in this configuration
From 3451199bc1e43a19574254c0b1c4ea1e64a98e4c Mon Sep 17 00:00:00 2001
From: Kiril Kartunov
Date: Tue, 20 Oct 2020 12:11:21 +0300
Subject: [PATCH 34/41] ci: on test
---
.circleci/config.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 95062ab5be..4107303602 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -237,7 +237,7 @@ workflows:
filters:
branches:
only:
- - hot-fix
+ - tco-header-dropdown
# This is alternate dev env for parallel testing
- "build-qa":
context : org-global
From 6ffa4df622ea5afb8c4a8338aedea64058b56419 Mon Sep 17 00:00:00 2001
From: Kiril Kartunov
Date: Wed, 21 Oct 2020 09:53:04 +0300
Subject: [PATCH 35/41] ci: remove from staging
---
.circleci/config.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 4107303602..1fd5ef843b 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -260,7 +260,6 @@ workflows:
branches:
only:
- develop
- - tco-header-dropdown
# Production builds are exectuted
# when PR is merged to the master
# Don't change anything in this configuration
From fd5a6d3d1c77613897004ee189d7c764d0d8a8b3 Mon Sep 17 00:00:00 2001
From: Kiril Kartunov
Date: Wed, 21 Oct 2020 10:03:48 +0300
Subject: [PATCH 36/41] Fixed return URL bug
---
src/shared/containers/tc-communities/tco20/Header.jsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shared/containers/tc-communities/tco20/Header.jsx b/src/shared/containers/tc-communities/tco20/Header.jsx
index f38752317a..57057f0e8d 100644
--- a/src/shared/containers/tc-communities/tco20/Header.jsx
+++ b/src/shared/containers/tc-communities/tco20/Header.jsx
@@ -25,7 +25,7 @@ function TCO20Header(props) {
) : (
- LOGIN
+ LOGIN
SIGN UP
)
From 1a930306b91a093bb9a67f783f8e93fa11aacf40 Mon Sep 17 00:00:00 2001
From: roger
Date: Mon, 26 Oct 2020 22:49:02 +0800
Subject: [PATCH 37/41] f2f-30146374
---
.../ProfilePage/__snapshots__/index.jsx.snap | 4 +--
.../components/ProfilePage/Header/index.jsx | 5 ++-
src/shared/components/ProfilePage/index.jsx | 11 +++++--
src/shared/containers/Profile.jsx | 23 ++++++++++---
src/shared/containers/ProfileStats.jsx | 33 +++++++++++++------
src/shared/routes/ProfileStats.jsx | 8 ++++-
6 files changed, 62 insertions(+), 22 deletions(-)
diff --git a/__tests__/shared/components/ProfilePage/__snapshots__/index.jsx.snap b/__tests__/shared/components/ProfilePage/__snapshots__/index.jsx.snap
index 3f8045b9fa..3617e4c86f 100644
--- a/__tests__/shared/components/ProfilePage/__snapshots__/index.jsx.snap
+++ b/__tests__/shared/components/ProfilePage/__snapshots__/index.jsx.snap
@@ -16,7 +16,7 @@ exports[`renders a full Profile correctly 1`] = `
>
diff --git a/src/shared/containers/Profile.jsx b/src/shared/containers/Profile.jsx
index a58beee2ae..90a95b91f6 100644
--- a/src/shared/containers/Profile.jsx
+++ b/src/shared/containers/Profile.jsx
@@ -7,6 +7,7 @@ import PT from 'prop-types';
import { connect } from 'react-redux';
import { actions } from 'topcoder-react-lib';
+import { MetaTags } from 'topcoder-react-utils';
import Error404 from 'components/Error404';
import LoadingIndicator from 'components/LoadingIndicator';
import ProfilePage from 'components/ProfilePage';
@@ -39,6 +40,7 @@ class ProfileContainer extends React.Component {
const {
info,
loadingError,
+ handleParam,
} = this.props;
if (loadingError) {
@@ -58,13 +60,24 @@ class ProfileContainer extends React.Component {
return track2Ranking - track1Ranking;
});
}
+ const title = `${handleParam} | Community Profile | Topcoder`;
+ const description = `Meet Topcoder member ${handleParam} and view their skills and development and design activity. You can also see wins and tenure with Topcoder.`;
- return info
- ? (
-
+
- ) : ;
+ {
+ info ? (
+
+ ) :
+ }
+
+ );
}
}
diff --git a/src/shared/containers/ProfileStats.jsx b/src/shared/containers/ProfileStats.jsx
index 307127c638..561ab79d9c 100644
--- a/src/shared/containers/ProfileStats.jsx
+++ b/src/shared/containers/ProfileStats.jsx
@@ -9,6 +9,7 @@ import Error404 from 'components/Error404';
import LoadingIndicator from 'components/LoadingIndicator';
import ProfileStatsPage from 'components/ProfilePage/Stats';
import { shouldShowGraph, isValidTrack } from 'utils/memberStats';
+import { MetaTags } from 'topcoder-react-utils';
import _ from 'lodash';
import qs from 'qs';
@@ -78,23 +79,35 @@ class ProfileStatsContainer extends React.Component {
loadingError,
location,
isLoading,
+ handleParam,
} = this.props;
const { track, subTrack, tab } = getQueryParamsQuery(location);
if (loadingError || !isValidTrack(track, subTrack)) {
return ;
}
-
- return isLoading
- ?
- : (
-
+
- );
+ {
+ isLoading ?
+ : (
+
+ )
+ }
+
+ );
}
}
diff --git a/src/shared/routes/ProfileStats.jsx b/src/shared/routes/ProfileStats.jsx
index 1ccf676458..227ba6ac79 100644
--- a/src/shared/routes/ProfileStats.jsx
+++ b/src/shared/routes/ProfileStats.jsx
@@ -1,10 +1,11 @@
/**
* The loader of Profile webpack chunks.
*/
+import path from 'path';
import React from 'react';
import LoadingPagePlaceholder from 'components/LoadingPagePlaceholder';
-import { AppChunk } from 'topcoder-react-utils';
+import { AppChunk, webpack } from 'topcoder-react-utils';
export default function ProfileStatsRoute(props) {
return (
@@ -16,6 +17,11 @@ export default function ProfileStatsRoute(props) {
))
}
renderPlaceholder={() => }
+ renderServer={() => {
+ const p = webpack.resolveWeak('containers/ProfileStats');
+ const ProfileStatsContainer = webpack.requireWeak(path.resolve(__dirname, p));
+ return ;
+ }}
/>
);
}
From 57482d7a7c8dee314b942ef0f3f1bb86dbf6385b Mon Sep 17 00:00:00 2001
From: Luiz Ricardo Rodrigues
Date: Mon, 26 Oct 2020 15:43:18 -0300
Subject: [PATCH 38/41] ci: deploy seo-fix to Test env
Issue: https://github.com/topcoder-platform/community-app/issues/4769
---
.circleci/config.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index d016778e15..976c508a1c 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -237,7 +237,7 @@ workflows:
filters:
branches:
only:
- - hot-fix
+ - seo-fix
# This is alternate dev env for parallel testing
- "build-qa":
context : org-global
@@ -260,7 +260,6 @@ workflows:
branches:
only:
- develop
- - seo-fix
# Production builds are exectuted
# when PR is merged to the master
# Don't change anything in this configuration
From f20c97d56afb2425667b071c80a6edf05ca1e223 Mon Sep 17 00:00:00 2001
From: Luiz Ricardo Rodrigues
Date: Mon, 2 Nov 2020 08:57:01 -0300
Subject: [PATCH 39/41] ci: deploy seo-fix to Stag env
---
.circleci/config.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 976c508a1c..98824a870a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -237,7 +237,7 @@ workflows:
filters:
branches:
only:
- - seo-fix
+ - develop
# This is alternate dev env for parallel testing
- "build-qa":
context : org-global
@@ -260,6 +260,7 @@ workflows:
branches:
only:
- develop
+ - seo-fix
# Production builds are exectuted
# when PR is merged to the master
# Don't change anything in this configuration
From 6a7c9e667996c08b55d5212d66cae4c4f548317e Mon Sep 17 00:00:00 2001
From: Luiz Ricardo Rodrigues
Date: Tue, 3 Nov 2020 03:59:32 -0300
Subject: [PATCH 40/41] ci: remove bug-bash from QA env
---
.circleci/config.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 970f70b8ef..89a3f65d8d 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -246,7 +246,6 @@ workflows:
branches:
only:
- develop
- - bug-bash
# This is beta env for production soft releases
- "build-prod-beta":
context : org-global
From 12f2125935abcc632845a866711a8a63593b4d5f Mon Sep 17 00:00:00 2001
From: Luiz Ricardo Rodrigues
Date: Tue, 3 Nov 2020 04:14:19 -0300
Subject: [PATCH 41/41] ci: remove develop from QA and Test envs
---
.circleci/config.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 603bda0304..3068361bc5 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -238,14 +238,14 @@ workflows:
filters:
branches:
only:
- - develop
+ - apollo-site
# This is alternate dev env for parallel testing
- "build-qa":
context : org-global
filters:
branches:
only:
- - develop
+ - issue-5041
# This is beta env for production soft releases
- "build-prod-beta":
context : org-global