File tree Expand file tree Collapse file tree 5 files changed +22
-6
lines changed Expand file tree Collapse file tree 5 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -290,14 +290,14 @@ workflows:
290290 filters :
291291 branches :
292292 only :
293- - free
293+ - bug-bash
294294 # This is beta env for production soft releases
295295 - " build-prod-beta " :
296296 context : org-global
297297 filters :
298298 branches :
299299 only :
300- - develop
300+ - bug-bash
301301 # This is stage env for production QA releases
302302 - " build-prod-staging " :
303303 context : org-global
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ module.exports = {
140140 HOWTOCOMPETEINMARATHON : 'https://www.topcoder.com/thrive/articles/How%20To%20Compete%20in%20a%20Marathon%20Match' ,
141141 USABLECODEDEV : 'https://www.topcoder.com/thrive/articles/Usable%20Code%20in%20Dev%20Challenges' ,
142142 EXTENSIONVSCODE : 'https://marketplace.visualstudio.com/items?itemName=Topcoder.topcoder-workflow&ssr=false#overview' ,
143+ TEMPLATES_REPO : 'https://github.com/topcoder-platform-templates' ,
143144 } ,
144145
145146 IOS : 'https://ios.topcoder-dev.com' ,
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export default class Preferences extends React.Component {
8888 case 'e-mail' :
8989 return < NewsletterPreferencesContainer email = { email } /> ;
9090 case 'forum' :
91- return ( window . location . href = `${ config . URL . FORUMS } /?module=Settings ` ) && < LoadingIndicator /> ;
91+ return ( window . location . href = `${ config . URL . FORUMS_VANILLA } /profile/preferences ` ) && < LoadingIndicator /> ;
9292 case 'payment' :
9393 return ( window . location . href = `${ config . URL . COMMUNITY } /tc?module=EditPaymentPreferences` ) && < LoadingIndicator /> ;
9494 default :
Original file line number Diff line number Diff line change @@ -432,6 +432,16 @@ export default function SideBar({
432432 </ div >
433433 </ Tooltip >
434434 </ span >
435+ < span styleName = "link-like-paragraph tooltip-container" >
436+ < a
437+ href = { config . URL . INFO . TEMPLATES_REPO }
438+ title = "Topcoder Templates repository"
439+ target = "_blank"
440+ rel = "noreferrer"
441+ >
442+ Topcoder Templates < br /> repository
443+ </ a >
444+ </ span >
435445 </ div >
436446 { shareable && (
437447 < div >
Original file line number Diff line number Diff line change 11import { Avatar } from 'topcoder-react-ui-kit' ;
22import PT from 'prop-types' ;
3- import React from 'react' ;
3+ import React , { useEffect , useState } from 'react' ;
44import _ from 'lodash' ;
55import { config } from 'topcoder-react-utils' ;
66
@@ -20,6 +20,11 @@ export default function Winner({
2020 viewable,
2121 winner,
2222} ) {
23+ const [ windowOrigin , setWindowOrigin ] = useState ( ) ;
24+ useEffect ( ( ) => {
25+ setWindowOrigin ( window . origin ) ;
26+ } , [ ] ) ;
27+
2328 const submissionId = viewable && getId ( submissions , winner . placement ) ;
2429
2530 let placeStyle = winner . placement < 4 ? `place-${ winner . placement } ` : '' ;
@@ -69,9 +74,9 @@ export default function Winner({
6974 />
7075 < div >
7176 < a
72- href = { `${ window . origin } /members/${ winner . handle } ` }
77+ href = { `${ windowOrigin } /members/${ winner . handle } ` }
7378 styleName = "handle"
74- target = { `${ _ . includes ( window . origin , 'www' ) ? '_self' : '_blank' } ` }
79+ target = { `${ _ . includes ( windowOrigin , 'www' ) ? '_self' : '_blank' } ` }
7580 >
7681 { winner . handle }
7782 </ a >
You can’t perform that action at this time.
0 commit comments